]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
atmel: Remove CONFIG_AT91SAM9G45_LCD_BASE
authorTom Rini <trini@konsulko.com>
Sat, 12 Mar 2022 04:07:34 +0000 (23:07 -0500)
committerTom Rini <trini@konsulko.com>
Fri, 18 Mar 2022 16:48:17 +0000 (12:48 -0400)
This variable is used once and is noted as board-specific.  Use the
value directly with a comment.

Cc: Eugen Hristev <eugen.hristev@microchip.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
board/atmel/at91sam9m10g45ek/at91sam9m10g45ek.c
include/configs/at91sam9m10g45ek.h

index b1462b3e3ebd81ad66956d0694956c67c2d15fc5..fcca8923e38f555eae54157f829cd6708210533c 100644 (file)
@@ -214,7 +214,8 @@ static void at91sam9m10g45ek_lcd_hw_init(void)
 
        at91_periph_clk_enable(ATMEL_ID_LCDC);
 
-       gd->fb_base = CONFIG_AT91SAM9G45_LCD_BASE;
+       /* board specific(not enough SRAM) */
+       gd->fb_base = 0x73E00000;
 }
 
 #ifdef CONFIG_LCD_INFO
index 2616ca68eb5fd892aaae24a5735c76eb888cdecb..31e075350fd40f4d9fc1585b130c1f5b8f85a168 100644 (file)
@@ -27,8 +27,6 @@
 #define CONFIG_LCD_INFO_BELOW_LOGO
 #define CONFIG_ATMEL_LCD
 #define CONFIG_ATMEL_LCD_RGB565
-/* board specific(not enough SRAM) */
-#define CONFIG_AT91SAM9G45_LCD_BASE            0x73E00000
 
 /* SDRAM */
 #define CONFIG_SYS_SDRAM_BASE           0x70000000