[PATCH v2 u-boot-mvebu 6/6] arm: mvebu: Define all options for AXP BOOT_FROM_* macros
Stefan Roese
sr at denx.de
Thu Mar 30 06:57:30 CEST 2023
On 3/29/23 21:03, Pali Rohár wrote:
> Definitions are according to the MV78460 Hardware Specifications.
>
> Signed-off-by: Pali Rohár <pali at kernel.org>
> Tested-by: Tony Dinh <mibodhi at gmail.com>
> Tested-by: Martin Rowe <martin.p.rowe at gmail.com>
Reviewed-by: Stefan Roese <sr at denx.de>
Thanks,
Stefan
> ---
> arch/arm/mach-mvebu/include/mach/soc.h | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/arch/arm/mach-mvebu/include/mach/soc.h b/arch/arm/mach-mvebu/include/mach/soc.h
> index c04fa339c31e..dc68d406f99e 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
Viele Grüße,
Stefan Roese
--
DENX Software Engineering GmbH, Managing Director: Erika Unter
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr at denx.de
More information about the U-Boot
mailing list