From: Hannes Schmelzer Date: Fri, 6 Jul 2018 13:41:21 +0000 (+0200) Subject: board/BuR/brppt1: drop LCD-support X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=959636797069c7ea77b44f4f52dd6851f9861737;p=u-boot.git board/BuR/brppt1: drop LCD-support On this linux target long time ago the OS is using DRM driver for handling video output, the pre initialization of u-boot and the display summary screen is obsolete. With this patch we drop the LCD-support from thisd board. Signed-off-by: Hannes Schmelzer --- diff --git a/board/BuR/brppt1/board.c b/board/BuR/brppt1/board.c index 41db449afc..ff2a3a2426 100644 --- a/board/BuR/brppt1/board.c +++ b/board/BuR/brppt1/board.c @@ -26,7 +26,6 @@ #include #include #include "../common/bur_common.h" -#include #include DECLARE_GLOBAL_DATA_PTR; @@ -160,9 +159,6 @@ int board_init(void) int board_late_init(void) { if (0 == gpio_get_value(REPSWITCH)) { - lcd_position_cursor(1, 8); - lcd_puts( - "switching to network-console ... "); env_set("bootcmd", "run netconsole"); } return 0; diff --git a/configs/brppt1_mmc_defconfig b/configs/brppt1_mmc_defconfig index a9d0f71fbe..b8db5098de 100644 --- a/configs/brppt1_mmc_defconfig +++ b/configs/brppt1_mmc_defconfig @@ -11,7 +11,6 @@ CONFIG_SPL=y CONFIG_OF_BOARD_SETUP=y CONFIG_SYS_EXTRA_OPTIONS="SERIAL1,CONS_INDEX=1,EMMC_BOOT" CONFIG_BOOTDELAY=-2 -# CONFIG_CONSOLE_MUX is not set CONFIG_SYS_CONSOLE_IS_IN_ENV=y CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE=y CONFIG_SYS_CONSOLE_INFO_QUIET=y @@ -57,7 +56,5 @@ CONFIG_USB=y CONFIG_USB_MUSB_HOST=y CONFIG_USB_MUSB_DSPS=y CONFIG_USB_STORAGE=y -CONFIG_SYS_WHITE_ON_BLACK=y -CONFIG_LCD=y CONFIG_FAT_WRITE=y CONFIG_OF_LIBFDT=y diff --git a/configs/brppt1_nand_defconfig b/configs/brppt1_nand_defconfig index ac50abc661..907ce71a40 100644 --- a/configs/brppt1_nand_defconfig +++ b/configs/brppt1_nand_defconfig @@ -10,7 +10,6 @@ CONFIG_SPL=y CONFIG_OF_BOARD_SETUP=y CONFIG_SYS_EXTRA_OPTIONS="SERIAL1,CONS_INDEX=1" CONFIG_BOOTDELAY=-2 -# CONFIG_CONSOLE_MUX is not set CONFIG_SYS_CONSOLE_IS_IN_ENV=y CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE=y CONFIG_SYS_CONSOLE_INFO_QUIET=y @@ -59,7 +58,5 @@ CONFIG_USB=y CONFIG_USB_MUSB_HOST=y CONFIG_USB_MUSB_DSPS=y CONFIG_USB_STORAGE=y -CONFIG_SYS_WHITE_ON_BLACK=y -CONFIG_LCD=y CONFIG_FAT_WRITE=y CONFIG_OF_LIBFDT=y diff --git a/configs/brppt1_spi_defconfig b/configs/brppt1_spi_defconfig index 140a7ddfef..90054aabcc 100644 --- a/configs/brppt1_spi_defconfig +++ b/configs/brppt1_spi_defconfig @@ -14,7 +14,6 @@ CONFIG_OF_BOARD_SETUP=y CONFIG_SYS_EXTRA_OPTIONS="SERIAL1,CONS_INDEX=1,SPI_BOOT,EMMC_BOOT" CONFIG_SPI_BOOT=y CONFIG_BOOTDELAY=-2 -# CONFIG_CONSOLE_MUX is not set CONFIG_SYS_CONSOLE_IS_IN_ENV=y CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE=y CONFIG_SYS_CONSOLE_INFO_QUIET=y @@ -69,7 +68,5 @@ CONFIG_USB=y CONFIG_USB_MUSB_HOST=y CONFIG_USB_MUSB_DSPS=y CONFIG_USB_STORAGE=y -CONFIG_SYS_WHITE_ON_BLACK=y -CONFIG_LCD=y CONFIG_FAT_WRITE=y CONFIG_OF_LIBFDT=y diff --git a/include/configs/brppt1.h b/include/configs/brppt1.h index a6cf9ac9b5..6a210b772b 100644 --- a/include/configs/brppt1.h +++ b/include/configs/brppt1.h @@ -14,11 +14,6 @@ #include #include /* ------------------------------------------------------------------------- */ -#define CONFIG_AM335X_LCD -#define CONFIG_LCD_ROTATION -#define CONFIG_LCD_DT_SIMPLEFB -#define LCD_BPP LCD_COLOR32 - /* memory */ #define CONFIG_SYS_MALLOC_LEN (5 * 1024 * 1024)