diff options
| author | Pali Rohár <[email protected]> | 2023-03-29 21:03:35 +0200 |
|---|---|---|
| committer | Stefan Roese <[email protected]> | 2023-03-30 07:05:20 +0200 |
| commit | babc1806c2974bf92b331b1830c084677599321c (patch) | |
| tree | 289360a8d3e72f3c69796b6d7131d038e14fa0d3 | |
| parent | 3ac1a064e735a940c05089dee6b86377c65fa890 (diff) | |
arm: mvebu: Define all options for AXP BOOT_FROM_* macros
Definitions are according to the MV78460 Hardware Specifications.
Signed-off-by: Pali Rohár <[email protected]>
Tested-by: Tony Dinh <[email protected]>
Tested-by: Martin Rowe <[email protected]>
Reviewed-by: Stefan Roese <[email protected]>
| -rw-r--r-- | arch/arm/mach-mvebu/include/mach/soc.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-mvebu/include/mach/soc.h b/arch/arm/mach-mvebu/include/mach/soc.h index c04fa339c31..dc68d406f99 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 |
