summaryrefslogtreecommitdiff
path: root/cmd/elf.c
diff options
context:
space:
mode:
authorTuomas Tynkkynen <tuomas@tuxera.com>2018-01-21 18:16:42 +0200
committerTom Rini <trini@konsulko.com>2018-01-28 12:27:32 -0500
commit8996975ff8422e07f43eb8b3b0c7ed8c2b35442f (patch)
treec25ffb8027aa5ff321a6089d72bed0d2d2d01308 /cmd/elf.c
parent662282203ac535d98d523700bfdba09664b2225d (diff)
downloadu-boot-8996975ff8422e07f43eb8b3b0c7ed8c2b35442f.tar.gz
u-boot-8996975ff8422e07f43eb8b3b0c7ed8c2b35442f.tar.bz2
u-boot-8996975ff8422e07f43eb8b3b0c7ed8c2b35442f.zip
powerpc: Drop CONFIG_WALNUT and other related dead code
CONFIG_WALNUT was dropped in June 2017 in: commit 98f705c9cefdfd ("powerpc: remove 4xx support") While at it, the related CONFIG_MACH_SPECIFIC and the have_of and _machine variables are unused as well, so drop them too. Signed-off-by: Tuomas Tynkkynen <tuomas@tuxera.com>
Diffstat (limited to 'cmd/elf.c')
-rw-r--r--cmd/elf.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/cmd/elf.c b/cmd/elf.c
index 5745a389da..5b59fc6329 100644
--- a/cmd/elf.c
+++ b/cmd/elf.c
@@ -240,11 +240,7 @@ int do_bootvx(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
* from the VxWorks BSP header files.
* This will vary from board to board
*/
-#if defined(CONFIG_WALNUT)
- tmp = (char *)CONFIG_SYS_NVRAM_BASE_ADDR + 0x500;
- eth_env_get_enetaddr("ethaddr", (uchar *)build_buf);
- memcpy(tmp, &build_buf[3], 3);
-#elif defined(CONFIG_SYS_VXWORKS_MAC_PTR)
+#if defined(CONFIG_SYS_VXWORKS_MAC_PTR)
tmp = (char *)CONFIG_SYS_VXWORKS_MAC_PTR;
eth_env_get_enetaddr("ethaddr", (uchar *)build_buf);
memcpy(tmp, build_buf, 6);