diff options
author | Tom Rini <trini@konsulko.com> | 2017-01-25 20:42:36 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-01-28 14:04:24 -0500 |
commit | 92a1babf75e90b45026ef0b0e83a6be0343fb70a (patch) | |
tree | f15cead6304a7359ca9c02072ce4b81383afa6ab /board | |
parent | 94ba26f2bcc02013e8b7561d070d6d2eb4f091be (diff) | |
download | u-boot-92a1babf75e90b45026ef0b0e83a6be0343fb70a.tar.gz u-boot-92a1babf75e90b45026ef0b0e83a6be0343fb70a.tar.bz2 u-boot-92a1babf75e90b45026ef0b0e83a6be0343fb70a.zip |
arm: Clean up MACH_TYPE_xxx usage after re-sync of mach-types
With the latest mach-types values we have many instances where we no
longer need to define a value and a few cases where the name (but not
value) have changed slightly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'board')
-rw-r--r-- | board/Marvell/gplugd/gplugd.c | 2 | ||||
-rw-r--r-- | board/Seagate/nas220/nas220.c | 2 | ||||
-rw-r--r-- | board/gumstix/duovero/duovero.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/board/Marvell/gplugd/gplugd.c b/board/Marvell/gplugd/gplugd.c index c8c4ad2a98..16040e19d7 100644 --- a/board/Marvell/gplugd/gplugd.c +++ b/board/Marvell/gplugd/gplugd.c @@ -76,7 +76,7 @@ int board_init(void) (struct armd1apb2_registers *)ARMD1_APBC2_BASE; /* arch number of Board */ - gd->bd->bi_arch_number = MACH_TYPE_SHEEVAD; + gd->bd->bi_arch_number = MACH_TYPE_GPLUGD; /* adress of boot parameters */ gd->bd->bi_boot_params = armd1_sdram_base(0) + 0x100; /* Assert PHY_RST# */ diff --git a/board/Seagate/nas220/nas220.c b/board/Seagate/nas220/nas220.c index d9a06273a3..c5349b900e 100644 --- a/board/Seagate/nas220/nas220.c +++ b/board/Seagate/nas220/nas220.c @@ -75,7 +75,7 @@ int board_init(void) /* * arch number of board */ - gd->bd->bi_arch_number = MACH_TYPE_NAS220; + gd->bd->bi_arch_number = MACH_TYPE_RD88F6192_NAS; /* adress of boot parameters */ gd->bd->bi_boot_params = mvebu_sdram_bar(0) + 0x100; diff --git a/board/gumstix/duovero/duovero.c b/board/gumstix/duovero/duovero.c index 3786842d36..c9cd62e334 100644 --- a/board/gumstix/duovero/duovero.c +++ b/board/gumstix/duovero/duovero.c @@ -47,7 +47,7 @@ int board_init(void) { gpmc_init(); - gd->bd->bi_arch_number = MACH_TYPE_OMAP4_DUOVERO; + gd->bd->bi_arch_number = MACH_TYPE_DUOVERO; gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; return 0; |