[U-Boot] [PATCH] 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.
Signed-off-by: Masahiro Yamada yamada.m@jp.panasonic.com Cc: Matthias Fuchs matthias.fuchs@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

On 15.01.2015 09:10, Masahiro Yamada wrote:
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@jp.panasonic.com Cc: Matthias Fuchs matthias.fuchs@esd.eu
Acked-by: Stefan Roese sr@denx.de
Thanks, Stefan

On Thu, Jan 15, 2015 at 05:10:56PM +0900, Masahiro Yamada wrote:
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@jp.panasonic.com Cc: Matthias Fuchs matthias.fuchs@esd.eu
Applied to u-boot/master, thanks!
participants (3)
-
Masahiro Yamada
-
Stefan Roese
-
Tom Rini