[U-Boot] [PATCH] ppc4xx: remove dead code

Masahiro Yamada yamada.m at jp.panasonic.com
Thu Jan 15 09:10:56 CET 2015


Since commit 843125daebd7 (ppc4xx: remove HH405 board), CONFIG_HH405
is not defined.

Since commit d52633047913 (ppc4xx: remove PMC405), CONFIG_PMC405
is not defined.

Signed-off-by: Masahiro Yamada <yamada.m at jp.panasonic.com>
Cc: Matthias Fuchs <matthias.fuchs at esd.eu>
---

 arch/powerpc/cpu/ppc4xx/4xx_pci.c |  4 ----
 drivers/video/cfb_console.c       | 10 ----------
 2 files changed, 14 deletions(-)

diff --git a/arch/powerpc/cpu/ppc4xx/4xx_pci.c b/arch/powerpc/cpu/ppc4xx/4xx_pci.c
index 33dc725..b26ec2a 100644
--- a/arch/powerpc/cpu/ppc4xx/4xx_pci.c
+++ b/arch/powerpc/cpu/ppc4xx/4xx_pci.c
@@ -63,10 +63,6 @@ DECLARE_GLOBAL_DATA_PTR;
 
 #if defined(CONFIG_405GP) || defined(CONFIG_405EP)
 
-#if defined(CONFIG_PMC405)
-ushort pmc405_pci_subsys_deviceid(void);
-#endif
-
 /*#define DEBUG*/
 
 /*
diff --git a/drivers/video/cfb_console.c b/drivers/video/cfb_console.c
index a653bb4..cbe6b9f 100644
--- a/drivers/video/cfb_console.c
+++ b/drivers/video/cfb_console.c
@@ -125,16 +125,6 @@
 #define VIDEO_HW_BITBLT
 #endif
 
-/*
- * Defines for the SED13806 driver
- */
-#ifdef CONFIG_VIDEO_SM501
-
-#ifdef CONFIG_HH405
-#define VIDEO_FB_LITTLE_ENDIAN
-#endif
-#endif
-
 #ifdef CONFIG_VIDEO_MXS
 #define VIDEO_FB_16BPP_WORD_SWAP
 #endif
-- 
1.9.1



More information about the U-Boot mailing list