summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorAlexander Stein <alexanders83@web.de>2015-07-24 09:22:09 +0200
committerTom Rini <trini@konsulko.com>2015-08-12 20:47:40 -0400
commitb16a52b9b5185176a8923476bebc2e0bc29148da (patch)
tree6c421785294a1934c09dc12f4e75c81dfd7ccf1c /arch
parent5c2cff85fc960f78546a6af2d9315849fab5e963 (diff)
downloadu-boot-imx-b16a52b9b5185176a8923476bebc2e0bc29148da.zip
u-boot-imx-b16a52b9b5185176a8923476bebc2e0bc29148da.tar.gz
u-boot-imx-b16a52b9b5185176a8923476bebc2e0bc29148da.tar.bz2
arm1136: Remove dead code
Apparently lcd_panel_disable is not defined anywhere, so no config for an arm1136 board would have set CONFIG_LCD. Remove the unused code. Signed-off-by: Alexander Stein <alexanders83@web.de> Acked-by: Stephen Warren <swarren@wwwdotorg.org> Tested-by: Stephen Warren <swarren@wwwdotorg.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/cpu/arm1136/cpu.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/arch/arm/cpu/arm1136/cpu.c b/arch/arm/cpu/arm1136/cpu.c
index a7aed4b..5d4b3c2 100644
--- a/arch/arm/cpu/arm1136/cpu.c
+++ b/arch/arm/cpu/arm1136/cpu.c
@@ -32,16 +32,6 @@ int cleanup_before_linux (void)
disable_interrupts ();
-#ifdef CONFIG_LCD
- {
- extern void lcd_disable(void);
- extern void lcd_panel_disable(void);
-
- lcd_disable(); /* proper disable of lcd & panel */
- lcd_panel_disable();
- }
-#endif
-
/* turn off I/D-cache */
icache_disable();
dcache_disable();