]> git.baikalelectronics.ru Git - uboot.git/commitdiff
arm: mvebu: Define all options for AXP BOOT_FROM_* macros
authorPali Rohár <pali@kernel.org>
Wed, 29 Mar 2023 19:03:35 +0000 (21:03 +0200)
committerStefan Roese <sr@denx.de>
Thu, 30 Mar 2023 05:05:20 +0000 (07:05 +0200)
Definitions are according to the MV78460 Hardware Specifications.

Signed-off-by: Pali Rohár <pali@kernel.org>
Tested-by: Tony Dinh <mibodhi@gmail.com>
Tested-by: Martin Rowe <martin.p.rowe@gmail.com>
Reviewed-by: Stefan Roese <sr@denx.de>
arch/arm/mach-mvebu/include/mach/soc.h

index c04fa339c31e6f528feab54c54ec5f7c85982629..dc68d406f99e1fdab5d4b3183fe4f206730709c7 100644 (file)
 #define BOOT_DEV_SEL_OFFS      5
 #define BOOT_DEV_SEL_MASK      (0xf << BOOT_DEV_SEL_OFFS)
 
+#define BOOT_FROM_NOR(x)       (x == 0x0)
+#define BOOT_FROM_NAND(x)      (x == 0x1)
 #define BOOT_FROM_UART(x)      (x == 0x2)
 #define BOOT_FROM_SPI(x)       (x == 0x3)
+#define BOOT_FROM_PEX(x)       (x == 0x4)
+#define BOOT_FROM_SATA(x)      (x == 0x5)
 
 #define CFG_SYS_TCLK           250000000       /* 250MHz */
 #endif