mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-15 19:51:37 +00:00
arm: mvebu: axp: Properly check for Armada XP in mach/soc.h
File mach/soc.h is included also in 64-bit mvebu processors, so define Armada XP related macros only when compiling for Armada XP. Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Stefan Roese <sr@denx.de>
This commit is contained in:
parent
e515a33040
commit
3404aa4646
1 changed files with 1 additions and 1 deletions
|
@ -189,7 +189,7 @@
|
|||
#define BOOT_FROM_SPI 0x3
|
||||
|
||||
#define CONFIG_SYS_TCLK 200000000 /* 200MHz */
|
||||
#else
|
||||
#elif defined(CONFIG_ARMADA_XP)
|
||||
/* SAR values for Armada XP */
|
||||
#define CONFIG_SAR_REG (MVEBU_REGISTER(0x18230))
|
||||
#define CONFIG_SAR2_REG (MVEBU_REGISTER(0x18234))
|
||||
|
|
Loading…
Add table
Reference in a new issue