From: Simon Glass Date: Sun, 16 Oct 2022 21:56:56 +0000 (-0600) Subject: BuR: ronetix: siemens: Drop old LCD code X-Git-Url: http://git.dujemihanovic.xyz/login.html?a=commitdiff_plain;h=c31e0c62b14d0fc651d31c93863fe6a421a3f78a;p=u-boot.git BuR: ronetix: siemens: Drop old LCD code This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass --- diff --git a/board/BuR/common/common.c b/board/BuR/common/common.c index c6126e251e..3c78020bf9 100644 --- a/board/BuR/common/common.c +++ b/board/BuR/common/common.c @@ -14,7 +14,6 @@ #include #include #include -#include #include #include #include "bur_common.h" diff --git a/board/ronetix/pm9263/pm9263.c b/board/ronetix/pm9263/pm9263.c index 8684e5229d..84926cdc68 100644 --- a/board/ronetix/pm9263/pm9263.c +++ b/board/ronetix/pm9263/pm9263.c @@ -69,20 +69,6 @@ static void pm9263_nand_hw_init(void) } #endif -#ifdef CONFIG_LCD - -static void pm9263_lcd_hw_init(void) -{ - /* Power Control */ - at91_set_pio_output(AT91_PIO_PORTA, 22, 1); - at91_set_pio_value(AT91_PIO_PORTA, 22, 0); /* power down */ - - gd->fb_base = ATMEL_BASE_SRAM0; - -} - -#endif /* CONFIG_LCD */ - int board_early_init_f(void) { return 0; @@ -101,9 +87,6 @@ int board_init(void) #endif #ifdef CONFIG_USB_OHCI_NEW at91_uhp_hw_init(); -#endif -#ifdef CONFIG_LCD - pm9263_lcd_hw_init(); #endif return 0; } diff --git a/include/configs/pxm2.h b/include/configs/pxm2.h index 4f24b13f50..586a7edcbb 100644 --- a/include/configs/pxm2.h +++ b/include/configs/pxm2.h @@ -18,11 +18,6 @@ #define DDR_IOCTRL_VAL 0x18b #define DDR_PLL_FREQ 266 -#define BOARD_DFU_BUTTON_GPIO 59 -#define BOARD_LCD_POWER 111 -#define BOARD_BACK_LIGHT 112 -#define BOARD_TOUCH_POWER 57 - #define CONFIG_ENV_SETTINGS_BUTTONS_AND_LEDS \ "button_dfu0=59\0" \ "led0=117,0,1\0" \