diff options
| author | Tom Rini <[email protected]> | 2024-10-26 08:09:00 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2024-11-16 19:49:13 -0600 |
| commit | e2032a0e4e55ea0958aae32f783f3a0726e34415 (patch) | |
| tree | 7762192552c5d54fb75b51c95f9b07d8c1aa395e /common | |
| parent | cae243927f67f81ff7456906bb6018b93e1c28f3 (diff) | |
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 <[email protected]>
Diffstat (limited to 'common')
| -rw-r--r-- | common/board_f.c | 7 |
1 files changed, 0 insertions, 7 deletions
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(); } |
