From e2032a0e4e55ea0958aae32f783f3a0726e34415 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Sat, 26 Oct 2024 08:09:00 -0600 Subject: global: Remove bi_sramstart/bi_sramsize These fields are currently set on exactly two platforms today, and used by only one of them. Update pic32mzdask to use CFG_SYS_SRAM* in the one location it needs it and otherwise drop this field from the bd_info struct. Signed-off-by: Tom Rini --- common/board_f.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'common') diff --git a/common/board_f.c b/common/board_f.c index 98dc2591e1d..ebc934ab810 100644 --- a/common/board_f.c +++ b/common/board_f.c @@ -637,13 +637,6 @@ __weak int arch_setup_bdinfo(void) int setup_bdinfo(void) { - struct bd_info *bd = gd->bd; - - if (IS_ENABLED(CONFIG_SYS_HAS_SRAM)) { - bd->bi_sramstart = CONFIG_SYS_SRAM_BASE; /* start of SRAM */ - bd->bi_sramsize = CONFIG_SYS_SRAM_SIZE; /* size of SRAM */ - } - return arch_setup_bdinfo(); } -- cgit v1.2.3