summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2022-03-11 23:07:34 -0500
committerTom Rini <[email protected]>2022-03-18 12:48:17 -0400
commitb601906ed5d83ccfc2ab300d3949937af0d58861 (patch)
tree4383f6e01262bf3c5d48ac99e5ae474a93ecad0a
parent137b990bf5e9973640bf1a65a7e77a9ecd49cf4a (diff)
atmel: Remove CONFIG_AT91SAM9G45_LCD_BASE
This variable is used once and is noted as board-specific. Use the value directly with a comment. Cc: Eugen Hristev <[email protected]> Signed-off-by: Tom Rini <[email protected]>
-rw-r--r--board/atmel/at91sam9m10g45ek/at91sam9m10g45ek.c3
-rw-r--r--include/configs/at91sam9m10g45ek.h2
2 files changed, 2 insertions, 3 deletions
diff --git a/board/atmel/at91sam9m10g45ek/at91sam9m10g45ek.c b/board/atmel/at91sam9m10g45ek/at91sam9m10g45ek.c
index b1462b3e3eb..fcca8923e38 100644
--- a/board/atmel/at91sam9m10g45ek/at91sam9m10g45ek.c
+++ b/board/atmel/at91sam9m10g45ek/at91sam9m10g45ek.c
@@ -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
diff --git a/include/configs/at91sam9m10g45ek.h b/include/configs/at91sam9m10g45ek.h
index 2616ca68eb5..31e075350fd 100644
--- a/include/configs/at91sam9m10g45ek.h
+++ b/include/configs/at91sam9m10g45ek.h
@@ -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