aboutsummaryrefslogtreecommitdiff
path: root/board/LaCie
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-08-30 09:16:32 -0400
committerTom Rini <trini@konsulko.com>2021-09-07 19:17:32 -0400
commit5f588f831b7459ea910aaf75f4ddd2522987b0e6 (patch)
treeba4e04647da735f6ac5ddc547a26578d8e99855c /board/LaCie
parent87e8d38a3977ee284e1bbaad03f08d652ca1c7ec (diff)
downloadu-boot-5f588f831b7459ea910aaf75f4ddd2522987b0e6.zip
u-boot-5f588f831b7459ea910aaf75f4ddd2522987b0e6.tar.gz
u-boot-5f588f831b7459ea910aaf75f4ddd2522987b0e6.tar.bz2
arm: Finish migration of CONFIG_MACH_TYPE
As this is only useful when booting with ATAGs, which are now largely disabled, remove this value for the remaining platforms. We have a few places in the code that had been testing for MACH_TYPE as a sort of internal logic. Update those to use different but still correct CONFIG symbols. Cc: Phil Sutter <phil@nwl.cc> Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'board/LaCie')
-rw-r--r--board/LaCie/netspace_v2/netspace_v2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/LaCie/netspace_v2/netspace_v2.c b/board/LaCie/netspace_v2/netspace_v2.c
index 730eab7..22bb008 100644
--- a/board/LaCie/netspace_v2/netspace_v2.c
+++ b/board/LaCie/netspace_v2/netspace_v2.c
@@ -73,8 +73,10 @@ int board_early_init_f(void)
int board_init(void)
{
+#ifdef CONFIG_MACH_TYPE
/* Machine number */
gd->bd->bi_arch_number = CONFIG_MACH_TYPE;
+#endif
/* Boot parameters address */
gd->bd->bi_boot_params = mvebu_sdram_bar(0) + 0x100;