From: Pali Rohár Date: Wed, 29 Mar 2023 19:03:35 +0000 (+0200) Subject: arm: mvebu: Define all options for AXP BOOT_FROM_* macros X-Git-Tag: baikal/mips/sdk6.2~4^2~3^2~175^2~18^2 X-Git-Url: https://git.baikalelectronics.ru/sdk/?a=commitdiff_plain;h=2335b4d9c29c10d7fe6ee29e14a6e371dbf8f0ba;p=uboot.git arm: mvebu: Define all options for AXP BOOT_FROM_* macros Definitions are according to the MV78460 Hardware Specifications. Signed-off-by: Pali Rohár Tested-by: Tony Dinh Tested-by: Martin Rowe Reviewed-by: Stefan Roese --- diff --git a/arch/arm/mach-mvebu/include/mach/soc.h b/arch/arm/mach-mvebu/include/mach/soc.h index c04fa339c3..dc68d406f9 100644 --- a/arch/arm/mach-mvebu/include/mach/soc.h +++ b/arch/arm/mach-mvebu/include/mach/soc.h @@ -213,8 +213,12 @@ #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