[PATCH 25/39] BuR: ronetix: siemens: Drop old LCD code

Simon Glass sjg at chromium.org
Wed Oct 19 13:23:42 CEST 2022


This relies on the old LCD implementation which is to be removed. Drop it.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 board/BuR/common/common.c     |  1 -
 board/ronetix/pm9263/pm9263.c | 17 -----------------
 include/configs/pxm2.h        |  5 -----
 3 files changed, 23 deletions(-)

diff --git a/board/BuR/common/common.c b/board/BuR/common/common.c
index c6126e251ec..3c78020bf93 100644
--- a/board/BuR/common/common.c
+++ b/board/BuR/common/common.c
@@ -14,7 +14,6 @@
 #include <env.h>
 #include <fdtdec.h>
 #include <i2c.h>
-#include <lcd.h>
 #include <asm/global_data.h>
 #include <linux/delay.h>
 #include "bur_common.h"
diff --git a/board/ronetix/pm9263/pm9263.c b/board/ronetix/pm9263/pm9263.c
index 8684e5229d8..84926cdc689 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 4f24b13f500..586a7edcbb5 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" \
-- 
2.38.0.413.g74048e4d9e-goog



More information about the U-Boot mailing list