From: Masahiro Yamada Date: Thu, 15 Jan 2015 08:10:56 +0000 (+0900) Subject: ppc4xx: remove dead code X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=9c3c5c8b02ab86578d76e190f2292a0ee3c16f9e;p=u-boot.git ppc4xx: remove dead code Since commit 843125daebd7 (ppc4xx: remove HH405 board), CONFIG_HH405 is not defined. Since commit d52633047913 (ppc4xx: remove PMC405), CONFIG_PMC405 is not defined. Acked-by: Stefan Roese Signed-off-by: Masahiro Yamada Cc: Matthias Fuchs --- diff --git a/arch/powerpc/cpu/ppc4xx/4xx_pci.c b/arch/powerpc/cpu/ppc4xx/4xx_pci.c index 33dc72585c..b26ec2a611 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 a653bb4168..cbe6b9fc6d 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