diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2019-10-14 14:18:54 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-10-14 15:26:57 +0200 |
commit | 6e56ecbf20c24446f6389cfc2f91f14f9573c47a (patch) | |
tree | 14c19d93621fe6e7a995c7fd691e408345f60ced /common | |
parent | 97f199278793e9e3b0ef729c39312ea20b3d9cf0 (diff) | |
download | barebox-6e56ecbf20c24446f6389cfc2f91f14f9573c47a.tar.gz barebox-6e56ecbf20c24446f6389cfc2f91f14f9573c47a.tar.xz |
ARM: at91: build for all SoCs when AT91_MULTI_BOARDS is selected
With the addition of 15afd9d25 ("ARM: at91: Add initial support for the
EVB-KSZ9477 eval board"), we now have two multi-image capable boards
supported, but users still have to choose a specific SoC, so they can't
be selected at the same time.
Fix this, by restricting the menu to the non-multi-image configurations,
i.e. CONFIG_ARCH_* symbols become specific to non-multi-image.
The multi-image configurations on the other hand directly select the
CONFIG_SOC_* symbol they require. Existing CONFIG_ARCH_* usage is
adjusted to align with the new usage.
Eventually, we would want to have a at91_multi_defconfig along with
this, but for now leave existing configs as is.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common')
-rw-r--r-- | common/Kconfig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/Kconfig b/common/Kconfig index cafaadb3d4..348c21de6c 100644 --- a/common/Kconfig +++ b/common/Kconfig @@ -1274,8 +1274,8 @@ config DEBUG_AT91_UART_BASE default 0xfffff200 if SOC_AT91RM9200 || SOC_AT91SAM9260 \ || SOC_AT91SAM9261 || SOC_AT91SAM9X5 \ || SOC_AT91SAM9N12 - default 0xffffee00 if SOC_AT91SAM9263 || SOC_AT91SAM9G45 || ARCH_SAMA5D3 - default 0xfc069000 if ARCH_SAMA5D4 + default 0xffffee00 if SOC_AT91SAM9263 || SOC_AT91SAM9G45 || SOC_SAMA5D3 + default 0xfc069000 if SOC_SAMA5D4 default 0xfffff200 depends on ARCH_AT91 help |