mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
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 <trini@konsulko.com>
This commit is contained in:
@@ -30,8 +30,6 @@ struct bd_info {
|
||||
unsigned long bi_flashstart; /* start of FLASH memory */
|
||||
unsigned long bi_flashsize; /* size of FLASH memory */
|
||||
unsigned long bi_flashoffset; /* reserved area for startup monitor */
|
||||
unsigned long bi_sramstart; /* start of SRAM memory */
|
||||
unsigned long bi_sramsize; /* size of SRAM memory */
|
||||
#ifdef CONFIG_ARM
|
||||
unsigned long bi_arm_freq; /* arm frequency */
|
||||
unsigned long bi_dsp_freq; /* dsp core frequency */
|
||||
|
||||
@@ -19,8 +19,11 @@
|
||||
*/
|
||||
/* Initial RAM for temporary stack, global data */
|
||||
#define CFG_SYS_INIT_RAM_SIZE 0x10000
|
||||
#define CFG_SYS_SRAM_BASE 0x80000000
|
||||
#define CFG_SYS_SRAM_SIZE 0x00080000
|
||||
|
||||
#define CFG_SYS_INIT_RAM_ADDR \
|
||||
(CONFIG_SYS_SRAM_BASE + CONFIG_SYS_SRAM_SIZE - CFG_SYS_INIT_RAM_SIZE)
|
||||
(CFG_SYS_SRAM_BASE + CFG_SYS_SRAM_SIZE - CFG_SYS_INIT_RAM_SIZE)
|
||||
|
||||
/* SDRAM Configuration (for final code, data, stack, heap) */
|
||||
#define CFG_SYS_SDRAM_BASE 0x88000000
|
||||
|
||||
Reference in New Issue
Block a user