]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
BuR: ronetix: siemens: Drop old LCD code
authorSimon Glass <sjg@chromium.org>
Sun, 16 Oct 2022 21:56:56 +0000 (15:56 -0600)
committerAnatolij Gustschin <agust@denx.de>
Sun, 30 Oct 2022 19:07:17 +0000 (20:07 +0100)
This relies on the old LCD implementation which is to be removed. Drop it.

Signed-off-by: Simon Glass <sjg@chromium.org>
board/BuR/common/common.c
board/ronetix/pm9263/pm9263.c
include/configs/pxm2.h

index c6126e251ecc44a59a5dab6882b9a94a0b056288..3c78020bf93c7c6fa19481f191314c66ed89cba9 100644 (file)
@@ -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"
index 8684e5229d89de00f66696129e82bfa1e1f886bf..84926cdc689f2ebdffcb82307c6322502f316a59 100644 (file)
@@ -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;
 }
index 4f24b13f500edd90c46ea6ee74960669d5ef0544..586a7edcbb527b88fe02d23ea9f39cb5737566ed 100644 (file)
 #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" \