summaryrefslogtreecommitdiff
path: root/arch/arm/mach-versal2/include/mach/hardware.h
diff options
context:
space:
mode:
authorVenkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com>2025-02-24 15:28:06 -1200
committerMichal Simek <michal.simek@amd.com>2025-04-16 13:42:06 +0200
commit253da1f0a2821bf741c8dc24ed2e568b7013f6e0 (patch)
tree4866cfcc38a573a795fb8035046f58680fcd99fe /arch/arm/mach-versal2/include/mach/hardware.h
parent154d7fe95b4c754af5412ca38cc7c21c88997205 (diff)
amd: versal2: Add the UFS boot mode support
Add the UFS boot mode support and update the boot_targets with ufs mode. If the UFS device is not accessible from APU and running this is detected as a warning, as the device is not accessible. Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com> Link: https://lore.kernel.org/r/20250225032806.1842581-1-venkatesh.abbarapu@amd.com Signed-off-by: Michal Simek <michal.simek@amd.com>
Diffstat (limited to 'arch/arm/mach-versal2/include/mach/hardware.h')
-rw-r--r--arch/arm/mach-versal2/include/mach/hardware.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-versal2/include/mach/hardware.h b/arch/arm/mach-versal2/include/mach/hardware.h
index 15085f941e0..a961032b4d5 100644
--- a/arch/arm/mach-versal2/include/mach/hardware.h
+++ b/arch/arm/mach-versal2/include/mach/hardware.h
@@ -68,6 +68,7 @@ struct crp_regs {
#define USB_MODE 0x00000007
#define OSPI_MODE 0x00000008
#define SELECTMAP_MODE 0x0000000A
+#define UFS_MODE 0x0000000B
#define SD1_LSHFT_MODE 0x0000000E /* SD1 Level shifter */
#define JTAG_MODE 0x00000000
#define BOOT_MODE_USE_ALT 0x100