aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/include
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 /arch/powerpc/include
parent662282203ac535d98d523700bfdba09664b2225d (diff)
downloadu-boot-8996975ff8422e07f43eb8b3b0c7ed8c2b35442f.zip
u-boot-8996975ff8422e07f43eb8b3b0c7ed8c2b35442f.tar.gz
u-boot-8996975ff8422e07f43eb8b3b0c7ed8c2b35442f.tar.bz2
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 'arch/powerpc/include')
-rw-r--r--arch/powerpc/include/asm/processor.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/arch/powerpc/include/asm/processor.h b/arch/powerpc/include/asm/processor.h
index baf38f8..57b11b8 100644
--- a/arch/powerpc/include/asm/processor.h
+++ b/arch/powerpc/include/asm/processor.h
@@ -1206,11 +1206,6 @@ int fsl_qoriq_dsp_core_to_cluster(unsigned int core);
#endif
-#ifndef CONFIG_MACH_SPECIFIC
-extern int _machine;
-extern int have_of;
-#endif /* CONFIG_MACH_SPECIFIC */
-
/* what kind of prep workstation we are */
extern int _prep_type;
/*
@@ -1336,15 +1331,6 @@ int prt_83xx_rsr(void);
#endif /* ndef ASSEMBLY*/
-#ifdef CONFIG_MACH_SPECIFIC
-#if defined(CONFIG_WALNUT)
-#define _machine _MACH_walnut
-#define have_of 0
-#else
-#error "Machine not defined correctly"
-#endif
-#endif /* CONFIG_MACH_SPECIFIC */
-
#if defined(CONFIG_MPC85xx)
#define EPAPR_MAGIC (0x45504150)
#else