* [U-Boot] [PATCH] ARM: pxa: Remove unused ifdefs
@ 2017-12-09 1:51 Tuomas Tynkkynen
2017-12-13 22:57 ` [U-Boot] " Tom Rini
0 siblings, 1 reply; 2+ messages in thread
From: Tuomas Tynkkynen @ 2017-12-09 1:51 UTC (permalink / raw)
To: u-boot
These ifdefs are protecting #include statements for files that have
never existed. AFAICT this hardware.h has been copied from the kernel
and the ifdefs have never served a role in U-Boot, so delete them.
Signed-off-by: Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi>
---
arch/arm/include/asm/arch-pxa/hardware.h | 29 -----------------------------
scripts/config_whitelist.txt | 6 ------
2 files changed, 35 deletions(-)
diff --git arch/arm/include/asm/arch-pxa/hardware.h arch/arm/include/asm/arch-pxa/hardware.h
index e671c143ac..6d0023d7b8 100644
--- arch/arm/include/asm/arch-pxa/hardware.h
+++ arch/arm/include/asm/arch-pxa/hardware.h
@@ -79,33 +79,4 @@
#endif
-
-/*
- * Implementation specifics
- */
-
-#ifdef CONFIG_ARCH_LUBBOCK
-#include "lubbock.h"
-#endif
-
-#ifdef CONFIG_ARCH_PXA_IDP
-#include "idp.h"
-#endif
-
-#ifdef CONFIG_ARCH_PXA_CERF
-#include "cerf.h"
-#endif
-
-#ifdef CONFIG_ARCH_CSB226
-#include "csb226.h"
-#endif
-
-#ifdef CONFIG_ARCH_INNOKOM
-#include "innokom.h"
-#endif
-
-#ifdef CONFIG_ARCH_PLEB
-#include "pleb.h"
-#endif
-
#endif /* _ASM_ARCH_HARDWARE_H */
diff --git scripts/config_whitelist.txt scripts/config_whitelist.txt
index d8d43756b4..b6a1233e82 100644
--- scripts/config_whitelist.txt
+++ scripts/config_whitelist.txt
@@ -45,18 +45,12 @@ CONFIG_APUS_FAST_EXCEPT
CONFIG_AP_SH4A_4A
CONFIG_ARCH_ADPAG101P
CONFIG_ARCH_CPU_INIT
-CONFIG_ARCH_CSB226
CONFIG_ARCH_HAS_ILOG2_U32
CONFIG_ARCH_HAS_ILOG2_U64
-CONFIG_ARCH_INNOKOM
CONFIG_ARCH_KIRKWOOD
-CONFIG_ARCH_LUBBOCK
CONFIG_ARCH_MAP_SYSMEM
CONFIG_ARCH_OMAP4
CONFIG_ARCH_ORION5X
-CONFIG_ARCH_PLEB
-CONFIG_ARCH_PXA_CERF
-CONFIG_ARCH_PXA_IDP
CONFIG_ARCH_RMOBILE_BOARD_STRING
CONFIG_ARCH_RMOBILE_EXTRAM_BOOT
CONFIG_ARCH_TEGRA
--
2.15.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [U-Boot] ARM: pxa: Remove unused ifdefs
2017-12-09 1:51 [U-Boot] [PATCH] ARM: pxa: Remove unused ifdefs Tuomas Tynkkynen
@ 2017-12-13 22:57 ` Tom Rini
0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2017-12-13 22:57 UTC (permalink / raw)
To: u-boot
On Sat, Dec 09, 2017 at 03:51:48AM +0200, Tuomas Tynkkynen wrote:
> These ifdefs are protecting #include statements for files that have
> never existed. AFAICT this hardware.h has been copied from the kernel
> and the ifdefs have never served a role in U-Boot, so delete them.
>
> Signed-off-by: Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20171213/12e2f326/attachment.sig>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-12-13 22:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-09 1:51 [U-Boot] [PATCH] ARM: pxa: Remove unused ifdefs Tuomas Tynkkynen
2017-12-13 22:57 ` [U-Boot] " Tom Rini
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.