"Das U-Boot" Source Tree

global: Move remaining CONFIG_SYS_SDRAM_* to CFG_SYS_SDRAM_*

The rest of the unmigrated CONFIG symbols in the CONFIG_SYS_SDRAM
namespace do not easily transition to Kconfig. In many cases they likely
should come from the device tree instead. Move these out of CONFIG
namespace and in to CFG namespace.

Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>

Tom Rini aa6e94de aec118eb

+1197 -1197
+1 -1
README
··· 1441 1441 the RAM base is not zero, or RAM is divided into banks, 1442 1442 this variable needs to be recalcuated to get the address. 1443 1443 1444 - - CONFIG_SYS_SDRAM_BASE: 1444 + - CFG_SYS_SDRAM_BASE: 1445 1445 Physical start address of SDRAM. _Must_ be 0 here. 1446 1446 1447 1447 - CONFIG_SYS_FLASH_BASE:
+2 -2
arch/arc/lib/cache.c
··· 476 476 static void arc_ioc_setup(void) 477 477 { 478 478 /* IOC Aperture start is equal to DDR start */ 479 - unsigned int ap_base = CONFIG_SYS_SDRAM_BASE; 479 + unsigned int ap_base = CFG_SYS_SDRAM_BASE; 480 480 /* IOC Aperture size is equal to DDR size */ 481 - long ap_size = CONFIG_SYS_SDRAM_SIZE; 481 + long ap_size = CFG_SYS_SDRAM_SIZE; 482 482 483 483 /* Unsupported configuration. See [ NOTE 2 ] for more details. */ 484 484 if (!slc_exists())
+1 -1
arch/arc/lib/cpu.c
··· 20 20 timer_init(); 21 21 22 22 gd->cpu_clk = get_board_sys_clk(); 23 - gd->ram_size = CONFIG_SYS_SDRAM_SIZE; 23 + gd->ram_size = CFG_SYS_SDRAM_SIZE; 24 24 25 25 cache_init(); 26 26
+1 -1
arch/arm/cpu/armv7/ls102xa/ls102xa_psci.c
··· 29 29 */ 30 30 static void __secure ls1_save_ddr_head(void) 31 31 { 32 - const char *src = (const char *)CONFIG_SYS_SDRAM_BASE; 32 + const char *src = (const char *)CFG_SYS_SDRAM_BASE; 33 33 char *dest = (char *)(OCRAM_BASE_S_ADDR + OCRAM_S_SIZE - DDR_RESV_LEN); 34 34 struct ccsr_scfg __iomem *scfg = (void *)CFG_SYS_FSL_SCFG_ADDR; 35 35 int i;
+3 -3
arch/arm/cpu/armv8/fsl-layerscape/cpu.c
··· 1441 1441 } 1442 1442 #endif 1443 1443 1444 - gd->bd->bi_dram[0].start = CONFIG_SYS_SDRAM_BASE; 1444 + gd->bd->bi_dram[0].start = CFG_SYS_SDRAM_BASE; 1445 1445 if (gd->ram_size > CONFIG_SYS_DDR_BLOCK1_SIZE) { 1446 1446 gd->bd->bi_dram[0].size = CONFIG_SYS_DDR_BLOCK1_SIZE; 1447 1447 gd->bd->bi_dram[1].start = CONFIG_SYS_DDR_BLOCK2_BASE; ··· 1571 1571 1572 1572 if (gd->ram_size <= CONFIG_SYS_FSL_DRAM_SIZE1) { 1573 1573 mmu_change_region_attr( 1574 - CONFIG_SYS_SDRAM_BASE, 1574 + CFG_SYS_SDRAM_BASE, 1575 1575 gd->ram_size, 1576 1576 PTE_BLOCK_MEMTYPE(MT_NORMAL) | 1577 1577 PTE_BLOCK_OUTER_SHARE | ··· 1579 1579 PTE_TYPE_VALID); 1580 1580 } else { 1581 1581 mmu_change_region_attr( 1582 - CONFIG_SYS_SDRAM_BASE, 1582 + CFG_SYS_SDRAM_BASE, 1583 1583 CONFIG_SYS_DDR_BLOCK1_SIZE, 1584 1584 PTE_BLOCK_MEMTYPE(MT_NORMAL) | 1585 1585 PTE_BLOCK_OUTER_SHARE |
+2 -2
arch/arm/dts/rockchip-optee.dtsi
··· 32 32 arch = "arm"; 33 33 os = "tee"; 34 34 compression = "none"; 35 - load = <(CONFIG_SYS_SDRAM_BASE + 0x8400000)>; 36 - entry = <(CONFIG_SYS_SDRAM_BASE + 0x8400000)>; 35 + load = <(CFG_SYS_SDRAM_BASE + 0x8400000)>; 36 + entry = <(CFG_SYS_SDRAM_BASE + 0x8400000)>; 37 37 38 38 blob-ext { 39 39 filename = "tee.bin";
+1 -1
arch/arm/include/asm/emif.h
··· 583 583 (DMM_SDRC_MAP_EMIF1_AND_EMIF2 << EMIF_SDRC_MAP_SHIFT) |\ 584 584 (DMM_SDRC_ADDR_SPC_SDRAM << EMIF_SDRC_ADDRSPC_SHIFT) |\ 585 585 (DMM_SDRC_INTL_128B << EMIF_SDRC_INTL_SHIFT) |\ 586 - (CONFIG_SYS_SDRAM_BASE << EMIF_SYS_ADDR_SHIFT)) 586 + (CFG_SYS_SDRAM_BASE << EMIF_SYS_ADDR_SHIFT)) 587 587 588 588 #define DMM_LISA_MAP_EMIF1_ONLY_BASE_VAL (\ 589 589 (DMM_SDRC_MAP_EMIF1_ONLY << EMIF_SDRC_MAP_SHIFT)|\
+1 -1
arch/arm/include/asm/iproc-common/configs.h
··· 12 12 #define CONFIG_IPROC 13 13 14 14 /* Memory Info */ 15 - #define CONFIG_SYS_SDRAM_BASE 0x61000000 15 + #define CFG_SYS_SDRAM_BASE 0x61000000 16 16 17 17 #endif /* __IPROC_COMMON_CONFIGS_H */
+1 -1
arch/arm/mach-aspeed/ast2500/board_common.c
··· 31 31 32 32 int board_init(void) 33 33 { 34 - gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; 34 + gd->bd->bi_boot_params = CFG_SYS_SDRAM_BASE + 0x100; 35 35 36 36 return 0; 37 37 }
+1 -1
arch/arm/mach-aspeed/ast2600/board_common.c
··· 54 54 int i = 0, rc; 55 55 struct udevice *dev; 56 56 57 - gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; 57 + gd->bd->bi_boot_params = CFG_SYS_SDRAM_BASE + 0x100; 58 58 59 59 while (1) { 60 60 rc = uclass_get_device(UCLASS_MISC, i++, &dev);
+24 -24
arch/arm/mach-at91/arm920t/lowlevel_init.S
··· 114 114 .word CONFIG_SYS_SDRC_CR_VAL 115 115 .word AT91_ASM_MC_SDRAMC_MR 116 116 .word CONFIG_SYS_SDRC_MR_VAL 117 - .word CONFIG_SYS_SDRAM 118 - .word CONFIG_SYS_SDRAM_VAL 117 + .word CFG_SYS_SDRAM 118 + .word CFG_SYS_SDRAM_VAL 119 119 .word AT91_ASM_MC_SDRAMC_MR 120 120 .word CONFIG_SYS_SDRC_MR_VAL1 121 - .word CONFIG_SYS_SDRAM 122 - .word CONFIG_SYS_SDRAM_VAL 123 - .word CONFIG_SYS_SDRAM 124 - .word CONFIG_SYS_SDRAM_VAL 125 - .word CONFIG_SYS_SDRAM 126 - .word CONFIG_SYS_SDRAM_VAL 127 - .word CONFIG_SYS_SDRAM 128 - .word CONFIG_SYS_SDRAM_VAL 129 - .word CONFIG_SYS_SDRAM 130 - .word CONFIG_SYS_SDRAM_VAL 131 - .word CONFIG_SYS_SDRAM 132 - .word CONFIG_SYS_SDRAM_VAL 133 - .word CONFIG_SYS_SDRAM 134 - .word CONFIG_SYS_SDRAM_VAL 135 - .word CONFIG_SYS_SDRAM 136 - .word CONFIG_SYS_SDRAM_VAL 121 + .word CFG_SYS_SDRAM 122 + .word CFG_SYS_SDRAM_VAL 123 + .word CFG_SYS_SDRAM 124 + .word CFG_SYS_SDRAM_VAL 125 + .word CFG_SYS_SDRAM 126 + .word CFG_SYS_SDRAM_VAL 127 + .word CFG_SYS_SDRAM 128 + .word CFG_SYS_SDRAM_VAL 129 + .word CFG_SYS_SDRAM 130 + .word CFG_SYS_SDRAM_VAL 131 + .word CFG_SYS_SDRAM 132 + .word CFG_SYS_SDRAM_VAL 133 + .word CFG_SYS_SDRAM 134 + .word CFG_SYS_SDRAM_VAL 135 + .word CFG_SYS_SDRAM 136 + .word CFG_SYS_SDRAM_VAL 137 137 .word AT91_ASM_MC_SDRAMC_MR 138 138 .word CONFIG_SYS_SDRC_MR_VAL2 139 - .word CONFIG_SYS_SDRAM1 140 - .word CONFIG_SYS_SDRAM_VAL 139 + .word CFG_SYS_SDRAM1 140 + .word CFG_SYS_SDRAM_VAL 141 141 .word AT91_ASM_MC_SDRAMC_TR 142 142 .word CONFIG_SYS_SDRC_TR_VAL 143 - .word CONFIG_SYS_SDRAM 144 - .word CONFIG_SYS_SDRAM_VAL 143 + .word CFG_SYS_SDRAM 144 + .word CFG_SYS_SDRAM_VAL 145 145 .word AT91_ASM_MC_SDRAMC_MR 146 146 .word CONFIG_SYS_SDRC_MR_VAL3 147 - .word CONFIG_SYS_SDRAM 148 - .word CONFIG_SYS_SDRAM_VAL 147 + .word CFG_SYS_SDRAM 148 + .word CFG_SYS_SDRAM_VAL 149 149 SMRDATA1E: 150 150 /* SMRDATA1 is 176 bytes long */ 151 151 #endif /* CONFIG_IS_ENABLED(SKIP_LOWLEVEL_INIT) */
+24 -24
arch/arm/mach-at91/arm926ejs/lowlevel_init.S
··· 201 201 .word CONFIG_SYS_SDRC_MDR_VAL 202 202 .word AT91_ASM_SDRAMC_MR 203 203 .word CONFIG_SYS_SDRC_MR_VAL2 204 - .word CONFIG_SYS_SDRAM_BASE 205 - .word CONFIG_SYS_SDRAM_VAL1 204 + .word CFG_SYS_SDRAM_BASE 205 + .word CFG_SYS_SDRAM_VAL1 206 206 .word AT91_ASM_SDRAMC_MR 207 207 .word CONFIG_SYS_SDRC_MR_VAL3 208 - .word CONFIG_SYS_SDRAM_BASE 209 - .word CONFIG_SYS_SDRAM_VAL2 210 - .word CONFIG_SYS_SDRAM_BASE 211 - .word CONFIG_SYS_SDRAM_VAL3 212 - .word CONFIG_SYS_SDRAM_BASE 213 - .word CONFIG_SYS_SDRAM_VAL4 214 - .word CONFIG_SYS_SDRAM_BASE 215 - .word CONFIG_SYS_SDRAM_VAL5 216 - .word CONFIG_SYS_SDRAM_BASE 217 - .word CONFIG_SYS_SDRAM_VAL6 218 - .word CONFIG_SYS_SDRAM_BASE 219 - .word CONFIG_SYS_SDRAM_VAL7 220 - .word CONFIG_SYS_SDRAM_BASE 221 - .word CONFIG_SYS_SDRAM_VAL8 222 - .word CONFIG_SYS_SDRAM_BASE 223 - .word CONFIG_SYS_SDRAM_VAL9 208 + .word CFG_SYS_SDRAM_BASE 209 + .word CFG_SYS_SDRAM_VAL2 210 + .word CFG_SYS_SDRAM_BASE 211 + .word CFG_SYS_SDRAM_VAL3 212 + .word CFG_SYS_SDRAM_BASE 213 + .word CFG_SYS_SDRAM_VAL4 214 + .word CFG_SYS_SDRAM_BASE 215 + .word CFG_SYS_SDRAM_VAL5 216 + .word CFG_SYS_SDRAM_BASE 217 + .word CFG_SYS_SDRAM_VAL6 218 + .word CFG_SYS_SDRAM_BASE 219 + .word CFG_SYS_SDRAM_VAL7 220 + .word CFG_SYS_SDRAM_BASE 221 + .word CFG_SYS_SDRAM_VAL8 222 + .word CFG_SYS_SDRAM_BASE 223 + .word CFG_SYS_SDRAM_VAL9 224 224 .word AT91_ASM_SDRAMC_MR 225 225 .word CONFIG_SYS_SDRC_MR_VAL4 226 - .word CONFIG_SYS_SDRAM_BASE 227 - .word CONFIG_SYS_SDRAM_VAL10 226 + .word CFG_SYS_SDRAM_BASE 227 + .word CFG_SYS_SDRAM_VAL10 228 228 .word AT91_ASM_SDRAMC_MR 229 229 .word CONFIG_SYS_SDRC_MR_VAL5 230 - .word CONFIG_SYS_SDRAM_BASE 231 - .word CONFIG_SYS_SDRAM_VAL11 230 + .word CFG_SYS_SDRAM_BASE 231 + .word CFG_SYS_SDRAM_VAL11 232 232 .word AT91_ASM_SDRAMC_TR 233 233 .word CONFIG_SYS_SDRC_TR_VAL2 234 - .word CONFIG_SYS_SDRAM_BASE 235 - .word CONFIG_SYS_SDRAM_VAL12 234 + .word CFG_SYS_SDRAM_BASE 235 + .word CFG_SYS_SDRAM_VAL12 236 236 /* User reset enable*/ 237 237 .word AT91_ASM_RSTC_MR 238 238 .word CONFIG_SYS_RSTC_RMR_VAL
+2 -2
arch/arm/mach-davinci/misc.c
··· 26 26 { 27 27 /* dram_init must store complete ramsize in gd->ram_size */ 28 28 gd->ram_size = get_ram_size( 29 - (void *)CONFIG_SYS_SDRAM_BASE, 29 + (void *)CFG_SYS_SDRAM_BASE, 30 30 CONFIG_MAX_RAM_BANK_SIZE); 31 31 return 0; 32 32 } 33 33 34 34 int dram_init_banksize(void) 35 35 { 36 - gd->bd->bi_dram[0].start = CONFIG_SYS_SDRAM_BASE; 36 + gd->bd->bi_dram[0].start = CFG_SYS_SDRAM_BASE; 37 37 gd->bd->bi_dram[0].size = gd->ram_size; 38 38 39 39 return 0;
+1 -1
arch/arm/mach-exynos/dmc_init_ddr3.c
··· 236 236 * better have similar timings, since there's only a single adjustment that is 237 237 * shared by both chips). 238 238 */ 239 - const unsigned int test_addr = CONFIG_SYS_SDRAM_BASE; 239 + const unsigned int test_addr = CFG_SYS_SDRAM_BASE; 240 240 241 241 /* Test pattern with which RAM will be tested */ 242 242 static const unsigned int test_pattern[] = {
+1 -1
arch/arm/mach-imx/imx8m/soc.c
··· 178 178 int i; 179 179 180 180 for (i = 0; i < ARRAY_SIZE(imx8m_mem_map); i++) 181 - if (imx8m_mem_map[i].phys == CONFIG_SYS_SDRAM_BASE) 181 + if (imx8m_mem_map[i].phys == CFG_SYS_SDRAM_BASE) 182 182 return i; 183 183 184 184 hang(); /* Entry not found, this must never happen. */
+1 -1
arch/arm/mach-imx/imx8ulp/soc.c
··· 373 373 int i; 374 374 375 375 for (i = 0; i < ARRAY_SIZE(imx8ulp_arm64_mem_map); i++) 376 - if (imx8ulp_arm64_mem_map[i].phys == CONFIG_SYS_SDRAM_BASE) 376 + if (imx8ulp_arm64_mem_map[i].phys == CFG_SYS_SDRAM_BASE) 377 377 return i; 378 378 379 379 hang(); /* Entry not found, this must never happen. */
+1 -1
arch/arm/mach-imx/mx6/litesom.c
··· 172 172 * Get actual RAM size, so we can adjust DDR row size for <512M 173 173 * memories 174 174 */ 175 - ram_size = get_ram_size((void *)CONFIG_SYS_SDRAM_BASE, SZ_512M); 175 + ram_size = get_ram_size((void *)CFG_SYS_SDRAM_BASE, SZ_512M); 176 176 if (ram_size < SZ_512M) { 177 177 mem_ddr.rowaddr = 14; 178 178 mx6_dram_cfg(&ddr_sysinfo, &mx6_mmcd_calib, &mem_ddr);
+1 -1
arch/arm/mach-imx/mx6/opos6ul.c
··· 44 44 int board_init(void) 45 45 { 46 46 /* Address of boot parameters */ 47 - gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; 47 + gd->bd->bi_boot_params = CFG_SYS_SDRAM_BASE + 0x100; 48 48 49 49 #ifdef CONFIG_FEC_MXC 50 50 setup_fec();
+1 -1
arch/arm/mach-imx/spl.c
··· 349 349 #if defined(CONFIG_MX6) && defined(CONFIG_SPL_OS_BOOT) 350 350 int dram_init_banksize(void) 351 351 { 352 - gd->bd->bi_dram[0].start = CONFIG_SYS_SDRAM_BASE; 352 + gd->bd->bi_dram[0].start = CFG_SYS_SDRAM_BASE; 353 353 gd->bd->bi_dram[0].size = imx_ddr_size(); 354 354 355 355 return 0;
+1 -1
arch/arm/mach-k3/common.c
··· 561 561 void spl_enable_dcache(void) 562 562 { 563 563 #if !(defined(CONFIG_SYS_ICACHE_OFF) && defined(CONFIG_SYS_DCACHE_OFF)) 564 - phys_addr_t ram_top = CONFIG_SYS_SDRAM_BASE; 564 + phys_addr_t ram_top = CFG_SYS_SDRAM_BASE; 565 565 566 566 dram_init(); 567 567
+1 -1
arch/arm/mach-k3/r5_mpu.c
··· 24 24 O_I_WB_RD_WR_ALLOC, REGION_8MB}, 25 25 26 26 /* U-Boot's code area marking it as WB and Write allocate */ 27 - {CONFIG_SYS_SDRAM_BASE, REGION_2, XN_DIS, PRIV_RW_USR_RW, 27 + {CFG_SYS_SDRAM_BASE, REGION_2, XN_DIS, PRIV_RW_USR_RW, 28 28 O_I_WB_RD_WR_ALLOC, REGION_2GB}, 29 29 /* mcu_r5fss0_core0 BTCM area marking it as WB and Write allocate. */ 30 30 {0x41010000, 3, XN_DIS, PRIV_RW_USR_RW, O_I_WB_RD_WR_ALLOC,
+1 -1
arch/arm/mach-keystone/ddr3.c
··· 318 318 } 319 319 320 320 ddr3_ecc_init_range(base); 321 - ddr3_reset_data(CONFIG_SYS_SDRAM_BASE, ddr3_size); 321 + ddr3_reset_data(CFG_SYS_SDRAM_BASE, ddr3_size); 322 322 323 323 /* mapping DDR3 ECC system interrupt from CIC2 to GIC */ 324 324 #if defined(CONFIG_SOC_K2HK) || defined(CONFIG_SOC_K2L)
+2 -2
arch/arm/mach-mediatek/mt7623/init.c
··· 25 25 { 26 26 u32 i; 27 27 28 - if (((size_t)preloader_param >= CONFIG_SYS_SDRAM_BASE) && 28 + if (((size_t)preloader_param >= CFG_SYS_SDRAM_BASE) && 29 29 ((size_t)preloader_param % sizeof(size_t) == 0) && 30 30 preloader_param->magic == BOOT_ARGUMENT_MAGIC && 31 31 preloader_param->dram_rank_num <= ··· 35 35 for (i = 0; i < preloader_param->dram_rank_num; i++) 36 36 gd->ram_size += preloader_param->dram_rank_size[i]; 37 37 } else { 38 - gd->ram_size = get_ram_size((long *)CONFIG_SYS_SDRAM_BASE, 38 + gd->ram_size = get_ram_size((long *)CFG_SYS_SDRAM_BASE, 39 39 SZ_2G); 40 40 } 41 41
+1 -1
arch/arm/mach-mediatek/mt7981/init.c
··· 14 14 15 15 int dram_init(void) 16 16 { 17 - gd->ram_size = get_ram_size((void *)CONFIG_SYS_SDRAM_BASE, SZ_2G); 17 + gd->ram_size = get_ram_size((void *)CFG_SYS_SDRAM_BASE, SZ_2G); 18 18 19 19 return 0; 20 20 }
+1 -1
arch/arm/mach-mediatek/mt7986/init.c
··· 14 14 15 15 int dram_init(void) 16 16 { 17 - gd->ram_size = get_ram_size((void *)CONFIG_SYS_SDRAM_BASE, SZ_2G); 17 + gd->ram_size = get_ram_size((void *)CFG_SYS_SDRAM_BASE, SZ_2G); 18 18 19 19 return 0; 20 20 }
+3 -3
arch/arm/mach-mvebu/alleycat5/cpu.c
··· 21 21 static struct mm_region ac5_mem_map[] = { 22 22 { 23 23 /* RAM */ 24 - .phys = CONFIG_SYS_SDRAM_BASE, 25 - .virt = CONFIG_SYS_SDRAM_BASE, 24 + .phys = CFG_SYS_SDRAM_BASE, 25 + .virt = CFG_SYS_SDRAM_BASE, 26 26 .attrs = PTE_BLOCK_MEMTYPE(MT_NORMAL) | 27 27 PTE_BLOCK_INNER_SHARE 28 28 }, ··· 102 102 /* 103 103 * Config single DRAM bank 104 104 */ 105 - gd->bd->bi_dram[0].start = CONFIG_SYS_SDRAM_BASE; 105 + gd->bd->bi_dram[0].start = CFG_SYS_SDRAM_BASE; 106 106 gd->bd->bi_dram[0].size = gd->ram_size; 107 107 108 108 return 0;
+1 -1
arch/arm/mach-mvebu/arm64-common.c
··· 32 32 33 33 phys_size_t board_get_usable_ram_top(phys_size_t total_size) 34 34 { 35 - unsigned long top = CONFIG_SYS_SDRAM_BASE + min(gd->ram_size, USABLE_RAM_SIZE); 35 + unsigned long top = CFG_SYS_SDRAM_BASE + min(gd->ram_size, USABLE_RAM_SIZE); 36 36 37 37 return (gd->ram_top > top) ? top : gd->ram_top; 38 38 }
+1 -1
arch/arm/mach-mvebu/armada8k/dram.c
··· 38 38 */ 39 39 phys_size_t max_bank0_size = SZ_4G - SZ_1G; 40 40 41 - gd->bd->bi_dram[0].start = CONFIG_SYS_SDRAM_BASE; 41 + gd->bd->bi_dram[0].start = CFG_SYS_SDRAM_BASE; 42 42 if (gd->ram_size <= max_bank0_size) { 43 43 gd->bd->bi_dram[0].size = gd->ram_size; 44 44 return 0;
+3 -3
arch/arm/mach-omap2/am33xx/board.c
··· 72 72 73 73 /* dram_init must store complete ramsize in gd->ram_size */ 74 74 gd->ram_size = get_ram_size( 75 - (void *)CONFIG_SYS_SDRAM_BASE, 75 + (void *)CFG_SYS_SDRAM_BASE, 76 76 CONFIG_MAX_RAM_BANK_SIZE); 77 77 return 0; 78 78 } 79 79 80 80 int dram_init_banksize(void) 81 81 { 82 - gd->bd->bi_dram[0].start = CONFIG_SYS_SDRAM_BASE; 82 + gd->bd->bi_dram[0].start = CFG_SYS_SDRAM_BASE; 83 83 gd->bd->bi_dram[0].size = gd->ram_size; 84 84 85 85 return 0; ··· 520 520 sdram_init(); 521 521 /* dram_init must store complete ramsize in gd->ram_size */ 522 522 gd->ram_size = get_ram_size( 523 - (void *)CONFIG_SYS_SDRAM_BASE, 523 + (void *)CFG_SYS_SDRAM_BASE, 524 524 CONFIG_MAX_RAM_BANK_SIZE); 525 525 } 526 526 #endif
+4 -4
arch/arm/mach-omap2/emif-common.c
··· 389 389 /* Set region1 memory with 0 */ 390 390 rgn_start = (regs->emif_ecc_address_range_1 & 391 391 EMIF_ECC_REG_ECC_START_ADDR_MASK) << 16; 392 - rgn = rgn_start + CONFIG_SYS_SDRAM_BASE; 392 + rgn = rgn_start + CFG_SYS_SDRAM_BASE; 393 393 size = (regs->emif_ecc_address_range_1 & 394 394 EMIF_ECC_REG_ECC_END_ADDR_MASK) + 0x10000 - rgn_start; 395 395 ··· 400 400 /* Set region2 memory with 0 */ 401 401 rgn_start = (regs->emif_ecc_address_range_2 & 402 402 EMIF_ECC_REG_ECC_START_ADDR_MASK) << 16; 403 - rgn = rgn_start + CONFIG_SYS_SDRAM_BASE; 403 + rgn = rgn_start + CFG_SYS_SDRAM_BASE; 404 404 size = (regs->emif_ecc_address_range_2 & 405 405 EMIF_ECC_REG_ECC_END_ADDR_MASK) + 0x10000 - rgn_start; 406 406 ··· 1340 1340 1341 1341 mapped_size = 0; 1342 1342 section_cnt = 3; 1343 - sys_addr = CONFIG_SYS_SDRAM_BASE; 1343 + sys_addr = CFG_SYS_SDRAM_BASE; 1344 1344 emif1_size = get_emif_mem_size(EMIF1_BASE); 1345 1345 emif2_size = get_emif_mem_size(EMIF2_BASE); 1346 1346 debug("emif1_size 0x%x emif2_size 0x%x\n", emif1_size, emif2_size); ··· 1568 1568 size_prog = log_2_n_round_down(size_prog); 1569 1569 size_prog = (1 << size_prog); 1570 1570 1571 - size_detect = get_ram_size((long *)CONFIG_SYS_SDRAM_BASE, 1571 + size_detect = get_ram_size((long *)CFG_SYS_SDRAM_BASE, 1572 1572 size_prog); 1573 1573 /* Compare with the size programmed */ 1574 1574 if (size_detect != size_prog) {
+2 -2
arch/arm/mach-omap2/sec-common.c
··· 198 198 */ 199 199 if (sec_mem_start == 0) 200 200 sec_mem_start = 201 - (CONFIG_SYS_SDRAM_BASE + ( 201 + (CFG_SYS_SDRAM_BASE + ( 202 202 #if defined(CONFIG_OMAP54XX) 203 203 omap_sdram_size() 204 204 #else 205 - get_ram_size((void *)CONFIG_SYS_SDRAM_BASE, 205 + get_ram_size((void *)CFG_SYS_SDRAM_BASE, 206 206 CONFIG_MAX_RAM_BANK_SIZE) 207 207 #endif 208 208 - sec_mem_size));
+1 -1
arch/arm/mach-owl/soc.c
··· 50 50 /* This is called after dram_init() so use get_ram_size result */ 51 51 int dram_init_banksize(void) 52 52 { 53 - gd->bd->bi_dram[0].start = CONFIG_SYS_SDRAM_BASE; 53 + gd->bd->bi_dram[0].start = CFG_SYS_SDRAM_BASE; 54 54 gd->bd->bi_dram[0].size = gd->ram_size; 55 55 56 56 return 0;
+8 -8
arch/arm/mach-rockchip/sdram.c
··· 37 37 38 38 int dram_init_banksize(void) 39 39 { 40 - size_t top = min((unsigned long)(gd->ram_size + CONFIG_SYS_SDRAM_BASE), 40 + size_t top = min((unsigned long)(gd->ram_size + CFG_SYS_SDRAM_BASE), 41 41 (unsigned long)(gd->ram_top)); 42 42 43 43 #ifdef CONFIG_ARM64 ··· 48 48 #ifdef CONFIG_SPL_OPTEE_IMAGE 49 49 struct tos_parameter_t *tos_parameter; 50 50 51 - tos_parameter = (struct tos_parameter_t *)(CONFIG_SYS_SDRAM_BASE + 51 + tos_parameter = (struct tos_parameter_t *)(CFG_SYS_SDRAM_BASE + 52 52 TRUST_PARAMETER_OFFSET); 53 53 54 54 if (tos_parameter->tee_mem.flags == 1) { 55 - gd->bd->bi_dram[0].start = CONFIG_SYS_SDRAM_BASE; 55 + gd->bd->bi_dram[0].start = CFG_SYS_SDRAM_BASE; 56 56 gd->bd->bi_dram[0].size = tos_parameter->tee_mem.phy_addr 57 - - CONFIG_SYS_SDRAM_BASE; 57 + - CFG_SYS_SDRAM_BASE; 58 58 gd->bd->bi_dram[1].start = tos_parameter->tee_mem.phy_addr + 59 59 tos_parameter->tee_mem.size; 60 60 gd->bd->bi_dram[1].size = top - gd->bd->bi_dram[1].start; 61 61 } else { 62 - gd->bd->bi_dram[0].start = CONFIG_SYS_SDRAM_BASE; 62 + gd->bd->bi_dram[0].start = CFG_SYS_SDRAM_BASE; 63 63 gd->bd->bi_dram[0].size = 0x8400000; 64 64 /* Reserve 32M for OPTEE with TA */ 65 - gd->bd->bi_dram[1].start = CONFIG_SYS_SDRAM_BASE 65 + gd->bd->bi_dram[1].start = CFG_SYS_SDRAM_BASE 66 66 + gd->bd->bi_dram[0].size + 0x2000000; 67 67 gd->bd->bi_dram[1].size = top - gd->bd->bi_dram[1].start; 68 68 } 69 69 #else 70 - gd->bd->bi_dram[0].start = CONFIG_SYS_SDRAM_BASE; 70 + gd->bd->bi_dram[0].start = CFG_SYS_SDRAM_BASE; 71 71 gd->bd->bi_dram[0].size = top - gd->bd->bi_dram[0].start; 72 72 #endif 73 73 #endif ··· 207 207 208 208 phys_size_t board_get_usable_ram_top(phys_size_t total_size) 209 209 { 210 - unsigned long top = CONFIG_SYS_SDRAM_BASE + SDRAM_MAX_SIZE; 210 + unsigned long top = CFG_SYS_SDRAM_BASE + SDRAM_MAX_SIZE; 211 211 212 212 return (gd->ram_top > top) ? top : gd->ram_top; 213 213 }
+1 -1
arch/arm/mach-socfpga/board.c
··· 46 46 int board_init(void) 47 47 { 48 48 /* Address of boot parameters for ATAG (if ATAG is used) */ 49 - gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; 49 + gd->bd->bi_boot_params = CFG_SYS_SDRAM_BASE + 0x100; 50 50 51 51 return 0; 52 52 }
+4 -4
arch/arm/mach-sunxi/dram_helpers.c
··· 33 33 bool mctl_mem_matches(u32 offset) 34 34 { 35 35 /* Try to write different values to RAM at two addresses */ 36 - writel(0, CONFIG_SYS_SDRAM_BASE); 37 - writel(0xaa55aa55, (ulong)CONFIG_SYS_SDRAM_BASE + offset); 36 + writel(0, CFG_SYS_SDRAM_BASE); 37 + writel(0xaa55aa55, (ulong)CFG_SYS_SDRAM_BASE + offset); 38 38 dsb(); 39 39 /* Check if the same value is actually observed when reading back */ 40 - return readl(CONFIG_SYS_SDRAM_BASE) == 41 - readl((ulong)CONFIG_SYS_SDRAM_BASE + offset); 40 + return readl(CFG_SYS_SDRAM_BASE) == 41 + readl((ulong)CFG_SYS_SDRAM_BASE + offset); 42 42 } 43 43 #endif
+10 -10
arch/arm/mach-sunxi/dram_suniv.c
··· 175 175 u32 k = 0; 176 176 177 177 for (k = 0; k < 32; k++) 178 - writel(k, CONFIG_SYS_SDRAM_BASE + 4 * k); 178 + writel(k, CFG_SYS_SDRAM_BASE + 4 * k); 179 179 for (k = 0; k < 32; k++) { 180 - if (readl(CONFIG_SYS_SDRAM_BASE + 4 * k) != k) 180 + if (readl(CFG_SYS_SDRAM_BASE + 4 * k) != k) 181 181 return 0; 182 182 } 183 183 return 1; ··· 266 266 dram_para_setup(para); 267 267 dram_scan_readpipe(para); 268 268 for (i = 0; i < 32; i++) { 269 - *((u8 *)(CONFIG_SYS_SDRAM_BASE + 0x200 + i)) = 0x11; 270 - *((u8 *)(CONFIG_SYS_SDRAM_BASE + 0x600 + i)) = 0x22; 269 + *((u8 *)(CFG_SYS_SDRAM_BASE + 0x200 + i)) = 0x11; 270 + *((u8 *)(CFG_SYS_SDRAM_BASE + 0x600 + i)) = 0x22; 271 271 } 272 272 for (i = 0; i < 32; i++) { 273 - val1 = *((u8 *)(CONFIG_SYS_SDRAM_BASE + 0x200 + i)); 273 + val1 = *((u8 *)(CFG_SYS_SDRAM_BASE + 0x200 + i)); 274 274 if (val1 == 0x22) 275 275 count++; 276 276 } ··· 283 283 para->row_width = rowflag; 284 284 dram_para_setup(para); 285 285 if (colflag == 10) { 286 - addr1 = CONFIG_SYS_SDRAM_BASE + 0x400000; 287 - addr2 = CONFIG_SYS_SDRAM_BASE + 0xc00000; 286 + addr1 = CFG_SYS_SDRAM_BASE + 0x400000; 287 + addr2 = CFG_SYS_SDRAM_BASE + 0xc00000; 288 288 } else { 289 - addr1 = CONFIG_SYS_SDRAM_BASE + 0x200000; 290 - addr2 = CONFIG_SYS_SDRAM_BASE + 0x600000; 289 + addr1 = CFG_SYS_SDRAM_BASE + 0x200000; 290 + addr2 = CFG_SYS_SDRAM_BASE + 0x600000; 291 291 } 292 292 for (i = 0; i < 32; i++) { 293 293 *((u8 *)(addr1 + i)) = 0x33; ··· 319 319 320 320 static void simple_dram_check(void) 321 321 { 322 - volatile u32 *dram = (u32 *)CONFIG_SYS_SDRAM_BASE; 322 + volatile u32 *dram = (u32 *)CFG_SYS_SDRAM_BASE; 323 323 int i; 324 324 325 325 for (i = 0; i < 0x40; i++)
+3 -3
arch/arm/mach-sunxi/dram_sunxi_dw.c
··· 711 711 */ 712 712 static void mctl_r40_detect_rank_count(struct dram_para *para) 713 713 { 714 - ulong rank1_base = (ulong) CONFIG_SYS_SDRAM_BASE + 714 + ulong rank1_base = (ulong) CFG_SYS_SDRAM_BASE + 715 715 mctl_calc_rank_size(&para->ranks[0]); 716 716 struct sunxi_mctl_ctl_reg * const mctl_ctl = 717 717 (struct sunxi_mctl_ctl_reg *)SUNXI_DRAM_CTL0_BASE; ··· 744 744 745 745 static void mctl_auto_detect_dram_size(uint16_t socid, struct dram_para *para) 746 746 { 747 - mctl_auto_detect_dram_size_rank(socid, para, (ulong)CONFIG_SYS_SDRAM_BASE, &para->ranks[0]); 747 + mctl_auto_detect_dram_size_rank(socid, para, (ulong)CFG_SYS_SDRAM_BASE, &para->ranks[0]); 748 748 749 749 if ((socid == SOCID_A64 || socid == SOCID_R40) && para->dual_rank) { 750 - mctl_auto_detect_dram_size_rank(socid, para, (ulong)CONFIG_SYS_SDRAM_BASE + mctl_calc_rank_size(&para->ranks[0]), &para->ranks[1]); 750 + mctl_auto_detect_dram_size_rank(socid, para, (ulong)CFG_SYS_SDRAM_BASE + mctl_calc_rank_size(&para->ranks[0]), &para->ranks[1]); 751 751 } 752 752 } 753 753
+2 -2
arch/arm/mach-tegra/board2.c
··· 370 370 371 371 /* fall back to default DRAM bank size computation */ 372 372 373 - gd->bd->bi_dram[0].start = CONFIG_SYS_SDRAM_BASE; 373 + gd->bd->bi_dram[0].start = CFG_SYS_SDRAM_BASE; 374 374 gd->bd->bi_dram[0].size = usable_ram_size_below_4g(); 375 375 376 376 #ifdef CONFIG_PCI ··· 412 412 413 413 /* fall back to default usable RAM computation */ 414 414 415 - return CONFIG_SYS_SDRAM_BASE + usable_ram_size_below_4g(); 415 + return CFG_SYS_SDRAM_BASE + usable_ram_size_below_4g(); 416 416 }
+1 -1
arch/arm/mach-zynq/cpu.c
··· 54 54 writel(0x757BDF0D, &devcfg_base->unlock); 55 55 writel(0xFFFFFFFF, &devcfg_base->rom_shadow); 56 56 57 - #if (CONFIG_SYS_SDRAM_BASE == 0) 57 + #if (CFG_SYS_SDRAM_BASE == 0) 58 58 /* remap DDR to zero, FILTERSTART */ 59 59 writel(0, &scu_base->filter_start); 60 60
+1 -1
arch/m68k/cpu/mcf532x/speed.c
··· 239 239 * software workaround for SDRAM opeartion after exiting LIMP 240 240 * mode errata 241 241 */ 242 - out_be32(sdram_workaround, CONFIG_SYS_SDRAM_BASE); 242 + out_be32(sdram_workaround, CFG_SYS_SDRAM_BASE); 243 243 #endif 244 244 245 245 /* wait for DQS logic to relock */
+2 -2
arch/m68k/include/asm/immap.h
··· 338 338 339 339 #ifdef CONFIG_PCI 340 340 #define CFG_SYS_PCI_BAR0 (0x40000000) 341 - #define CFG_SYS_PCI_BAR1 (CONFIG_SYS_SDRAM_BASE) 341 + #define CFG_SYS_PCI_BAR1 (CFG_SYS_SDRAM_BASE) 342 342 #define CFG_SYS_PCI_TBATR0 (CONFIG_SYS_MBAR) 343 - #define CFG_SYS_PCI_TBATR1 (CONFIG_SYS_SDRAM_BASE) 343 + #define CFG_SYS_PCI_TBATR1 (CFG_SYS_SDRAM_BASE) 344 344 #endif 345 345 #endif /* CONFIG_M547x */ 346 346
+1 -1
arch/m68k/lib/traps.c
··· 62 62 63 63 int arch_initr_trap(void) 64 64 { 65 - trap_init(CONFIG_SYS_SDRAM_BASE); 65 + trap_init(CFG_SYS_SDRAM_BASE); 66 66 67 67 return 0; 68 68 }
+1 -1
arch/mips/lib/traps.c
··· 135 135 136 136 int arch_initr_trap(void) 137 137 { 138 - trap_init(CONFIG_SYS_SDRAM_BASE); 138 + trap_init(CFG_SYS_SDRAM_BASE); 139 139 140 140 return 0; 141 141 }
+1 -1
arch/mips/mach-jz47xx/jz4780/jz4780.c
··· 78 78 79 79 phys_size_t board_get_usable_ram_top(phys_size_t total_size) 80 80 { 81 - return CONFIG_SYS_SDRAM_BASE + (256 * 1024 * 1024); 81 + return CFG_SYS_SDRAM_BASE + (256 * 1024 * 1024); 82 82 } 83 83 84 84 int print_cpuinfo(void)
+4 -4
arch/mips/mach-mscc/cpu.c
··· 17 17 18 18 DECLARE_GLOBAL_DATA_PTR; 19 19 20 - #if CONFIG_SYS_SDRAM_SIZE <= SZ_64M 20 + #if CFG_SYS_SDRAM_SIZE <= SZ_64M 21 21 #define MSCC_RAM_TLB_SIZE SZ_64M 22 22 #define MSCC_ATTRIB2 MMU_REGIO_INVAL 23 - #elif CONFIG_SYS_SDRAM_SIZE <= SZ_128M 23 + #elif CFG_SYS_SDRAM_SIZE <= SZ_128M 24 24 #define MSCC_RAM_TLB_SIZE SZ_64M 25 25 #define MSCC_ATTRIB2 MMU_REGIO_RW 26 - #elif CONFIG_SYS_SDRAM_SIZE <= SZ_256M 26 + #elif CFG_SYS_SDRAM_SIZE <= SZ_256M 27 27 #define MSCC_RAM_TLB_SIZE SZ_256M 28 28 #define MSCC_ATTRIB2 MMU_REGIO_INVAL 29 - #elif CONFIG_SYS_SDRAM_SIZE <= SZ_512M 29 + #elif CFG_SYS_SDRAM_SIZE <= SZ_512M 30 30 #define MSCC_RAM_TLB_SIZE SZ_256M 31 31 #define MSCC_ATTRIB2 MMU_REGIO_RW 32 32 #else
+1 -1
arch/mips/mach-mscc/dram.c
··· 67 67 68 68 int dram_init(void) 69 69 { 70 - gd->ram_size = CONFIG_SYS_SDRAM_SIZE; 70 + gd->ram_size = CFG_SYS_SDRAM_SIZE; 71 71 return 0; 72 72 }
+1 -1
arch/mips/mach-mscc/include/mach/ddr.h
··· 13 13 #include <mach/common.h> 14 14 15 15 #define MIPS_VCOREIII_MEMORY_DDR3 16 - #define MIPS_VCOREIII_DDR_SIZE CONFIG_SYS_SDRAM_SIZE 16 + #define MIPS_VCOREIII_DDR_SIZE CFG_SYS_SDRAM_SIZE 17 17 18 18 #if defined(CONFIG_DDRTYPE_H5TQ1G63BFA) /* Serval1 Refboard */ 19 19
+1 -1
arch/mips/mach-mtmips/mt7621/spl/start.S
··· 18 18 #include "dram.h" 19 19 20 20 #ifndef CONFIG_SYS_INIT_SP_ADDR 21 - #define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_SDRAM_BASE + \ 21 + #define CONFIG_SYS_INIT_SP_ADDR (CFG_SYS_SDRAM_BASE + \ 22 22 CONFIG_SYS_INIT_SP_OFFSET) 23 23 #endif 24 24
+1 -1
arch/mips/mach-octeon/dram.c
··· 81 81 { 82 82 if (IS_ENABLED(CONFIG_RAM_OCTEON)) { 83 83 /* Map a maximum of 256MiB - return not size but address */ 84 - return CONFIG_SYS_SDRAM_BASE + min(gd->ram_size, 84 + return CFG_SYS_SDRAM_BASE + min(gd->ram_size, 85 85 UBOOT_RAM_SIZE_MAX); 86 86 } else { 87 87 return gd->ram_top;
+1 -1
arch/nios2/cpu/cpu.c
··· 73 73 if (ret) 74 74 return ret; 75 75 76 - gd->ram_size = CONFIG_SYS_SDRAM_SIZE; 76 + gd->ram_size = CFG_SYS_SDRAM_SIZE; 77 77 #ifndef CONFIG_ROM_STUBS 78 78 copy_exception_trampoline(); 79 79 #endif
+1 -1
arch/powerpc/cpu/mpc83xx/spd_sdram.c
··· 288 288 /* 289 289 * Set up LAWBAR for all of DDR. 290 290 */ 291 - ecm->bar = CONFIG_SYS_SDRAM_BASE & 0xfffff000; 291 + ecm->bar = CFG_SYS_SDRAM_BASE & 0xfffff000; 292 292 ecm->ar = (LAWAR_EN | LAWAR_TRGT_IF_DDR | (LAWAR_SIZE & law_size)); 293 293 debug("DDR:bar=0x%08x\n", ecm->bar); 294 294 debug("DDR:ar=0x%08x\n", ecm->ar);
+1 -1
arch/powerpc/cpu/mpc85xx/cpu.c
··· 424 424 defined(CONFIG_ARCH_QEMU_E500) 425 425 gd->ram_size = fsl_ddr_sdram_size(); 426 426 #else 427 - gd->ram_size = (phys_size_t)CONFIG_SYS_SDRAM_SIZE * 1024 * 1024; 427 + gd->ram_size = (phys_size_t)CFG_SYS_SDRAM_SIZE * 1024 * 1024; 428 428 #endif 429 429 430 430 return 0;
+1 -1
arch/powerpc/cpu/mpc85xx/mp.c
··· 195 195 /* use last 4K of mapped memory */ 196 196 bootpg = ((gd->ram_size > CONFIG_MAX_MEM_MAPPED) ? 197 197 CONFIG_MAX_MEM_MAPPED : gd->ram_size) + 198 - CONFIG_SYS_SDRAM_BASE - 4096; 198 + CFG_SYS_SDRAM_BASE - 4096; 199 199 if (pagesize) 200 200 *pagesize = 4096; 201 201
+1 -1
arch/powerpc/cpu/mpc8xxx/pamu_table.c
··· 16 16 int j; 17 17 18 18 tbl->start_addr[i] = 19 - (uint64_t)virt_to_phys((void *)CONFIG_SYS_SDRAM_BASE); 19 + (uint64_t)virt_to_phys((void *)CFG_SYS_SDRAM_BASE); 20 20 tbl->size[i] = (phys_size_t)(min(gd->ram_size, CONFIG_MAX_MEM_MAPPED)); 21 21 tbl->end_addr[i] = tbl->start_addr[i] + tbl->size[i] - 1; 22 22
+1 -1
arch/powerpc/lib/bootm.c
··· 126 126 127 127 #ifdef DEBUG 128 128 if (((u64)bootmap_base + bootm_size) > 129 - (CONFIG_SYS_SDRAM_BASE + (u64)gd->ram_size)) 129 + (CFG_SYS_SDRAM_BASE + (u64)gd->ram_size)) 130 130 puts("WARNING: bootm_low + bootm_size exceed total memory\n"); 131 131 if ((bootmap_base + bootm_size) > get_effective_memsize()) 132 132 puts("WARNING: bootm_low + bootm_size exceed eff. memory\n");
+1 -1
arch/sandbox/cpu/state.c
··· 448 448 { 449 449 state = &main_state; 450 450 451 - state->ram_size = CONFIG_SYS_SDRAM_SIZE; 451 + state->ram_size = CFG_SYS_SDRAM_SIZE; 452 452 state->ram_buf = os_malloc(state->ram_size); 453 453 if (!state->ram_buf) { 454 454 printf("Out of memory\n");
+1 -1
arch/sandbox/dts/sandbox.dts
··· 25 25 }; 26 26 27 27 memory { 28 - reg = <0 CONFIG_SYS_SDRAM_SIZE>; 28 + reg = <0 CFG_SYS_SDRAM_SIZE>; 29 29 }; 30 30 31 31 reserved-memory {
+1 -1
arch/sandbox/dts/sandbox64.dts
··· 21 21 }; 22 22 23 23 memory { 24 - reg = /bits/ 64 <0 CONFIG_SYS_SDRAM_SIZE>; 24 + reg = /bits/ 64 <0 CFG_SYS_SDRAM_SIZE>; 25 25 }; 26 26 27 27 reserved-memory {
+1 -1
arch/sh/cpu/u-boot.lds
··· 18 18 19 19 MEMORY 20 20 { 21 - ram : ORIGIN = CONFIG_SYS_SDRAM_BASE, LENGTH = CONFIG_SYS_SDRAM_SIZE 21 + ram : ORIGIN = CFG_SYS_SDRAM_BASE, LENGTH = CFG_SYS_SDRAM_SIZE 22 22 } 23 23 24 24 ENTRY(_start)
+2 -2
arch/sh/lib/board.c
··· 11 11 12 12 int dram_init(void) 13 13 { 14 - gd->ram_size = get_ram_size((long *)CONFIG_SYS_SDRAM_BASE, 15 - CONFIG_SYS_SDRAM_SIZE); 14 + gd->ram_size = get_ram_size((long *)CFG_SYS_SDRAM_BASE, 15 + CFG_SYS_SDRAM_SIZE); 16 16 17 17 return 0; 18 18 }
+1 -1
arch/sh/lib/bootm.c
··· 88 88 set_sh_linux_param((unsigned long)param + ORIG_ROOT_DEV, 0x0200); 89 89 set_sh_linux_param((unsigned long)param + LOADER_TYPE, 0x0001); 90 90 set_sh_linux_param((unsigned long)param + INITRD_START, 91 - GET_INITRD_START(images->rd_start, CONFIG_SYS_SDRAM_BASE)); 91 + GET_INITRD_START(images->rd_start, CFG_SYS_SDRAM_BASE)); 92 92 set_sh_linux_param((unsigned long)param + INITRD_SIZE, 93 93 images->rd_end - images->rd_start); 94 94 }
+1 -1
arch/xtensa/cpu/cpu.c
··· 45 45 46 46 int arch_cpu_init(void) 47 47 { 48 - gd->ram_size = CONFIG_SYS_SDRAM_SIZE; 48 + gd->ram_size = CFG_SYS_SDRAM_SIZE; 49 49 return 0; 50 50 } 51 51
+1 -1
board/BuR/brppt1/board.c
··· 150 150 #if defined(CONFIG_HW_WATCHDOG) 151 151 hw_watchdog_init(); 152 152 #endif 153 - gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; 153 + gd->bd->bi_boot_params = CFG_SYS_SDRAM_BASE + 0x100; 154 154 155 155 return 0; 156 156 }
+10 -10
board/BuS/eb_cpu5282/eb_cpu5282.c
··· 40 40 MCFSDRAMC_DCR = MCFSDRAMC_DCR_RTIM_6 | 41 41 MCFSDRAMC_DCR_RC((15 * CONFIG_SYS_CLK / 1000000) >> 4); 42 42 asm (" nop"); 43 - #ifdef CONFIG_SYS_SDRAM_BASE0 44 - MCFSDRAMC_DACR0 = MCFSDRAMC_DACR_BASE(CONFIG_SYS_SDRAM_BASE0)| 43 + #ifdef CFG_SYS_SDRAM_BASE0 44 + MCFSDRAMC_DACR0 = MCFSDRAMC_DACR_BASE(CFG_SYS_SDRAM_BASE0)| 45 45 MCFSDRAMC_DACR_CASL(1) | MCFSDRAMC_DACR_CBM(3) | 46 46 MCFSDRAMC_DACR_PS_32; 47 47 asm (" nop"); ··· 54 54 for (i = 0; i < 10; i++) 55 55 asm (" nop"); 56 56 57 - *(unsigned long *)(CONFIG_SYS_SDRAM_BASE0) = 0xA5A5A5A5; 57 + *(unsigned long *)(CFG_SYS_SDRAM_BASE0) = 0xA5A5A5A5; 58 58 asm (" nop"); 59 59 MCFSDRAMC_DACR0 |= MCFSDRAMC_DACR_RE; 60 60 asm (" nop"); ··· 65 65 MCFSDRAMC_DACR0 |= MCFSDRAMC_DACR_IMRS; 66 66 asm (" nop"); 67 67 /* write SDRAM mode register */ 68 - *(unsigned long *)(CONFIG_SYS_SDRAM_BASE0 + 0x80440) = 0xA5A5A5A5; 68 + *(unsigned long *)(CFG_SYS_SDRAM_BASE0 + 0x80440) = 0xA5A5A5A5; 69 69 asm (" nop"); 70 - size += CONFIG_SYS_SDRAM_SIZE0 * 1024 * 1024; 70 + size += CFG_SYS_SDRAM_SIZE0 * 1024 * 1024; 71 71 #endif 72 - #ifdef CONFIG_SYS_SDRAM_BASE1xx 73 - MCFSDRAMC_DACR1 = MCFSDRAMC_DACR_BASE (CONFIG_SYS_SDRAM_BASE1) 72 + #ifdef CFG_SYS_SDRAM_BASE1xx 73 + MCFSDRAMC_DACR1 = MCFSDRAMC_DACR_BASE (CFG_SYS_SDRAM_BASE1) 74 74 | MCFSDRAMC_DACR_CASL (1) 75 75 | MCFSDRAMC_DACR_CBM (3) 76 76 | MCFSDRAMC_DACR_PS_16; ··· 79 79 80 80 MCFSDRAMC_DACR1 |= MCFSDRAMC_DACR_IP; 81 81 82 - *(unsigned short *) (CONFIG_SYS_SDRAM_BASE1) = 0xA5A5; 82 + *(unsigned short *) (CFG_SYS_SDRAM_BASE1) = 0xA5A5; 83 83 MCFSDRAMC_DACR1 |= MCFSDRAMC_DACR_RE; 84 84 85 85 for (i = 0; i < 2000; i++) 86 86 asm (" nop"); 87 87 88 88 MCFSDRAMC_DACR1 |= MCFSDRAMC_DACR_IMRS; 89 - *(unsigned int *) (CONFIG_SYS_SDRAM_BASE1 + 0x220) = 0xA5A5; 90 - size += CONFIG_SYS_SDRAM_SIZE1 * 1024 * 1024; 89 + *(unsigned int *) (CFG_SYS_SDRAM_BASE1 + 0x220) = 0xA5A5; 90 + size += CFG_SYS_SDRAM_SIZE1 * 1024 * 1024; 91 91 #endif 92 92 gd->ram_size = size; 93 93
+1 -1
board/CZ.NIC/turris_mox/turris_mox.c
··· 139 139 int board_init(void) 140 140 { 141 141 /* address of boot parameters */ 142 - gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; 142 + gd->bd->bi_boot_params = CFG_SYS_SDRAM_BASE + 0x100; 143 143 144 144 return 0; 145 145 }
+1 -1
board/Marvell/mvebu_alleycat-5/board.c
··· 7 7 8 8 int board_init(void) 9 9 { 10 - gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; 10 + gd->bd->bi_boot_params = CFG_SYS_SDRAM_BASE + 0x100; 11 11 12 12 return 0; 13 13 }
+1 -1
board/Marvell/mvebu_armada-37xx/board.c
··· 80 80 int board_init(void) 81 81 { 82 82 /* adress of boot parameters */ 83 - gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; 83 + gd->bd->bi_boot_params = CFG_SYS_SDRAM_BASE + 0x100; 84 84 85 85 return 0; 86 86 }
+1 -1
board/Marvell/mvebu_armada-8k/board.c
··· 150 150 int board_init(void) 151 151 { 152 152 /* adress of boot parameters */ 153 - gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; 153 + gd->bd->bi_boot_params = CFG_SYS_SDRAM_BASE + 0x100; 154 154 155 155 return 0; 156 156 }
+1 -1
board/Marvell/octeontx/board.c
··· 63 63 int dram_init(void) 64 64 { 65 65 gd->ram_size = smc_dram_size(0); 66 - gd->ram_size -= CONFIG_SYS_SDRAM_BASE; 66 + gd->ram_size -= CFG_SYS_SDRAM_BASE; 67 67 mem_map_fill(); 68 68 69 69 return 0;
+1 -1
board/Marvell/octeontx2/board.c
··· 105 105 int dram_init(void) 106 106 { 107 107 gd->ram_size = smc_dram_size(0); 108 - gd->ram_size -= CONFIG_SYS_SDRAM_BASE; 108 + gd->ram_size -= CFG_SYS_SDRAM_BASE; 109 109 110 110 mem_map_fill(); 111 111
+1 -1
board/Marvell/octeontx2_cn913x/board.c
··· 34 34 int board_init(void) 35 35 { 36 36 /* address of boot parameters */ 37 - gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; 37 + gd->bd->bi_boot_params = CFG_SYS_SDRAM_BASE + 0x100; 38 38 39 39 return 0; 40 40 }
+3 -3
board/armltd/integrator/integrator.c
··· 137 137 138 138 int dram_init (void) 139 139 { 140 - gd->bd->bi_dram[0].start = CONFIG_SYS_SDRAM_BASE; 140 + gd->bd->bi_dram[0].start = CFG_SYS_SDRAM_BASE; 141 141 #ifdef CONFIG_CM_SPD_DETECT 142 142 { 143 143 extern void dram_query(void); ··· 160 160 * 161 161 */ 162 162 sdram_shift = ((cm_reg_sdram & 0x0000001C)/4)%4; 163 - gd->ram_size = get_ram_size((long *) CONFIG_SYS_SDRAM_BASE + 163 + gd->ram_size = get_ram_size((long *) CFG_SYS_SDRAM_BASE + 164 164 REMAPPED_FLASH_SZ, 165 165 0x01000000 << sdram_shift); 166 166 } 167 167 #else 168 - gd->ram_size = get_ram_size((long *) CONFIG_SYS_SDRAM_BASE + 168 + gd->ram_size = get_ram_size((long *) CFG_SYS_SDRAM_BASE + 169 169 REMAPPED_FLASH_SZ, 170 170 PHYS_SDRAM_1_SIZE); 171 171 #endif /* CM_SPD_DETECT */
+1 -1
board/armltd/vexpress/vexpress_common.c
··· 73 73 int dram_init(void) 74 74 { 75 75 gd->ram_size = 76 - get_ram_size((long *)CONFIG_SYS_SDRAM_BASE, PHYS_SDRAM_1_SIZE); 76 + get_ram_size((long *)CFG_SYS_SDRAM_BASE, PHYS_SDRAM_1_SIZE); 77 77 return 0; 78 78 } 79 79
+6 -6
board/astro/mcf5373l/mcf5373l.c
··· 39 39 * GPIO configuration for bus should be set correctly from reset, 40 40 * so we do not care! First, set up address space: at this point, 41 41 * we should be running from internal SRAM; 42 - * so use CONFIG_SYS_SDRAM_BASE as the base address for SDRAM, 42 + * so use CFG_SYS_SDRAM_BASE as the base address for SDRAM, 43 43 * and do not care where it is 44 44 */ 45 - __raw_writel((CONFIG_SYS_SDRAM_BASE & 0xFFF00000) | 0x00000018, 45 + __raw_writel((CFG_SYS_SDRAM_BASE & 0xFFF00000) | 0x00000018, 46 46 &sdp->cs0); 47 - __raw_writel((CONFIG_SYS_SDRAM_BASE & 0xFFF00000) | 0x00000000, 47 + __raw_writel((CFG_SYS_SDRAM_BASE & 0xFFF00000) | 0x00000000, 48 48 &sdp->cs1); 49 49 /* 50 50 * I am not sure from the data sheet, but it seems burst length ··· 72 72 */ 73 73 __raw_writel(0x71462C00, &sdp->ctrl); 74 74 /* Dummy write to start SDRAM */ 75 - writel(0, CONFIG_SYS_SDRAM_BASE); 75 + writel(0, CFG_SYS_SDRAM_BASE); 76 76 #endif 77 77 78 78 /* ··· 82 82 * (Do not rely on the SDCS register(s) being set to 0x00000000 83 83 * during reset as stated in the data sheet.) 84 84 */ 85 - gd->ram_size = get_ram_size((long *)CONFIG_SYS_SDRAM_BASE, 86 - 0x80000000 - CONFIG_SYS_SDRAM_BASE); 85 + gd->ram_size = get_ram_size((long *)CFG_SYS_SDRAM_BASE, 86 + 0x80000000 - CFG_SYS_SDRAM_BASE); 87 87 88 88 return 0; 89 89 }
+3 -3
board/atmel/at91sam9260ek/at91sam9260ek.c
··· 81 81 int board_init(void) 82 82 { 83 83 /* adress of boot parameters */ 84 - gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; 84 + gd->bd->bi_boot_params = CFG_SYS_SDRAM_BASE + 0x100; 85 85 86 86 #ifdef CONFIG_CMD_NAND 87 87 at91sam9260ek_nand_hw_init(); ··· 92 92 int dram_init(void) 93 93 { 94 94 gd->ram_size = get_ram_size( 95 - (void *)CONFIG_SYS_SDRAM_BASE, 96 - CONFIG_SYS_SDRAM_SIZE); 95 + (void *)CFG_SYS_SDRAM_BASE, 96 + CFG_SYS_SDRAM_SIZE); 97 97 return 0; 98 98 } 99 99
+3 -3
board/atmel/at91sam9261ek/at91sam9261ek.c
··· 156 156 gd->bd->bi_arch_number = MACH_TYPE_AT91SAM9261EK; 157 157 #endif 158 158 /* adress of boot parameters */ 159 - gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; 159 + gd->bd->bi_boot_params = CFG_SYS_SDRAM_BASE + 0x100; 160 160 161 161 #ifdef CONFIG_CMD_NAND 162 162 at91sam9261ek_nand_hw_init(); ··· 176 176 177 177 int dram_init(void) 178 178 { 179 - gd->ram_size = get_ram_size((void *)CONFIG_SYS_SDRAM_BASE, 180 - CONFIG_SYS_SDRAM_SIZE); 179 + gd->ram_size = get_ram_size((void *)CFG_SYS_SDRAM_BASE, 180 + CFG_SYS_SDRAM_SIZE); 181 181 182 182 return 0; 183 183 }
+3 -3
board/atmel/at91sam9263ek/at91sam9263ek.c
··· 95 95 /* arch number of AT91SAM9263EK-Board */ 96 96 gd->bd->bi_arch_number = MACH_TYPE_AT91SAM9263EK; 97 97 /* adress of boot parameters */ 98 - gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; 98 + gd->bd->bi_boot_params = CFG_SYS_SDRAM_BASE + 0x100; 99 99 100 100 #ifdef CONFIG_CMD_NAND 101 101 at91sam9263ek_nand_hw_init(); ··· 108 108 109 109 int dram_init(void) 110 110 { 111 - gd->ram_size = get_ram_size((void *)CONFIG_SYS_SDRAM_BASE, 112 - CONFIG_SYS_SDRAM_SIZE); 111 + gd->ram_size = get_ram_size((void *)CFG_SYS_SDRAM_BASE, 112 + CFG_SYS_SDRAM_SIZE); 113 113 114 114 return 0; 115 115 }
+3 -3
board/atmel/at91sam9m10g45ek/at91sam9m10g45ek.c
··· 168 168 gd->bd->bi_arch_number = MACH_TYPE_AT91SAM9M10G45EK; 169 169 170 170 /* adress of boot parameters */ 171 - gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; 171 + gd->bd->bi_boot_params = CFG_SYS_SDRAM_BASE + 0x100; 172 172 173 173 #ifdef CONFIG_CMD_NAND 174 174 at91sam9m10g45ek_nand_hw_init(); ··· 181 181 182 182 int dram_init(void) 183 183 { 184 - gd->ram_size = get_ram_size((void *) CONFIG_SYS_SDRAM_BASE, 185 - CONFIG_SYS_SDRAM_SIZE); 184 + gd->ram_size = get_ram_size((void *) CFG_SYS_SDRAM_BASE, 185 + CFG_SYS_SDRAM_SIZE); 186 186 return 0; 187 187 } 188 188
+3 -3
board/atmel/at91sam9n12ek/at91sam9n12ek.c
··· 99 99 int board_init(void) 100 100 { 101 101 /* adress of boot parameters */ 102 - gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; 102 + gd->bd->bi_boot_params = CFG_SYS_SDRAM_BASE + 0x100; 103 103 104 104 #ifdef CONFIG_NAND_ATMEL 105 105 at91sam9n12ek_nand_hw_init(); ··· 114 114 115 115 int dram_init(void) 116 116 { 117 - gd->ram_size = get_ram_size((void *)CONFIG_SYS_SDRAM_BASE, 118 - CONFIG_SYS_SDRAM_SIZE); 117 + gd->ram_size = get_ram_size((void *)CFG_SYS_SDRAM_BASE, 118 + CFG_SYS_SDRAM_SIZE); 119 119 return 0; 120 120 } 121 121
+3 -3
board/atmel/at91sam9rlek/at91sam9rlek.c
··· 93 93 /* arch number of AT91SAM9RLEK-Board */ 94 94 gd->bd->bi_arch_number = MACH_TYPE_AT91SAM9RLEK; 95 95 /* adress of boot parameters */ 96 - gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; 96 + gd->bd->bi_boot_params = CFG_SYS_SDRAM_BASE + 0x100; 97 97 98 98 #ifdef CONFIG_CMD_NAND 99 99 at91sam9rlek_nand_hw_init(); ··· 104 104 int dram_init(void) 105 105 { 106 106 gd->ram_size = get_ram_size( 107 - (void *)CONFIG_SYS_SDRAM_BASE, 108 - CONFIG_SYS_SDRAM_SIZE); 107 + (void *)CFG_SYS_SDRAM_BASE, 108 + CFG_SYS_SDRAM_SIZE); 109 109 return 0; 110 110 }
+3 -3
board/atmel/at91sam9x5ek/at91sam9x5ek.c
··· 115 115 gd->bd->bi_arch_number = MACH_TYPE_AT91SAM9X5EK; 116 116 117 117 /* adress of boot parameters */ 118 - gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; 118 + gd->bd->bi_boot_params = CFG_SYS_SDRAM_BASE + 0x100; 119 119 120 120 #ifdef CONFIG_CMD_NAND 121 121 at91sam9x5ek_nand_hw_init(); ··· 129 129 130 130 int dram_init(void) 131 131 { 132 - gd->ram_size = get_ram_size((void *) CONFIG_SYS_SDRAM_BASE, 133 - CONFIG_SYS_SDRAM_SIZE); 132 + gd->ram_size = get_ram_size((void *) CFG_SYS_SDRAM_BASE, 133 + CFG_SYS_SDRAM_SIZE); 134 134 return 0; 135 135 } 136 136
+3 -3
board/atmel/sam9x60ek/sam9x60ek.c
··· 120 120 int board_init(void) 121 121 { 122 122 /* address of boot parameters */ 123 - gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; 123 + gd->bd->bi_boot_params = CFG_SYS_SDRAM_BASE + 0x100; 124 124 125 125 #ifdef CONFIG_CMD_NAND 126 126 sam9x60ek_nand_hw_init(); ··· 130 130 131 131 int dram_init(void) 132 132 { 133 - gd->ram_size = get_ram_size((void *)CONFIG_SYS_SDRAM_BASE, 134 - CONFIG_SYS_SDRAM_SIZE); 133 + gd->ram_size = get_ram_size((void *)CFG_SYS_SDRAM_BASE, 134 + CFG_SYS_SDRAM_SIZE); 135 135 return 0; 136 136 }
+3 -3
board/atmel/sama5d27_wlsom1_ek/sama5d27_wlsom1_ek.c
··· 65 65 int board_init(void) 66 66 { 67 67 /* address of boot parameters */ 68 - gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; 68 + gd->bd->bi_boot_params = CFG_SYS_SDRAM_BASE + 0x100; 69 69 70 70 rgb_leds_init(); 71 71 ··· 84 84 85 85 int dram_init(void) 86 86 { 87 - gd->ram_size = get_ram_size((void *)CONFIG_SYS_SDRAM_BASE, 88 - CONFIG_SYS_SDRAM_SIZE); 87 + gd->ram_size = get_ram_size((void *)CFG_SYS_SDRAM_BASE, 88 + CFG_SYS_SDRAM_SIZE); 89 89 return 0; 90 90 } 91 91
+3 -3
board/atmel/sama5d2_icp/sama5d2_icp.c
··· 54 54 int board_init(void) 55 55 { 56 56 /* address of boot parameters */ 57 - gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; 57 + gd->bd->bi_boot_params = CFG_SYS_SDRAM_BASE + 0x100; 58 58 59 59 rgb_leds_init(); 60 60 ··· 63 63 64 64 int dram_init(void) 65 65 { 66 - gd->ram_size = get_ram_size((void *)CONFIG_SYS_SDRAM_BASE, 67 - CONFIG_SYS_SDRAM_SIZE); 66 + gd->ram_size = get_ram_size((void *)CFG_SYS_SDRAM_BASE, 67 + CFG_SYS_SDRAM_SIZE); 68 68 return 0; 69 69 } 70 70
+3 -3
board/atmel/sama5d2_ptc_ek/sama5d2_ptc_ek.c
··· 115 115 int board_init(void) 116 116 { 117 117 /* address of boot parameters */ 118 - gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; 118 + gd->bd->bi_boot_params = CFG_SYS_SDRAM_BASE + 0x100; 119 119 120 120 rgb_leds_init(); 121 121 ··· 130 130 131 131 int dram_init(void) 132 132 { 133 - gd->ram_size = get_ram_size((void *)CONFIG_SYS_SDRAM_BASE, 134 - CONFIG_SYS_SDRAM_SIZE); 133 + gd->ram_size = get_ram_size((void *)CFG_SYS_SDRAM_BASE, 134 + CFG_SYS_SDRAM_SIZE); 135 135 return 0; 136 136 } 137 137
+3 -3
board/atmel/sama5d3_xplained/sama5d3_xplained.c
··· 94 94 int board_init(void) 95 95 { 96 96 /* adress of boot parameters */ 97 - gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; 97 + gd->bd->bi_boot_params = CFG_SYS_SDRAM_BASE + 0x100; 98 98 99 99 #ifdef CONFIG_NAND_ATMEL 100 100 sama5d3_xplained_nand_hw_init(); ··· 110 110 111 111 int dram_init(void) 112 112 { 113 - gd->ram_size = get_ram_size((void *)CONFIG_SYS_SDRAM_BASE, 114 - CONFIG_SYS_SDRAM_SIZE); 113 + gd->ram_size = get_ram_size((void *)CFG_SYS_SDRAM_BASE, 114 + CFG_SYS_SDRAM_SIZE); 115 115 116 116 return 0; 117 117 }
+3 -3
board/atmel/sama5d3xek/sama5d3xek.c
··· 147 147 int board_init(void) 148 148 { 149 149 /* adress of boot parameters */ 150 - gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; 150 + gd->bd->bi_boot_params = CFG_SYS_SDRAM_BASE + 0x100; 151 151 152 152 #ifdef CONFIG_NAND_ATMEL 153 153 sama5d3xek_nand_hw_init(); ··· 166 166 167 167 int dram_init(void) 168 168 { 169 - gd->ram_size = get_ram_size((void *)CONFIG_SYS_SDRAM_BASE, 170 - CONFIG_SYS_SDRAM_SIZE); 169 + gd->ram_size = get_ram_size((void *)CFG_SYS_SDRAM_BASE, 170 + CFG_SYS_SDRAM_SIZE); 171 171 return 0; 172 172 } 173 173
+3 -3
board/atmel/sama5d4_xplained/sama5d4_xplained.c
··· 121 121 int board_init(void) 122 122 { 123 123 /* adress of boot parameters */ 124 - gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; 124 + gd->bd->bi_boot_params = CFG_SYS_SDRAM_BASE + 0x100; 125 125 126 126 #ifdef CONFIG_NAND_ATMEL 127 127 sama5d4_xplained_nand_hw_init(); ··· 135 135 136 136 int dram_init(void) 137 137 { 138 - gd->ram_size = get_ram_size((void *)CONFIG_SYS_SDRAM_BASE, 139 - CONFIG_SYS_SDRAM_SIZE); 138 + gd->ram_size = get_ram_size((void *)CFG_SYS_SDRAM_BASE, 139 + CFG_SYS_SDRAM_SIZE); 140 140 return 0; 141 141 } 142 142
+3 -3
board/atmel/sama5d4ek/sama5d4ek.c
··· 107 107 int board_init(void) 108 108 { 109 109 /* adress of boot parameters */ 110 - gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; 110 + gd->bd->bi_boot_params = CFG_SYS_SDRAM_BASE + 0x100; 111 111 112 112 #ifdef CONFIG_NAND_ATMEL 113 113 sama5d4ek_nand_hw_init(); ··· 121 121 122 122 int dram_init(void) 123 123 { 124 - gd->ram_size = get_ram_size((void *)CONFIG_SYS_SDRAM_BASE, 125 - CONFIG_SYS_SDRAM_SIZE); 124 + gd->ram_size = get_ram_size((void *)CFG_SYS_SDRAM_BASE, 125 + CFG_SYS_SDRAM_SIZE); 126 126 return 0; 127 127 } 128 128
+3 -3
board/atmel/sama7g5ek/sama7g5ek.c
··· 67 67 int board_init(void) 68 68 { 69 69 /* address of boot parameters */ 70 - gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; 70 + gd->bd->bi_boot_params = CFG_SYS_SDRAM_BASE + 0x100; 71 71 72 72 board_leds_init(); 73 73 ··· 76 76 77 77 int dram_init(void) 78 78 { 79 - gd->ram_size = get_ram_size((void *)CONFIG_SYS_SDRAM_BASE, 80 - CONFIG_SYS_SDRAM_SIZE); 79 + gd->ram_size = get_ram_size((void *)CFG_SYS_SDRAM_BASE, 80 + CFG_SYS_SDRAM_SIZE); 81 81 return 0; 82 82 }
+3 -3
board/bluewater/gurnard/gurnard.c
··· 307 307 gd->bd->bi_arch_number = MACH_TYPE_SNAPPER_9260; 308 308 309 309 /* Address of boot parameters */ 310 - gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; 310 + gd->bd->bi_boot_params = CFG_SYS_SDRAM_BASE + 0x100; 311 311 312 312 #ifdef CONFIG_CMD_NAND 313 313 ret = gurnard_nand_hw_init(); ··· 407 407 408 408 int dram_init(void) 409 409 { 410 - gd->ram_size = get_ram_size((void *)CONFIG_SYS_SDRAM_BASE, 411 - CONFIG_SYS_SDRAM_SIZE); 410 + gd->ram_size = get_ram_size((void *)CFG_SYS_SDRAM_BASE, 411 + CFG_SYS_SDRAM_SIZE); 412 412 return 0; 413 413 } 414 414
+1 -1
board/bosch/guardian/board.c
··· 182 182 hw_watchdog_init(); 183 183 #endif 184 184 185 - gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; 185 + gd->bd->bi_boot_params = CFG_SYS_SDRAM_BASE + 0x100; 186 186 187 187 #ifdef CONFIG_MTD_RAW_NAND 188 188 gpmc_init();
+1 -1
board/bosch/shc/board.c
··· 449 449 if (read_eeprom() < 0) 450 450 puts("EEPROM Content Invalid.\n"); 451 451 452 - gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; 452 + gd->bd->bi_boot_params = CFG_SYS_SDRAM_BASE + 0x100; 453 453 #if defined(CONFIG_NOR) || defined(CONFIG_MTD_RAW_NAND) 454 454 gpmc_init(); 455 455 #endif
+4 -4
board/broadcom/bcm_ep/board.c
··· 26 26 * Address of boot parameters passed to kernel 27 27 * Use default offset 0x100 28 28 */ 29 - gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; 29 + gd->bd->bi_boot_params = CFG_SYS_SDRAM_BASE + 0x100; 30 30 31 31 return 0; 32 32 } ··· 36 36 */ 37 37 int dram_init(void) 38 38 { 39 - gd->ram_size = get_ram_size((long *)CONFIG_SYS_SDRAM_BASE, 40 - CONFIG_SYS_SDRAM_SIZE); 39 + gd->ram_size = get_ram_size((long *)CFG_SYS_SDRAM_BASE, 40 + CFG_SYS_SDRAM_SIZE); 41 41 return 0; 42 42 } 43 43 44 44 int dram_init_banksize(void) 45 45 { 46 - gd->bd->bi_dram[0].start = CONFIG_SYS_SDRAM_BASE; 46 + gd->bd->bi_dram[0].start = CFG_SYS_SDRAM_BASE; 47 47 gd->bd->bi_dram[0].size = gd->ram_size; 48 48 49 49 return 0;
+3 -3
board/calao/usb_a9263/usb_a9263.c
··· 95 95 int board_init(void) 96 96 { 97 97 /* adress of boot parameters */ 98 - gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; 98 + gd->bd->bi_boot_params = CFG_SYS_SDRAM_BASE + 0x100; 99 99 100 100 #ifdef CONFIG_CMD_NAND 101 101 usb_a9263_nand_hw_init(); ··· 111 111 112 112 int dram_init(void) 113 113 { 114 - gd->ram_size = get_ram_size((void *)CONFIG_SYS_SDRAM_BASE, 115 - CONFIG_SYS_SDRAM_SIZE); 114 + gd->ram_size = get_ram_size((void *)CFG_SYS_SDRAM_BASE, 115 + CFG_SYS_SDRAM_SIZE); 116 116 return 0; 117 117 } 118 118
+1 -1
board/cobra5272/cobra5272.c
··· 28 28 /* Dummy write to start SDRAM */ 29 29 *((volatile unsigned long *) 0) = 0; 30 30 31 - gd->ram_size = CONFIG_SYS_SDRAM_SIZE * 1024 * 1024; 31 + gd->ram_size = CFG_SYS_SDRAM_SIZE * 1024 * 1024; 32 32 33 33 return 0; 34 34 };
+1 -1
board/compulab/cm_t43/cm_t43.c
··· 45 45 46 46 int board_init(void) 47 47 { 48 - gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; 48 + gd->bd->bi_boot_params = CFG_SYS_SDRAM_BASE + 0x100; 49 49 gpmc_init(); 50 50 set_i2c_pin_mux(); 51 51 i2c_init(CONFIG_SYS_I2C_SPEED, CONFIG_SYS_I2C_SLAVE);
+2 -2
board/compulab/cm_t43/spl.c
··· 119 119 unsigned long ram_size; 120 120 121 121 config_ddr(0, &ioregs_ddr3, NULL, NULL, &ddr3_emif_regs, 0); 122 - ram_size = get_ram_size((long int *)CONFIG_SYS_SDRAM_BASE, 0x80000000); 122 + ram_size = get_ram_size((long int *)CFG_SYS_SDRAM_BASE, 0x80000000); 123 123 if (ram_size == 0x80000000 || 124 124 ram_size == 0x40000000 || 125 125 ram_size == 0x20000000) ··· 127 127 128 128 ddr3_emif_regs.sdram_config = 0x638453B2; 129 129 config_ddr(0, &ioregs_ddr3, NULL, NULL, &ddr3_emif_regs, 0); 130 - ram_size = get_ram_size((long int *)CONFIG_SYS_SDRAM_BASE, 0x80000000); 130 + ram_size = get_ram_size((long int *)CFG_SYS_SDRAM_BASE, 0x80000000); 131 131 if (ram_size == 0x08000000) 132 132 return; 133 133
+1 -1
board/cssi/MCR3000/MCR3000.c
··· 114 114 out_be32(&memctl->memc_mcr, 0x80002038); 115 115 udelay(200); 116 116 117 - gd->ram_size = get_ram_size((long *)CONFIG_SYS_SDRAM_BASE, 117 + gd->ram_size = get_ram_size((long *)CFG_SYS_SDRAM_BASE, 118 118 SDRAM_MAX_SIZE); 119 119 120 120 return 0;
+2 -2
board/ea/ea-lpc3250devkitv2/ea-lpc3250devkitv2.c
··· 29 29 int 30 30 board_init(void) 31 31 { 32 - gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x2000; 32 + gd->bd->bi_boot_params = CFG_SYS_SDRAM_BASE + 0x2000; 33 33 return 0; 34 34 } 35 35 36 36 int 37 37 dram_init(void) 38 38 { 39 - gd->ram_size = get_ram_size((void *)CONFIG_SYS_SDRAM_BASE, SZ_64M); 39 + gd->ram_size = get_ram_size((void *)CFG_SYS_SDRAM_BASE, SZ_64M); 40 40 return 0; 41 41 }
+1 -1
board/eets/pdu001/board.c
··· 286 286 hw_watchdog_init(); 287 287 #endif 288 288 289 - gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; 289 + gd->bd->bi_boot_params = CFG_SYS_SDRAM_BASE + 0x100; 290 290 return 0; 291 291 } 292 292
+3 -3
board/egnite/ethernut5/ethernut5.c
··· 85 85 int dram_init(void) 86 86 { 87 87 gd->ram_size = get_ram_size( 88 - (void *)CONFIG_SYS_SDRAM_BASE, 89 - CONFIG_SYS_SDRAM_SIZE); 88 + (void *)CFG_SYS_SDRAM_BASE, 89 + CFG_SYS_SDRAM_SIZE); 90 90 return 0; 91 91 } 92 92 ··· 135 135 at91_periph_clk_enable(ATMEL_ID_PIOC); 136 136 137 137 /* Set adress of boot parameters. */ 138 - gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; 138 + gd->bd->bi_boot_params = CFG_SYS_SDRAM_BASE + 0x100; 139 139 /* Initialize UARTs and power management. */ 140 140 ethernut5_power_init(); 141 141 #ifdef CONFIG_CMD_NAND
+1 -1
board/emulation/qemu-arm/qemu-arm.c
··· 126 126 { 127 127 *err = 0; 128 128 /* QEMU loads a generated DTB for us at the start of RAM. */ 129 - return (void *)CONFIG_SYS_SDRAM_BASE; 129 + return (void *)CFG_SYS_SDRAM_BASE; 130 130 } 131 131 132 132 void enable_caches(void)
+1 -1
board/esd/meesc/meesc.c
··· 264 264 meesc_ethercat_hw_init(); 265 265 266 266 /* adress of boot parameters */ 267 - gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; 267 + gd->bd->bi_boot_params = CFG_SYS_SDRAM_BASE + 0x100; 268 268 269 269 #ifdef CONFIG_CMD_NAND 270 270 meesc_nand_hw_init();
+1 -1
board/freescale/common/arm_sleep.c
··· 61 61 62 62 /* get the address of ddr date from SPARECR3 */ 63 63 src = (u64 *)in_le32(&scfg->sparecr[2]); 64 - dst = (u64 *)CONFIG_SYS_SDRAM_BASE; 64 + dst = (u64 *)CFG_SYS_SDRAM_BASE; 65 65 66 66 for (i = 0; i < DDR_BUFF_LEN / 8; i++) 67 67 *dst++ = *src++;
+1 -1
board/freescale/common/mpc85xx_sleep.c
··· 50 50 51 51 /* get the address of ddr date from SPARECR3 */ 52 52 src = (u64 *)(in_be32(&scfg->sparecr[2]) + DDR_BUFF_LEN - 8); 53 - dst = (u64 *)(CONFIG_SYS_SDRAM_BASE + DDR_BUFF_LEN - 8); 53 + dst = (u64 *)(CFG_SYS_SDRAM_BASE + DDR_BUFF_LEN - 8); 54 54 55 55 for (i = 0; i < DDR_BUFF_LEN / 8; i++) 56 56 *dst-- = *src--;
+2 -2
board/freescale/ls1012afrdm/ls1012afrdm.c
··· 102 102 else 103 103 gd->ram_size = SYS_SDRAM_SIZE_512; 104 104 #else 105 - gd->ram_size = CONFIG_SYS_SDRAM_SIZE; 105 + gd->ram_size = CFG_SYS_SDRAM_SIZE; 106 106 #endif 107 107 } 108 108 return 0; ··· 139 139 gd->ram_size = SYS_SDRAM_SIZE_512; 140 140 } 141 141 #else 142 - gd->ram_size = CONFIG_SYS_SDRAM_SIZE; 142 + gd->ram_size = CFG_SYS_SDRAM_SIZE; 143 143 #endif 144 144 mmdc_init(&mparam); 145 145
+2 -2
board/freescale/ls1012aqds/ls1012aqds.c
··· 66 66 { 67 67 gd->ram_size = tfa_get_dram_size(); 68 68 if (!gd->ram_size) 69 - gd->ram_size = CONFIG_SYS_SDRAM_SIZE; 69 + gd->ram_size = CFG_SYS_SDRAM_SIZE; 70 70 71 71 return 0; 72 72 } ··· 90 90 }; 91 91 92 92 mmdc_init(&mparam); 93 - gd->ram_size = CONFIG_SYS_SDRAM_SIZE; 93 + gd->ram_size = CFG_SYS_SDRAM_SIZE; 94 94 #if !defined(CONFIG_SPL) || defined(CONFIG_SPL_BUILD) 95 95 /* This will break-before-make MMU for DDR */ 96 96 update_early_mmu_table();
+2 -2
board/freescale/ls1012ardb/ls1012ardb.c
··· 113 113 { 114 114 gd->ram_size = tfa_get_dram_size(); 115 115 if (!gd->ram_size) 116 - gd->ram_size = CONFIG_SYS_SDRAM_SIZE; 116 + gd->ram_size = CFG_SYS_SDRAM_SIZE; 117 117 118 118 return 0; 119 119 } ··· 140 140 mmdc_init(&mparam); 141 141 #endif 142 142 143 - gd->ram_size = CONFIG_SYS_SDRAM_SIZE; 143 + gd->ram_size = CFG_SYS_SDRAM_SIZE; 144 144 #if !defined(CONFIG_SPL) || defined(CONFIG_SPL_BUILD) 145 145 /* This will break-before-make MMU for DDR */ 146 146 update_early_mmu_table();
+1 -1
board/freescale/ls1021aqds/ddr.c
··· 192 192 193 193 int dram_init_banksize(void) 194 194 { 195 - gd->bd->bi_dram[0].start = CONFIG_SYS_SDRAM_BASE; 195 + gd->bd->bi_dram[0].start = CFG_SYS_SDRAM_BASE; 196 196 gd->bd->bi_dram[0].size = gd->ram_size; 197 197 198 198 return 0;
+1 -1
board/freescale/ls1021atsn/ls1021atsn.c
··· 47 47 if (is_warm_boot()) { 48 48 out_be32(&ddr->sdram_cfg_2, 49 49 DDR_SDRAM_CFG_2 & ~SDRAM_CFG2_D_INIT); 50 - out_be32(&ddr->init_addr, CONFIG_SYS_SDRAM_BASE); 50 + out_be32(&ddr->init_addr, CFG_SYS_SDRAM_BASE); 51 51 out_be32(&ddr->init_ext_addr, (1 << 31)); 52 52 53 53 /* DRAM VRef will not be trained */
+1 -1
board/freescale/ls1021atwr/ls1021atwr.c
··· 162 162 if (is_warm_boot()) { 163 163 out_be32(&ddr->sdram_cfg_2, 164 164 DDR_SDRAM_CFG_2 & ~SDRAM_CFG2_D_INIT); 165 - out_be32(&ddr->init_addr, CONFIG_SYS_SDRAM_BASE); 165 + out_be32(&ddr->init_addr, CFG_SYS_SDRAM_BASE); 166 166 out_be32(&ddr->init_ext_addr, (1 << 31)); 167 167 168 168 /* DRAM VRef will not be trained */
+13 -13
board/freescale/m5208evbe/m5208evbe.c
··· 29 29 sdram_t *sdram = (sdram_t *)(MMAP_SDRAM); 30 30 u32 dramsize, i; 31 31 32 - dramsize = CONFIG_SYS_SDRAM_SIZE * 0x100000; 32 + dramsize = CFG_SYS_SDRAM_SIZE * 0x100000; 33 33 34 34 for (i = 0x13; i < 0x20; i++) { 35 35 if (dramsize == (1 << i)) ··· 37 37 } 38 38 i--; 39 39 40 - out_be32(&sdram->cs0, CONFIG_SYS_SDRAM_BASE | i); 41 - #ifdef CONFIG_SYS_SDRAM_BASE1 42 - out_be32(&sdram->cs1, CONFIG_SYS_SDRAM_BASE | i); 40 + out_be32(&sdram->cs0, CFG_SYS_SDRAM_BASE | i); 41 + #ifdef CFG_SYS_SDRAM_BASE1 42 + out_be32(&sdram->cs1, CFG_SYS_SDRAM_BASE | i); 43 43 #endif 44 - out_be32(&sdram->cfg1, CONFIG_SYS_SDRAM_CFG1); 45 - out_be32(&sdram->cfg2, CONFIG_SYS_SDRAM_CFG2); 44 + out_be32(&sdram->cfg1, CFG_SYS_SDRAM_CFG1); 45 + out_be32(&sdram->cfg2, CFG_SYS_SDRAM_CFG2); 46 46 47 47 udelay(500); 48 48 49 49 /* Issue PALL */ 50 - out_be32(&sdram->ctrl, CONFIG_SYS_SDRAM_CTRL | 2); 50 + out_be32(&sdram->ctrl, CFG_SYS_SDRAM_CTRL | 2); 51 51 asm("nop"); 52 52 53 53 /* Perform two refresh cycles */ 54 - out_be32(&sdram->ctrl, CONFIG_SYS_SDRAM_CTRL | 4); 55 - out_be32(&sdram->ctrl, CONFIG_SYS_SDRAM_CTRL | 4); 54 + out_be32(&sdram->ctrl, CFG_SYS_SDRAM_CTRL | 4); 55 + out_be32(&sdram->ctrl, CFG_SYS_SDRAM_CTRL | 4); 56 56 asm("nop"); 57 57 58 58 /* Issue LEMR */ 59 - out_be32(&sdram->mode, CONFIG_SYS_SDRAM_MODE); 59 + out_be32(&sdram->mode, CFG_SYS_SDRAM_MODE); 60 60 asm("nop"); 61 - out_be32(&sdram->mode, CONFIG_SYS_SDRAM_EMOD); 61 + out_be32(&sdram->mode, CFG_SYS_SDRAM_EMOD); 62 62 asm("nop"); 63 63 64 - out_be32(&sdram->ctrl, CONFIG_SYS_SDRAM_CTRL | 2); 64 + out_be32(&sdram->ctrl, CFG_SYS_SDRAM_CTRL | 2); 65 65 asm("nop"); 66 66 67 67 out_be32(&sdram->ctrl, 68 - (CONFIG_SYS_SDRAM_CTRL & ~0x80000000) | 0x10000F00); 68 + (CFG_SYS_SDRAM_CTRL & ~0x80000000) | 0x10000F00); 69 69 asm("nop"); 70 70 71 71 udelay(100);
+4 -4
board/freescale/m5235evb/m5235evb.c
··· 44 44 GPIO_PAR_SDRAM_SRAS | GPIO_PAR_SDRAM_SCKE | 45 45 GPIO_PAR_SDRAM_SDCS(3)); 46 46 47 - dramsize = CONFIG_SYS_SDRAM_SIZE * 0x100000; 47 + dramsize = CFG_SYS_SDRAM_SIZE * 0x100000; 48 48 for (i = 0x13; i < 0x20; i++) { 49 49 if (dramsize == (1 << i)) 50 50 break; ··· 61 61 62 62 /* Initialize DACR0 */ 63 63 out_be32(&sdram->dacr0, 64 - SDRAMC_DARCn_BA(CONFIG_SYS_SDRAM_BASE) | 64 + SDRAMC_DARCn_BA(CFG_SYS_SDRAM_BASE) | 65 65 SDRAMC_DARCn_CASL_C1 | SDRAMC_DARCn_CBM_CMD20 | 66 66 SDRAMC_DARCn_PS_32); 67 67 asm("nop"); ··· 80 80 } 81 81 82 82 /* Write to this block to initiate precharge */ 83 - *(u32 *) (CONFIG_SYS_SDRAM_BASE) = 0xA5A59696; 83 + *(u32 *) (CFG_SYS_SDRAM_BASE) = 0xA5A59696; 84 84 85 85 /* Set RE (bit 15) in DACR */ 86 86 setbits_be32(&sdram->dacr0, SDRAMC_DARCn_RE); ··· 95 95 asm("nop"); 96 96 97 97 /* Write to the SDRAM Mode Register */ 98 - *(u32 *) (CONFIG_SYS_SDRAM_BASE + 0x400) = 0xA5A59696; 98 + *(u32 *) (CFG_SYS_SDRAM_BASE + 0x400) = 0xA5A59696; 99 99 } 100 100 101 101 gd->ram_size = dramsize;
+1 -1
board/freescale/m5249evb/m5249evb.c
··· 86 86 mbar_writeLong(MCFSIM_DACR0, 0x0000b364); /* Enable DACR0[IMRS] (bit 6); RE remains enabled */ 87 87 *((volatile unsigned long *) 0x800) = junk; /* Access RAM to initialize the mode register */ 88 88 89 - gd->ram_size = CONFIG_SYS_SDRAM_SIZE * 1024 * 1024; 89 + gd->ram_size = CFG_SYS_SDRAM_SIZE * 1024 * 1024; 90 90 91 91 return 0; 92 92 };
+3 -3
board/freescale/m5253demo/m5253demo.c
··· 47 47 __asm__("nop"); 48 48 49 49 /* Initialize DMR0 */ 50 - dramsize = (CONFIG_SYS_SDRAM_SIZE << 20); 50 + dramsize = (CFG_SYS_SDRAM_SIZE << 20); 51 51 temp = (dramsize - 1) & 0xFFFC0000; 52 52 mbar_writeLong(MCFSIM_DMR0, temp | 1); 53 53 __asm__("nop"); ··· 57 57 __asm__("nop"); 58 58 59 59 /* Write to this block to initiate precharge */ 60 - *(u32 *) (CONFIG_SYS_SDRAM_BASE) = 0xa5a5a5a5; 60 + *(u32 *) (CFG_SYS_SDRAM_BASE) = 0xa5a5a5a5; 61 61 mb(); 62 62 __asm__("nop"); 63 63 ··· 74 74 mbar_readLong(MCFSIM_DACR0) | 0x0040); 75 75 __asm__("nop"); 76 76 77 - *(u32 *) (CONFIG_SYS_SDRAM_BASE + 0x800) = 0xa5a5a5a5; 77 + *(u32 *) (CFG_SYS_SDRAM_BASE + 0x800) = 0xa5a5a5a5; 78 78 mb(); 79 79 } 80 80
+1 -1
board/freescale/m5272c3/m5272c3.c
··· 30 30 /* Dummy write to start SDRAM */ 31 31 *((volatile unsigned long *)0) = 0; 32 32 33 - gd->ram_size = CONFIG_SYS_SDRAM_SIZE * 1024 * 1024; 33 + gd->ram_size = CFG_SYS_SDRAM_SIZE * 1024 * 1024; 34 34 35 35 return 0; 36 36 };
+9 -9
board/freescale/m5275evb/m5275evb.c
··· 35 35 out_be16(&gpio_reg->par_sdram, 0x3FF); 36 36 37 37 /* Set up chip select */ 38 - out_be32(&sdp->sdbar0, CONFIG_SYS_SDRAM_BASE); 38 + out_be32(&sdp->sdbar0, CFG_SYS_SDRAM_BASE); 39 39 out_be32(&sdp->sdbmr0, MCF_SDRAMC_SDMRn_BAM_32M | MCF_SDRAMC_SDMRn_V); 40 40 41 41 /* Set up timing */ ··· 49 49 setbits_be32(&sdp->sdcr, MCF_SDRAMC_SDCR_IPALL); 50 50 51 51 /* Dummy write to start SDRAM */ 52 - *((volatile unsigned long *)CONFIG_SYS_SDRAM_BASE) = 0xa5a59696; 52 + *((volatile unsigned long *)CFG_SYS_SDRAM_BASE) = 0xa5a59696; 53 53 54 54 /* Send LEMR */ 55 55 setbits_be32(&sdp->sdmr, 56 56 MCF_SDRAMC_SDMR_BNKAD_LEMR | MCF_SDRAMC_SDMR_AD(0x0) | 57 57 MCF_SDRAMC_SDMR_CMD); 58 - *((volatile unsigned long *)CONFIG_SYS_SDRAM_BASE) = 0xa5a59696; 58 + *((volatile unsigned long *)CFG_SYS_SDRAM_BASE) = 0xa5a59696; 59 59 60 60 /* Send LMR */ 61 61 out_be32(&sdp->sdmr, 0x058d0000); 62 - *((volatile unsigned long *)CONFIG_SYS_SDRAM_BASE) = 0xa5a59696; 62 + *((volatile unsigned long *)CFG_SYS_SDRAM_BASE) = 0xa5a59696; 63 63 64 64 /* Stop sending commands */ 65 65 clrbits_be32(&sdp->sdmr, MCF_SDRAMC_SDMR_CMD); 66 66 67 67 /* Set precharge */ 68 68 setbits_be32(&sdp->sdcr, MCF_SDRAMC_SDCR_IPALL); 69 - *((volatile unsigned long *)CONFIG_SYS_SDRAM_BASE) = 0xa5a59696; 69 + *((volatile unsigned long *)CFG_SYS_SDRAM_BASE) = 0xa5a59696; 70 70 71 71 /* Stop manual precharge, send 2 IREF */ 72 72 clrbits_be32(&sdp->sdcr, MCF_SDRAMC_SDCR_IPALL); 73 73 setbits_be32(&sdp->sdcr, MCF_SDRAMC_SDCR_IREF); 74 - *((volatile unsigned long *)CONFIG_SYS_SDRAM_BASE) = 0xa5a59696; 75 - *((volatile unsigned long *)CONFIG_SYS_SDRAM_BASE) = 0xa5a59696; 74 + *((volatile unsigned long *)CFG_SYS_SDRAM_BASE) = 0xa5a59696; 75 + *((volatile unsigned long *)CFG_SYS_SDRAM_BASE) = 0xa5a59696; 76 76 77 77 78 78 out_be32(&sdp->sdmr, 0x018d0000); 79 - *((volatile unsigned long *)CONFIG_SYS_SDRAM_BASE) = 0xa5a59696; 79 + *((volatile unsigned long *)CFG_SYS_SDRAM_BASE) = 0xa5a59696; 80 80 81 81 /* Stop sending commands */ 82 82 clrbits_be32(&sdp->sdmr, MCF_SDRAMC_SDMR_CMD); ··· 91 91 | MCF_SDRAMC_SDCR_RCNT((SDRAM_TREFI/(PERIOD*64)) - 1 + 1) 92 92 | MCF_SDRAMC_SDCR_DQS_OE(0x3)); 93 93 94 - gd->ram_size = CONFIG_SYS_SDRAM_SIZE * 1024 * 1024; 94 + gd->ram_size = CFG_SYS_SDRAM_SIZE * 1024 * 1024; 95 95 96 96 return 0; 97 97 };
+4 -4
board/freescale/m5282evb/m5282evb.c
··· 21 21 { 22 22 u32 dramsize, i, dramclk; 23 23 24 - dramsize = CONFIG_SYS_SDRAM_SIZE * 0x100000; 24 + dramsize = CFG_SYS_SDRAM_SIZE * 0x100000; 25 25 for (i = 0x13; i < 0x20; i++) { 26 26 if (dramsize == (1 << i)) 27 27 break; ··· 40 40 41 41 /* Initialize DACR0 */ 42 42 MCFSDRAMC_DACR0 = (0 43 - | MCFSDRAMC_DACR_BASE(CONFIG_SYS_SDRAM_BASE) 43 + | MCFSDRAMC_DACR_BASE(CFG_SYS_SDRAM_BASE) 44 44 | MCFSDRAMC_DACR_CASL(1) 45 45 | MCFSDRAMC_DACR_CBM(3) 46 46 | MCFSDRAMC_DACR_PS_32); ··· 62 62 } 63 63 64 64 /* Write to this block to initiate precharge */ 65 - *(u32 *)(CONFIG_SYS_SDRAM_BASE) = 0xA5A59696; 65 + *(u32 *)(CFG_SYS_SDRAM_BASE) = 0xA5A59696; 66 66 asm("nop"); 67 67 68 68 /* Set RE (bit 15) in DACR */ ··· 79 79 asm("nop"); 80 80 81 81 /* Write to the SDRAM Mode Register */ 82 - *(u32 *)(CONFIG_SYS_SDRAM_BASE + 0x400) = 0xA5A59696; 82 + *(u32 *)(CFG_SYS_SDRAM_BASE + 0x400) = 0xA5A59696; 83 83 } 84 84 gd->ram_size = dramsize; 85 85
+1 -1
board/freescale/m53017evb/README
··· 106 106 CONFIG_SYS_CSn_MASK -- defines the Chip Select Mask register 107 107 CONFIG_SYS_CSn_CTRL -- defines the Chip Select Control register 108 108 109 - CONFIG_SYS_SDRAM_BASE -- defines the DRAM Base 109 + CFG_SYS_SDRAM_BASE -- defines the DRAM Base 110 110 111 111 2. MEMORY MAP UNDER U-BOOT AND LINUX KERNEL 112 112 ===========================================
+13 -13
board/freescale/m53017evb/m53017evb.c
··· 29 29 sdram_t *sdram = (sdram_t *)(MMAP_SDRAM); 30 30 u32 dramsize, i; 31 31 32 - dramsize = CONFIG_SYS_SDRAM_SIZE * 0x100000; 32 + dramsize = CFG_SYS_SDRAM_SIZE * 0x100000; 33 33 34 34 for (i = 0x13; i < 0x20; i++) { 35 35 if (dramsize == (1 << i)) ··· 37 37 } 38 38 i--; 39 39 40 - out_be32(&sdram->cs0, CONFIG_SYS_SDRAM_BASE | i); 41 - #ifdef CONFIG_SYS_SDRAM_BASE1 42 - out_be32(&sdram->cs1, CONFIG_SYS_SDRAM_BASE | i); 40 + out_be32(&sdram->cs0, CFG_SYS_SDRAM_BASE | i); 41 + #ifdef CFG_SYS_SDRAM_BASE1 42 + out_be32(&sdram->cs1, CFG_SYS_SDRAM_BASE | i); 43 43 #endif 44 - out_be32(&sdram->cfg1, CONFIG_SYS_SDRAM_CFG1); 45 - out_be32(&sdram->cfg2, CONFIG_SYS_SDRAM_CFG2); 44 + out_be32(&sdram->cfg1, CFG_SYS_SDRAM_CFG1); 45 + out_be32(&sdram->cfg2, CFG_SYS_SDRAM_CFG2); 46 46 47 47 udelay(500); 48 48 49 49 /* Issue PALL */ 50 - out_be32(&sdram->ctrl, CONFIG_SYS_SDRAM_CTRL | 2); 50 + out_be32(&sdram->ctrl, CFG_SYS_SDRAM_CTRL | 2); 51 51 asm("nop"); 52 52 53 53 /* Perform two refresh cycles */ 54 - out_be32(&sdram->ctrl, CONFIG_SYS_SDRAM_CTRL | 4); 55 - out_be32(&sdram->ctrl, CONFIG_SYS_SDRAM_CTRL | 4); 54 + out_be32(&sdram->ctrl, CFG_SYS_SDRAM_CTRL | 4); 55 + out_be32(&sdram->ctrl, CFG_SYS_SDRAM_CTRL | 4); 56 56 asm("nop"); 57 57 58 58 /* Issue LEMR */ 59 - out_be32(&sdram->mode, CONFIG_SYS_SDRAM_MODE); 59 + out_be32(&sdram->mode, CFG_SYS_SDRAM_MODE); 60 60 asm("nop"); 61 - out_be32(&sdram->mode, CONFIG_SYS_SDRAM_EMOD); 61 + out_be32(&sdram->mode, CFG_SYS_SDRAM_EMOD); 62 62 asm("nop"); 63 63 64 - out_be32(&sdram->ctrl, CONFIG_SYS_SDRAM_CTRL | 2); 64 + out_be32(&sdram->ctrl, CFG_SYS_SDRAM_CTRL | 2); 65 65 asm("nop"); 66 66 67 67 out_be32(&sdram->ctrl, 68 - (CONFIG_SYS_SDRAM_CTRL & ~0x80000000) | 0x10000c00); 68 + (CFG_SYS_SDRAM_CTRL & ~0x80000000) | 0x10000c00); 69 69 asm("nop"); 70 70 71 71 udelay(100);
+12 -12
board/freescale/m5329evb/m5329evb.c
··· 29 29 sdram_t *sdram = (sdram_t *)(MMAP_SDRAM); 30 30 u32 dramsize, i; 31 31 32 - dramsize = CONFIG_SYS_SDRAM_SIZE * 0x100000; 32 + dramsize = CFG_SYS_SDRAM_SIZE * 0x100000; 33 33 34 34 for (i = 0x13; i < 0x20; i++) { 35 35 if (dramsize == (1 << i)) ··· 37 37 } 38 38 i--; 39 39 40 - out_be32(&sdram->cs0, CONFIG_SYS_SDRAM_BASE | i); 41 - out_be32(&sdram->cfg1, CONFIG_SYS_SDRAM_CFG1); 42 - out_be32(&sdram->cfg2, CONFIG_SYS_SDRAM_CFG2); 40 + out_be32(&sdram->cs0, CFG_SYS_SDRAM_BASE | i); 41 + out_be32(&sdram->cfg1, CFG_SYS_SDRAM_CFG1); 42 + out_be32(&sdram->cfg2, CFG_SYS_SDRAM_CFG2); 43 43 44 44 /* Issue PALL */ 45 - out_be32(&sdram->ctrl, CONFIG_SYS_SDRAM_CTRL | 2); 45 + out_be32(&sdram->ctrl, CFG_SYS_SDRAM_CTRL | 2); 46 46 47 47 /* Issue LEMR */ 48 - out_be32(&sdram->mode, CONFIG_SYS_SDRAM_EMOD); 49 - out_be32(&sdram->mode, CONFIG_SYS_SDRAM_MODE | 0x04000000); 48 + out_be32(&sdram->mode, CFG_SYS_SDRAM_EMOD); 49 + out_be32(&sdram->mode, CFG_SYS_SDRAM_MODE | 0x04000000); 50 50 51 51 udelay(500); 52 52 53 53 /* Issue PALL */ 54 - out_be32(&sdram->ctrl, CONFIG_SYS_SDRAM_CTRL | 2); 54 + out_be32(&sdram->ctrl, CFG_SYS_SDRAM_CTRL | 2); 55 55 56 56 /* Perform two refresh cycles */ 57 - out_be32(&sdram->ctrl, CONFIG_SYS_SDRAM_CTRL | 4); 58 - out_be32(&sdram->ctrl, CONFIG_SYS_SDRAM_CTRL | 4); 57 + out_be32(&sdram->ctrl, CFG_SYS_SDRAM_CTRL | 4); 58 + out_be32(&sdram->ctrl, CFG_SYS_SDRAM_CTRL | 4); 59 59 60 - out_be32(&sdram->mode, CONFIG_SYS_SDRAM_MODE); 60 + out_be32(&sdram->mode, CFG_SYS_SDRAM_MODE); 61 61 62 62 out_be32(&sdram->ctrl, 63 - (CONFIG_SYS_SDRAM_CTRL & ~0x80000000) | 0x10000c00); 63 + (CFG_SYS_SDRAM_CTRL & ~0x80000000) | 0x10000c00); 64 64 65 65 udelay(100); 66 66
+1 -1
board/freescale/m5373evb/README
··· 105 105 CONFIG_SYS_CSn_MASK -- defines the Chip Select Mask register 106 106 CONFIG_SYS_CSn_CTRL -- defines the Chip Select Control register 107 107 108 - CONFIG_SYS_SDRAM_BASE -- defines the DRAM Base 108 + CFG_SYS_SDRAM_BASE -- defines the DRAM Base 109 109 110 110 2. MEMORY MAP UNDER U-BOOT AND LINUX KERNEL 111 111 ===========================================
+12 -12
board/freescale/m5373evb/m5373evb.c
··· 29 29 sdram_t *sdram = (sdram_t *)(MMAP_SDRAM); 30 30 u32 dramsize, i; 31 31 32 - dramsize = CONFIG_SYS_SDRAM_SIZE * 0x100000; 32 + dramsize = CFG_SYS_SDRAM_SIZE * 0x100000; 33 33 34 34 for (i = 0x13; i < 0x20; i++) { 35 35 if (dramsize == (1 << i)) ··· 37 37 } 38 38 i--; 39 39 40 - out_be32(&sdram->cs0, CONFIG_SYS_SDRAM_BASE | i); 41 - out_be32(&sdram->cfg1, CONFIG_SYS_SDRAM_CFG1); 42 - out_be32(&sdram->cfg2, CONFIG_SYS_SDRAM_CFG2); 40 + out_be32(&sdram->cs0, CFG_SYS_SDRAM_BASE | i); 41 + out_be32(&sdram->cfg1, CFG_SYS_SDRAM_CFG1); 42 + out_be32(&sdram->cfg2, CFG_SYS_SDRAM_CFG2); 43 43 44 44 /* Issue PALL */ 45 - out_be32(&sdram->ctrl, CONFIG_SYS_SDRAM_CTRL | 2); 45 + out_be32(&sdram->ctrl, CFG_SYS_SDRAM_CTRL | 2); 46 46 47 47 /* Issue LEMR */ 48 - out_be32(&sdram->mode, CONFIG_SYS_SDRAM_EMOD); 49 - out_be32(&sdram->mode, CONFIG_SYS_SDRAM_MODE | 0x04000000); 48 + out_be32(&sdram->mode, CFG_SYS_SDRAM_EMOD); 49 + out_be32(&sdram->mode, CFG_SYS_SDRAM_MODE | 0x04000000); 50 50 51 51 udelay(500); 52 52 53 53 /* Issue PALL */ 54 - out_be32(&sdram->ctrl, CONFIG_SYS_SDRAM_CTRL | 2); 54 + out_be32(&sdram->ctrl, CFG_SYS_SDRAM_CTRL | 2); 55 55 56 56 /* Perform two refresh cycles */ 57 - out_be32(&sdram->ctrl, CONFIG_SYS_SDRAM_CTRL | 4); 58 - out_be32(&sdram->ctrl, CONFIG_SYS_SDRAM_CTRL | 4); 57 + out_be32(&sdram->ctrl, CFG_SYS_SDRAM_CTRL | 4); 58 + out_be32(&sdram->ctrl, CFG_SYS_SDRAM_CTRL | 4); 59 59 60 - out_be32(&sdram->mode, CONFIG_SYS_SDRAM_MODE); 60 + out_be32(&sdram->mode, CFG_SYS_SDRAM_MODE); 61 61 62 62 out_be32(&sdram->ctrl, 63 - (CONFIG_SYS_SDRAM_CTRL & ~0x80000000) | 0x10000c00); 63 + (CFG_SYS_SDRAM_CTRL & ~0x80000000) | 0x10000c00); 64 64 65 65 udelay(100); 66 66
+3 -3
board/freescale/mpc837xerdb/mpc837xerdb.c
··· 97 97 int fixed_sdram(void) 98 98 { 99 99 immap_t *im = (immap_t *) CONFIG_SYS_IMMR; 100 - u32 msize = CONFIG_SYS_SDRAM_SIZE; 100 + u32 msize = CFG_SYS_SDRAM_SIZE; 101 101 u32 msize_log2 = __ilog2(msize); 102 102 103 - im->sysconf.ddrlaw[0].bar = CONFIG_SYS_SDRAM_BASE & 0xfffff000; 103 + im->sysconf.ddrlaw[0].bar = CFG_SYS_SDRAM_BASE & 0xfffff000; 104 104 im->sysconf.ddrlaw[0].ar = LBLAWAR_EN | (msize_log2 - 1); 105 105 106 106 im->sysconf.ddrcdr = CONFIG_SYS_DDRCDR_VALUE; ··· 127 127 128 128 im->ddr.sdram_cfg |= SDRAM_CFG_MEM_EN; 129 129 udelay(2000); 130 - return CONFIG_SYS_SDRAM_SIZE >> 20; 130 + return CFG_SYS_SDRAM_SIZE >> 20; 131 131 } 132 132 #endif /*!CONFIG_SYS_SPD_EEPROM */ 133 133
+1 -1
board/freescale/mx51evk/mx51evk.c
··· 30 30 int dram_init(void) 31 31 { 32 32 /* dram_init must store complete ramsize in gd->ram_size */ 33 - gd->ram_size = get_ram_size((void *)CONFIG_SYS_SDRAM_BASE, 33 + gd->ram_size = get_ram_size((void *)CFG_SYS_SDRAM_BASE, 34 34 PHYS_SDRAM_1_SIZE); 35 35 return 0; 36 36 }
+1 -1
board/freescale/p1_p2_rdb_pc/ddr.c
··· 244 244 printf("Configuring DDR for %s MT/s data rate\n", 245 245 strmhz(buf, sysinfo.freq_ddrbus)); 246 246 247 - ddr_size = CONFIG_SYS_SDRAM_SIZE * 1024 * 1024; 247 + ddr_size = CFG_SYS_SDRAM_SIZE * 1024 * 1024; 248 248 249 249 fsl_ddr_set_memctl_regs(&ddr_cfg_regs, 0, 0); 250 250
+4 -4
board/friendlyarm/nanopi2/board.c
··· 507 507 /* u-boot dram initialize */ 508 508 int dram_init(void) 509 509 { 510 - gd->ram_size = CONFIG_SYS_SDRAM_SIZE; 510 + gd->ram_size = CFG_SYS_SDRAM_SIZE; 511 511 return 0; 512 512 } 513 513 ··· 518 518 unsigned int reg_val = readl(SCR_USER_SIG6_READ); 519 519 520 520 /* set global data memory */ 521 - gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x00000100; 521 + gd->bd->bi_boot_params = CFG_SYS_SDRAM_BASE + 0x00000100; 522 522 523 - gd->bd->bi_dram[0].start = CONFIG_SYS_SDRAM_BASE; 524 - gd->bd->bi_dram[0].size = CONFIG_SYS_SDRAM_SIZE; 523 + gd->bd->bi_dram[0].start = CFG_SYS_SDRAM_BASE; 524 + gd->bd->bi_dram[0].size = CFG_SYS_SDRAM_SIZE; 525 525 526 526 /* Number of Row: 14 bits */ 527 527 if ((reg_val >> 28) == 14)
+3 -3
board/gardena/smart-gateway-at91sam/board.c
··· 45 45 int board_init(void) 46 46 { 47 47 /* Address of boot parameters */ 48 - gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; 48 + gd->bd->bi_boot_params = CFG_SYS_SDRAM_BASE + 0x100; 49 49 50 50 return 0; 51 51 } 52 52 53 53 int dram_init(void) 54 54 { 55 - gd->ram_size = get_ram_size((void *)CONFIG_SYS_SDRAM_BASE, 56 - CONFIG_SYS_SDRAM_SIZE); 55 + gd->ram_size = get_ram_size((void *)CFG_SYS_SDRAM_BASE, 56 + CFG_SYS_SDRAM_SIZE); 57 57 58 58 return 0; 59 59 }
+3 -3
board/gdsys/mpc8308/sdram.c
··· 34 34 static long fixed_sdram(void) 35 35 { 36 36 immap_t *im = (immap_t *)CONFIG_SYS_IMMR; 37 - u32 msize = CONFIG_SYS_SDRAM_SIZE; 37 + u32 msize = CFG_SYS_SDRAM_SIZE; 38 38 u32 msize_log2 = __ilog2(msize); 39 39 40 40 out_be32(&im->sysconf.ddrlaw[0].bar, 41 - CONFIG_SYS_SDRAM_BASE & 0xfffff000); 41 + CFG_SYS_SDRAM_BASE & 0xfffff000); 42 42 out_be32(&im->sysconf.ddrlaw[0].ar, LBLAWAR_EN | (msize_log2 - 1)); 43 43 out_be32(&im->sysconf.ddrcdr, CONFIG_SYS_DDRCDR_VALUE); 44 44 ··· 66 66 setbits_be32(&im->ddr.sdram_cfg, SDRAM_CFG_MEM_EN); 67 67 sync(); 68 68 69 - return get_ram_size(CONFIG_SYS_SDRAM_BASE, msize); 69 + return get_ram_size(CFG_SYS_SDRAM_BASE, msize); 70 70 } 71 71 72 72 int dram_init(void)
+1 -1
board/grinn/chiliboard/board.c
··· 95 95 hw_watchdog_init(); 96 96 #endif 97 97 98 - gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; 98 + gd->bd->bi_boot_params = CFG_SYS_SDRAM_BASE + 0x100; 99 99 gpmc_init(); 100 100 101 101 return 0;
+1 -1
board/imgtec/boston/ddr.c
··· 27 27 { 28 28 DECLARE_GLOBAL_DATA_PTR; 29 29 30 - if (gd->ram_top < CONFIG_SYS_SDRAM_BASE) { 30 + if (gd->ram_top < CFG_SYS_SDRAM_BASE) { 31 31 /* 2GB wrapped around to 0 */ 32 32 return CKSEG0ADDR(256 << 20); 33 33 }
+2 -2
board/imgtec/malta/lowlevel_init.S
··· 118 118 /* setup basic address decode */ 119 119 PTR_LI t0, CKSEG1ADDR(MALTA_MSC01_BIU_BASE) 120 120 li t1, 0x0 121 - li t2, -CONFIG_SYS_SDRAM_SIZE 121 + li t2, -CFG_SYS_SDRAM_SIZE 122 122 sw t1, MSC01_BIU_MCBAS1L_OFS(t0) 123 123 sw t2, MSC01_BIU_MCMSK1L_OFS(t0) 124 124 sw t1, MSC01_BIU_MCBAS2L_OFS(t0) ··· 168 168 sw t3, MSC01_PCI_SC2PIOMAPL_OFS(t0) 169 169 170 170 /* setup PCI_BAR0 memory window */ 171 - li t1, -CONFIG_SYS_SDRAM_SIZE 171 + li t1, -CFG_SYS_SDRAM_SIZE 172 172 sw t1, MSC01_PCI_BAR0_OFS(t0) 173 173 174 174 /* setup PCI to SysCon/CPU translation */
+1 -1
board/imgtec/malta/malta.c
··· 94 94 95 95 int dram_init(void) 96 96 { 97 - gd->ram_size = CONFIG_SYS_SDRAM_SIZE; 97 + gd->ram_size = CFG_SYS_SDRAM_SIZE; 98 98 99 99 return 0; 100 100 }
+1 -1
board/imgtec/xilfpga/xilfpga.c
··· 19 19 { 20 20 /* MIG IP block is smart and doesn't need SW 21 21 * to do any init */ 22 - gd->ram_size = CONFIG_SYS_SDRAM_SIZE; /* in bytes */ 22 + gd->ram_size = CFG_SYS_SDRAM_SIZE; /* in bytes */ 23 23 24 24 return 0; 25 25 }
+1 -1
board/inversepath/usbarmory/usbarmory.c
··· 412 412 413 413 int dram_init(void) 414 414 { 415 - gd->ram_size = get_ram_size((void *)CONFIG_SYS_SDRAM_BASE, 1 << 30); 415 + gd->ram_size = get_ram_size((void *)CFG_SYS_SDRAM_BASE, 1 << 30); 416 416 return 0; 417 417 } 418 418
+1 -1
board/isee/igep003x/board.c
··· 185 185 */ 186 186 int board_init(void) 187 187 { 188 - gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; 188 + gd->bd->bi_boot_params = CFG_SYS_SDRAM_BASE + 0x100; 189 189 190 190 gpmc_init(); 191 191
+2 -2
board/keymile/common/common.c
··· 52 52 char envval[16]; 53 53 char *p; 54 54 55 - pnvramaddr = CONFIG_SYS_SDRAM_BASE + gd->ram_size - 55 + pnvramaddr = CFG_SYS_SDRAM_BASE + gd->ram_size - 56 56 CONFIG_KM_RESERVED_PRAM - CONFIG_KM_PHRAM - CONFIG_KM_PNVRAM; 57 57 sprintf(envval, "0x%x", pnvramaddr); 58 58 env_set("pnvramaddr", envval); ··· 65 65 CONFIG_KM_PNVRAM) / 0x400; 66 66 env_set_ulong("pram", pram); 67 67 68 - varaddr = CONFIG_SYS_SDRAM_BASE + gd->ram_size - 68 + varaddr = CFG_SYS_SDRAM_BASE + gd->ram_size - 69 69 CONFIG_KM_RESERVED_PRAM - CONFIG_KM_PHRAM; 70 70 env_set_hex("varaddr", varaddr); 71 71 sprintf(envval, "0x%x", varaddr);
+3 -3
board/keymile/km83xx/km83xx.c
··· 142 142 setbits_be32(&im->ddr.sdram_cfg, SDRAM_CFG_MEM_EN); 143 143 144 144 disable_addr_trans(); 145 - msize = get_ram_size(CONFIG_SYS_SDRAM_BASE, CONFIG_SYS_SDRAM_SIZE); 145 + msize = get_ram_size(CFG_SYS_SDRAM_BASE, CFG_SYS_SDRAM_SIZE); 146 146 enable_addr_trans(); 147 147 msize /= (1024 * 1024); 148 - if (CONFIG_SYS_SDRAM_SIZE >> 20 != msize) { 148 + if (CFG_SYS_SDRAM_SIZE >> 20 != msize) { 149 149 for (ddr_size = msize << 20, ddr_size_log2 = 0; 150 150 (ddr_size > 1); 151 151 ddr_size = ddr_size >> 1, ddr_size_log2++) ··· 169 169 return -ENXIO; 170 170 171 171 out_be32(&im->sysconf.ddrlaw[0].bar, 172 - CONFIG_SYS_SDRAM_BASE & LAWBAR_BAR); 172 + CFG_SYS_SDRAM_BASE & LAWBAR_BAR); 173 173 msize = fixed_sdram(); 174 174 175 175 #if defined(CONFIG_DDR_ECC) && !defined(CONFIG_ECC_INIT_VIA_DDRCONTROLLER)
+1 -1
board/keymile/pg-wcom-ls102xa/ddr.c
··· 84 84 85 85 int dram_init_banksize(void) 86 86 { 87 - gd->bd->bi_dram[0].start = CONFIG_SYS_SDRAM_BASE; 87 + gd->bd->bi_dram[0].start = CFG_SYS_SDRAM_BASE; 88 88 gd->bd->bi_dram[0].size = gd->ram_size; 89 89 90 90 return 0;
+1 -1
board/keymile/pg-wcom-ls102xa/pg-wcom-ls102xa.c
··· 184 184 { 185 185 /* Define only 1MiB range for mem_regions at the middle of the RAM */ 186 186 /* For 1GiB range mem_regions takes approx. 4min */ 187 - *vstart = CONFIG_SYS_SDRAM_BASE + (gd->ram_size >> 1); 187 + *vstart = CFG_SYS_SDRAM_BASE + (gd->ram_size >> 1); 188 188 *size = 1 << 20; 189 189 return 0; 190 190 }
+3 -3
board/l+g/vinco/vinco.c
··· 164 164 int board_init(void) 165 165 { 166 166 /* adress of boot parameters */ 167 - gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; 167 + gd->bd->bi_boot_params = CFG_SYS_SDRAM_BASE + 0x100; 168 168 169 169 #if !CONFIG_IS_ENABLED(DM_SPI) 170 170 vinco_spi0_hw_init(); ··· 188 188 189 189 int dram_init(void) 190 190 { 191 - gd->ram_size = get_ram_size((void *)CONFIG_SYS_SDRAM_BASE, 192 - CONFIG_SYS_SDRAM_SIZE); 191 + gd->ram_size = get_ram_size((void *)CFG_SYS_SDRAM_BASE, 192 + CFG_SYS_SDRAM_SIZE); 193 193 return 0; 194 194 } 195 195
+1 -1
board/mediatek/mt7622/mt7622_rfb.c
··· 14 14 15 15 int board_init(void) 16 16 { 17 - gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; 17 + gd->bd->bi_boot_params = CFG_SYS_SDRAM_BASE + 0x100; 18 18 return 0; 19 19 } 20 20
+1 -1
board/mediatek/mt7623/mt7623_rfb.c
··· 12 12 int board_init(void) 13 13 { 14 14 /* address of boot parameters */ 15 - gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; 15 + gd->bd->bi_boot_params = CFG_SYS_SDRAM_BASE + 0x100; 16 16 17 17 return 0; 18 18 }
+1 -1
board/mediatek/mt7629/mt7629_rfb.c
··· 11 11 int board_init(void) 12 12 { 13 13 /* address of boot parameters */ 14 - gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; 14 + gd->bd->bi_boot_params = CFG_SYS_SDRAM_BASE + 0x100; 15 15 16 16 return 0; 17 17 }
+1 -1
board/mediatek/mt8518/mt8518_ap1.c
··· 14 14 int board_init(void) 15 15 { 16 16 /* address of boot parameters */ 17 - gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; 17 + gd->bd->bi_boot_params = CFG_SYS_SDRAM_BASE + 0x100; 18 18 19 19 debug("gd->fdt_blob is %p\n", gd->fdt_blob); 20 20 return 0;
+1 -1
board/mscc/jr2/jr2.c
··· 28 28 ICPU_GENERAL_CTRL_IF_SI_OWNER(2)); 29 29 30 30 /* Address of boot parameters */ 31 - gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE; 31 + gd->bd->bi_boot_params = CFG_SYS_SDRAM_BASE; 32 32 33 33 return 0; 34 34 }
+1 -1
board/mscc/luton/luton.c
··· 29 29 writel(0, BASE_CFG + ICPU_SW_MODE); 30 30 31 31 /* Address of boot parameters */ 32 - gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE; 32 + gd->bd->bi_boot_params = CFG_SYS_SDRAM_BASE; 33 33 34 34 return 0; 35 35 }
+1 -1
board/mscc/ocelot/ocelot.c
··· 77 77 ICPU_GENERAL_CTRL_IF_SI_OWNER(2)); 78 78 79 79 /* Address of boot parameters */ 80 - gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE; 80 + gd->bd->bi_boot_params = CFG_SYS_SDRAM_BASE; 81 81 82 82 return 0; 83 83 }
+1 -1
board/mscc/serval/serval.c
··· 22 22 writel(0, BASE_CFG + ICPU_SW_MODE); 23 23 24 24 /* Address of boot parameters */ 25 - gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE; 25 + gd->bd->bi_boot_params = CFG_SYS_SDRAM_BASE; 26 26 27 27 return 0; 28 28 }
+1 -1
board/mscc/servalt/servalt.c
··· 22 22 writel(0, BASE_CFG + ICPU_SW_MODE); 23 23 24 24 /* Address of boot parameters */ 25 - gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE; 25 + gd->bd->bi_boot_params = CFG_SYS_SDRAM_BASE; 26 26 27 27 return 0; 28 28 }
+2 -2
board/phytec/phycore_am335x_r2/board.c
··· 166 166 0); 167 167 168 168 /* Detect memory physically present */ 169 - gd->ram_size = get_ram_size((void *)CONFIG_SYS_SDRAM_BASE, 169 + gd->ram_size = get_ram_size((void *)CFG_SYS_SDRAM_BASE, 170 170 CONFIG_MAX_RAM_BANK_SIZE); 171 171 172 172 /* Reconfigure memory for actual detected size */ ··· 269 269 */ 270 270 int board_init(void) 271 271 { 272 - gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; 272 + gd->bd->bi_boot_params = CFG_SYS_SDRAM_BASE + 0x100; 273 273 return 0; 274 274 } 275 275
+1 -1
board/phytium/pomelo/pomelo.c
··· 24 24 ddr_init(); 25 25 26 26 gd->mem_clk = 0; 27 - gd->ram_size = get_ram_size((void *)CONFIG_SYS_SDRAM_BASE, 0x7b000000); 27 + gd->ram_size = get_ram_size((void *)CFG_SYS_SDRAM_BASE, 0x7b000000); 28 28 29 29 sec_init(); 30 30 debug("PBF relocate done\n");
+1 -1
board/renesas/alt/alt.c
··· 70 70 int board_init(void) 71 71 { 72 72 /* adress of boot parameters */ 73 - gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; 73 + gd->bd->bi_boot_params = CFG_SYS_SDRAM_BASE + 0x100; 74 74 75 75 /* Force ethernet PHY out of reset */ 76 76 gpio_request(ETHERNET_PHY_RESET, "phy_reset");
+1 -1
board/renesas/blanche/blanche.c
··· 312 312 int board_init(void) 313 313 { 314 314 /* adress of boot parameters */ 315 - gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; 315 + gd->bd->bi_boot_params = CFG_SYS_SDRAM_BASE + 0x100; 316 316 317 317 return 0; 318 318 }
+1 -1
board/renesas/gose/gose.c
··· 78 78 int board_init(void) 79 79 { 80 80 /* adress of boot parameters */ 81 - gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; 81 + gd->bd->bi_boot_params = CFG_SYS_SDRAM_BASE + 0x100; 82 82 83 83 /* Force ethernet PHY out of reset */ 84 84 gpio_request(ETHERNET_PHY_RESET, "phy_reset");
+1 -1
board/renesas/grpeach/grpeach.c
··· 20 20 21 21 int board_init(void) 22 22 { 23 - gd->bd->bi_boot_params = (CONFIG_SYS_SDRAM_BASE + 0x100); 23 + gd->bd->bi_boot_params = (CFG_SYS_SDRAM_BASE + 0x100); 24 24 25 25 return 0; 26 26 }
+1 -1
board/renesas/koelsch/koelsch.c
··· 80 80 int board_init(void) 81 81 { 82 82 /* adress of boot parameters */ 83 - gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; 83 + gd->bd->bi_boot_params = CFG_SYS_SDRAM_BASE + 0x100; 84 84 85 85 /* Force ethernet PHY out of reset */ 86 86 gpio_request(ETHERNET_PHY_RESET, "phy_reset");
+1 -1
board/renesas/lager/lager.c
··· 89 89 int board_init(void) 90 90 { 91 91 /* adress of boot parameters */ 92 - gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; 92 + gd->bd->bi_boot_params = CFG_SYS_SDRAM_BASE + 0x100; 93 93 94 94 /* Force ethernet PHY out of reset */ 95 95 gpio_request(ETHERNET_PHY_RESET, "phy_reset");
+1 -1
board/renesas/porter/porter.c
··· 78 78 int board_init(void) 79 79 { 80 80 /* adress of boot parameters */ 81 - gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; 81 + gd->bd->bi_boot_params = CFG_SYS_SDRAM_BASE + 0x100; 82 82 83 83 /* Force ethernet PHY out of reset */ 84 84 gpio_request(ETHERNET_PHY_RESET, "phy_reset");
+1 -1
board/renesas/silk/silk.c
··· 71 71 int board_init(void) 72 72 { 73 73 /* adress of boot parameters */ 74 - gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; 74 + gd->bd->bi_boot_params = CFG_SYS_SDRAM_BASE + 0x100; 75 75 76 76 /* Force ethernet PHY out of reset */ 77 77 gpio_request(ETHERNET_PHY_RESET, "phy_reset");
+1 -1
board/renesas/stout/stout.c
··· 88 88 int board_init(void) 89 89 { 90 90 /* adress of boot parameters */ 91 - gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; 91 + gd->bd->bi_boot_params = CFG_SYS_SDRAM_BASE + 0x100; 92 92 93 93 cpld_init(); 94 94
+5 -5
board/ronetix/pm9g45/pm9g45.c
··· 126 126 /* arch number of AT91SAM9M10G45EK-Board */ 127 127 gd->bd->bi_arch_number = MACH_TYPE_PM9G45; 128 128 /* adress of boot parameters */ 129 - gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; 129 + gd->bd->bi_boot_params = CFG_SYS_SDRAM_BASE + 0x100; 130 130 131 131 #ifdef CONFIG_CMD_NAND 132 132 pm9g45_nand_hw_init(); ··· 141 141 int dram_init(void) 142 142 { 143 143 /* dram_init must store complete ramsize in gd->ram_size */ 144 - gd->ram_size = get_ram_size((void *)CONFIG_SYS_SDRAM_BASE, 145 - CONFIG_SYS_SDRAM_SIZE); 144 + gd->ram_size = get_ram_size((void *)CFG_SYS_SDRAM_BASE, 145 + CFG_SYS_SDRAM_SIZE); 146 146 return 0; 147 147 } 148 148 149 149 int dram_init_banksize(void) 150 150 { 151 - gd->bd->bi_dram[0].start = CONFIG_SYS_SDRAM_BASE; 152 - gd->bd->bi_dram[0].size = CONFIG_SYS_SDRAM_SIZE; 151 + gd->bd->bi_dram[0].start = CFG_SYS_SDRAM_BASE; 152 + gd->bd->bi_dram[0].size = CFG_SYS_SDRAM_SIZE; 153 153 154 154 return 0; 155 155 }
+2 -2
board/samsung/arndale/arndale.c
··· 46 46 u32 addr; 47 47 48 48 for (i = 0; i < CONFIG_NR_DRAM_BANKS; i++) { 49 - addr = CONFIG_SYS_SDRAM_BASE + (i * SDRAM_BANK_SIZE); 49 + addr = CFG_SYS_SDRAM_BASE + (i * SDRAM_BANK_SIZE); 50 50 gd->ram_size += get_ram_size((long *)addr, SDRAM_BANK_SIZE); 51 51 } 52 52 return 0; ··· 64 64 u32 addr, size; 65 65 66 66 for (i = 0; i < CONFIG_NR_DRAM_BANKS; i++) { 67 - addr = CONFIG_SYS_SDRAM_BASE + (i * SDRAM_BANK_SIZE); 67 + addr = CFG_SYS_SDRAM_BASE + (i * SDRAM_BANK_SIZE); 68 68 size = get_ram_size((long *)addr, SDRAM_BANK_SIZE); 69 69 70 70 gd->bd->bi_dram[i].start = addr;
+2 -2
board/samsung/common/board.c
··· 122 122 unsigned long addr; 123 123 124 124 for (i = 0; i < CONFIG_NR_DRAM_BANKS; i++) { 125 - addr = CONFIG_SYS_SDRAM_BASE + (i * SDRAM_BANK_SIZE); 125 + addr = CFG_SYS_SDRAM_BASE + (i * SDRAM_BANK_SIZE); 126 126 gd->ram_size += get_ram_size((long *)addr, SDRAM_BANK_SIZE); 127 127 } 128 128 return 0; ··· 134 134 unsigned long addr, size; 135 135 136 136 for (i = 0; i < CONFIG_NR_DRAM_BANKS; i++) { 137 - addr = CONFIG_SYS_SDRAM_BASE + (i * SDRAM_BANK_SIZE); 137 + addr = CFG_SYS_SDRAM_BASE + (i * SDRAM_BANK_SIZE); 138 138 size = get_ram_size((long *)addr, SDRAM_BANK_SIZE); 139 139 140 140 gd->bd->bi_dram[i].start = addr;
+2 -2
board/sandbox/sandbox.c
··· 115 115 116 116 int dram_init(void) 117 117 { 118 - gd->ram_size = CONFIG_SYS_SDRAM_SIZE; 118 + gd->ram_size = CFG_SYS_SDRAM_SIZE; 119 119 return 0; 120 120 } 121 121 ··· 173 173 int init_addr_map(void) 174 174 { 175 175 if (IS_ENABLED(CONFIG_ADDR_MAP)) 176 - addrmap_set_entry(0, 0, CONFIG_SYS_SDRAM_SIZE, 0); 176 + addrmap_set_entry(0, 0, CFG_SYS_SDRAM_SIZE, 0); 177 177 178 178 return 0; 179 179 }
+1 -1
board/siemens/common/board.c
··· 85 85 #ifdef CONFIG_MACH_TYPE 86 86 gd->bd->bi_arch_number = CONFIG_MACH_TYPE; 87 87 #endif 88 - gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; 88 + gd->bd->bi_boot_params = CFG_SYS_SDRAM_BASE + 0x100; 89 89 90 90 #ifdef CONFIG_FACTORYSET 91 91 factoryset_read_eeprom(FACTORYSET_EEPROM_ADDR);
+3 -3
board/siemens/corvus/board.c
··· 262 262 int board_init(void) 263 263 { 264 264 /* address of boot parameters */ 265 - gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; 265 + gd->bd->bi_boot_params = CFG_SYS_SDRAM_BASE + 0x100; 266 266 267 267 /* we have to request the gpios again after relocation */ 268 268 corvus_request_gpio(); ··· 287 287 288 288 int dram_init(void) 289 289 { 290 - gd->ram_size = get_ram_size((void *)CONFIG_SYS_SDRAM_BASE, 291 - CONFIG_SYS_SDRAM_SIZE); 290 + gd->ram_size = get_ram_size((void *)CFG_SYS_SDRAM_BASE, 291 + CFG_SYS_SDRAM_SIZE); 292 292 return 0; 293 293 } 294 294
+1 -1
board/siemens/iot2050/board.c
··· 146 146 dram_init(); 147 147 148 148 /* Bank 0 declares the memory available in the DDR low region */ 149 - gd->bd->bi_dram[0].start = CONFIG_SYS_SDRAM_BASE; 149 + gd->bd->bi_dram[0].start = CFG_SYS_SDRAM_BASE; 150 150 gd->bd->bi_dram[0].size = gd->ram_size; 151 151 152 152 /* Bank 1 declares the memory available in the DDR high region */
+3 -3
board/siemens/smartweb/smartweb.c
··· 167 167 #endif 168 168 169 169 /* Adress of boot parameters */ 170 - gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; 170 + gd->bd->bi_boot_params = CFG_SYS_SDRAM_BASE + 0x100; 171 171 172 172 smartweb_nand_hw_init(); 173 173 smartweb_macb_hw_init(); ··· 177 177 int dram_init(void) 178 178 { 179 179 gd->ram_size = get_ram_size( 180 - (void *)CONFIG_SYS_SDRAM_BASE, 181 - CONFIG_SYS_SDRAM_SIZE); 180 + (void *)CFG_SYS_SDRAM_BASE, 181 + CFG_SYS_SDRAM_SIZE); 182 182 return 0; 183 183 } 184 184
+5 -5
board/siemens/taurus/taurus.c
··· 185 185 sdramc_configure(AT91_SDRAMC_NC_10); 186 186 187 187 /* Do memtest for 128MB */ 188 - ram_size = get_ram_size((void *)CONFIG_SYS_SDRAM_BASE, 189 - CONFIG_SYS_SDRAM_SIZE); 188 + ram_size = get_ram_size((void *)CFG_SYS_SDRAM_BASE, 189 + CFG_SYS_SDRAM_SIZE); 190 190 191 191 /* 192 192 * If 32MB or 16MB should be supported check also for ··· 306 306 int board_init(void) 307 307 { 308 308 /* adress of boot parameters */ 309 - gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; 309 + gd->bd->bi_boot_params = CFG_SYS_SDRAM_BASE + 0x100; 310 310 311 311 taurus_request_gpio(); 312 312 #ifdef CONFIG_CMD_NAND ··· 326 326 327 327 int dram_init(void) 328 328 { 329 - gd->ram_size = get_ram_size((void *)CONFIG_SYS_SDRAM_BASE, 330 - CONFIG_SYS_SDRAM_SIZE); 329 + gd->ram_size = get_ram_size((void *)CFG_SYS_SDRAM_BASE, 330 + CFG_SYS_SDRAM_SIZE); 331 331 return 0; 332 332 } 333 333
+1 -1
board/sipeed/maix/maix.c
··· 11 11 12 12 phys_size_t get_effective_memsize(void) 13 13 { 14 - return CONFIG_SYS_SDRAM_SIZE; 14 + return CFG_SYS_SDRAM_SIZE; 15 15 } 16 16 17 17 static int sram_init(void)
+2 -2
board/socrates/sdram.c
··· 51 51 asm ("sync; isync; msync"); 52 52 udelay(1000); 53 53 54 - if (get_ram_size(0, CONFIG_SYS_SDRAM_SIZE<<20) == CONFIG_SYS_SDRAM_SIZE<<20) { 54 + if (get_ram_size(0, CFG_SYS_SDRAM_SIZE<<20) == CFG_SYS_SDRAM_SIZE<<20) { 55 55 /* 56 56 * OK, size detected -> all done 57 57 */ 58 - return CONFIG_SYS_SDRAM_SIZE<<20; 58 + return CFG_SYS_SDRAM_SIZE<<20; 59 59 } 60 60 61 61 return 0; /* nothing found ! */
+1 -1
board/softing/vining_fpga/socfpga.c
··· 30 30 status_led_set(2, CONFIG_LED_STATUS_ON); 31 31 32 32 /* Address of boot parameters for ATAG (if ATAG is used) */ 33 - gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; 33 + gd->bd->bi_boot_params = CFG_SYS_SDRAM_BASE + 0x100; 34 34 35 35 ret = gpio_request(usb_nrst_gpio, "usb_nrst_gpio"); 36 36 if (!ret)
+2 -2
board/solidrun/mx6cuboxi/mx6cuboxi.c
··· 107 107 { 108 108 u32 max_size = imx_ddr_size(); 109 109 110 - gd->ram_size = get_ram_size_stride_test((u32 *) CONFIG_SYS_SDRAM_BASE, 110 + gd->ram_size = get_ram_size_stride_test((u32 *) CFG_SYS_SDRAM_BASE, 111 111 (u32)max_size); 112 112 113 113 return 0; ··· 288 288 int ret = 0; 289 289 290 290 /* address of boot parameters */ 291 - gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; 291 + gd->bd->bi_boot_params = CFG_SYS_SDRAM_BASE + 0x100; 292 292 293 293 #ifdef CONFIG_VIDEO_IPUV3 294 294 ret = setup_display();
+3 -3
board/sysam/amcore/amcore.c
··· 88 88 */ 89 89 out_be32(&dc->dacr0, 0x00003304); 90 90 91 - dramsize = ((CONFIG_SYS_SDRAM_SIZE)-1) & 0xfffc0000; 91 + dramsize = ((CFG_SYS_SDRAM_SIZE)-1) & 0xfffc0000; 92 92 out_be32(&dc->dmr0, dramsize|1); 93 93 94 94 /* issue a PRECHARGE ALL */ ··· 102 102 out_be32(&dc->dacr0, 0x0000b344); 103 103 out_be32((u32 *)0x00000c00, 0xbeaddeed); 104 104 105 - gd->ram_size = get_ram_size(CONFIG_SYS_SDRAM_BASE, 106 - CONFIG_SYS_SDRAM_SIZE); 105 + gd->ram_size = get_ram_size(CFG_SYS_SDRAM_BASE, 106 + CFG_SYS_SDRAM_SIZE); 107 107 108 108 return 0; 109 109 }
+1 -1
board/sysam/stmark2/stmark2.c
··· 35 35 * Serial Boot: The dram is already initialized in start.S 36 36 * only require to return DRAM size 37 37 */ 38 - dramsize = CONFIG_SYS_SDRAM_SIZE * 0x100000; 38 + dramsize = CFG_SYS_SDRAM_SIZE * 0x100000; 39 39 40 40 gd->ram_size = dramsize; 41 41
+1 -1
board/tbs/tbs2910/tbs2910.c
··· 144 144 int board_init(void) 145 145 { 146 146 /* address of boot parameters */ 147 - gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; 147 + gd->bd->bi_boot_params = CFG_SYS_SDRAM_BASE + 0x100; 148 148 149 149 #ifdef CONFIG_VIDEO_IPUV3 150 150 setup_display();
+1 -1
board/tcl/sl50/board.c
··· 238 238 hw_watchdog_init(); 239 239 #endif 240 240 241 - gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; 241 + gd->bd->bi_boot_params = CFG_SYS_SDRAM_BASE + 0x100; 242 242 return 0; 243 243 } 244 244
+1 -1
board/ti/am335x/board.c
··· 704 704 hw_watchdog_init(); 705 705 #endif 706 706 707 - gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; 707 + gd->bd->bi_boot_params = CFG_SYS_SDRAM_BASE + 0x100; 708 708 #if defined(CONFIG_NOR) || defined(CONFIG_MTD_RAW_NAND) 709 709 gpmc_init(); 710 710 #endif
+1 -1
board/ti/am43xx/board.c
··· 639 639 u32 mreqprio_0, mreqprio_1, modena_init0_bw_fractional, 640 640 modena_init0_bw_integer, modena_init0_watermark_0; 641 641 642 - gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; 642 + gd->bd->bi_boot_params = CFG_SYS_SDRAM_BASE + 0x100; 643 643 gpmc_init(); 644 644 645 645 /*
+1 -1
board/ti/am57xx/board.c
··· 661 661 int board_init(void) 662 662 { 663 663 gpmc_init(); 664 - gd->bd->bi_boot_params = (CONFIG_SYS_SDRAM_BASE + 0x100); 664 + gd->bd->bi_boot_params = (CFG_SYS_SDRAM_BASE + 0x100); 665 665 666 666 return 0; 667 667 }
+2 -2
board/ti/am65x/evm.c
··· 75 75 int dram_init_banksize(void) 76 76 { 77 77 /* Bank 0 declares the memory available in the DDR low region */ 78 - gd->bd->bi_dram[0].start = CONFIG_SYS_SDRAM_BASE; 78 + gd->bd->bi_dram[0].start = CFG_SYS_SDRAM_BASE; 79 79 gd->bd->bi_dram[0].size = 0x80000000; 80 80 gd->ram_size = 0x80000000; 81 81 82 82 #ifdef CONFIG_PHYS_64BIT 83 83 /* Bank 1 declares the memory available in the DDR high region */ 84 - gd->bd->bi_dram[1].start = CONFIG_SYS_SDRAM_BASE1; 84 + gd->bd->bi_dram[1].start = CFG_SYS_SDRAM_BASE1; 85 85 gd->bd->bi_dram[1].size = 0x80000000; 86 86 gd->ram_size = 0x100000000; 87 87 #endif
+1 -1
board/ti/dra7xx/evm.c
··· 644 644 645 645 ram_size = board_ti_get_emif_size(); 646 646 647 - gd->bd->bi_dram[0].start = CONFIG_SYS_SDRAM_BASE; 647 + gd->bd->bi_dram[0].start = CFG_SYS_SDRAM_BASE; 648 648 gd->bd->bi_dram[0].size = get_effective_memsize(); 649 649 if (ram_size > CONFIG_MAX_MEM_MAPPED) { 650 650 gd->bd->bi_dram[1].start = 0x200000000;
+2 -2
board/ti/j721e/evm.c
··· 71 71 int dram_init_banksize(void) 72 72 { 73 73 /* Bank 0 declares the memory available in the DDR low region */ 74 - gd->bd->bi_dram[0].start = CONFIG_SYS_SDRAM_BASE; 74 + gd->bd->bi_dram[0].start = CFG_SYS_SDRAM_BASE; 75 75 gd->bd->bi_dram[0].size = 0x80000000; 76 76 gd->ram_size = 0x80000000; 77 77 78 78 #ifdef CONFIG_PHYS_64BIT 79 79 /* Bank 1 declares the memory available in the DDR high region */ 80 - gd->bd->bi_dram[1].start = CONFIG_SYS_SDRAM_BASE1; 80 + gd->bd->bi_dram[1].start = CFG_SYS_SDRAM_BASE1; 81 81 gd->bd->bi_dram[1].size = 0x80000000; 82 82 gd->ram_size = 0x100000000; 83 83 #endif
+2 -2
board/ti/j721s2/evm.c
··· 60 60 int dram_init_banksize(void) 61 61 { 62 62 /* Bank 0 declares the memory available in the DDR low region */ 63 - gd->bd->bi_dram[0].start = CONFIG_SYS_SDRAM_BASE; 63 + gd->bd->bi_dram[0].start = CFG_SYS_SDRAM_BASE; 64 64 gd->bd->bi_dram[0].size = 0x7fffffff; 65 65 gd->ram_size = 0x80000000; 66 66 67 67 #ifdef CONFIG_PHYS_64BIT 68 68 /* Bank 1 declares the memory available in the DDR high region */ 69 - gd->bd->bi_dram[1].start = CONFIG_SYS_SDRAM_BASE1; 69 + gd->bd->bi_dram[1].start = CFG_SYS_SDRAM_BASE1; 70 70 gd->bd->bi_dram[1].size = 0x37fffffff; 71 71 gd->ram_size = 0x400000000; 72 72 #endif
+6 -6
board/ti/ks2_evm/board.c
··· 46 46 47 47 ddr3_size = ddr3_init(); 48 48 49 - gd->ram_size = get_ram_size((long *)CONFIG_SYS_SDRAM_BASE, 49 + gd->ram_size = get_ram_size((long *)CFG_SYS_SDRAM_BASE, 50 50 CONFIG_MAX_RAM_BANK_SIZE); 51 51 #if defined(CONFIG_TI_AEMIF) 52 52 if (!(board_is_k2g_ice() || board_is_k2g_i1())) ··· 71 71 72 72 int board_init(void) 73 73 { 74 - gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; 74 + gd->bd->bi_boot_params = CFG_SYS_SDRAM_BASE + 0x100; 75 75 return 0; 76 76 } 77 77 ··· 120 120 121 121 /* adjust memory start address for LPAE */ 122 122 if (lpae) { 123 - start[0] -= CONFIG_SYS_SDRAM_BASE; 123 + start[0] -= CFG_SYS_SDRAM_BASE; 124 124 start[0] += CONFIG_SYS_LPAE_SDRAM_BASE; 125 125 } 126 126 ··· 174 174 "linux,initrd-end", NULL); 175 175 if (prop1 && prop2) { 176 176 initrd_start = __be64_to_cpu(*prop1); 177 - initrd_start -= CONFIG_SYS_SDRAM_BASE; 177 + initrd_start -= CFG_SYS_SDRAM_BASE; 178 178 initrd_start += CONFIG_SYS_LPAE_SDRAM_BASE; 179 179 initrd_start = __cpu_to_be64(initrd_start); 180 180 initrd_end = __be64_to_cpu(*prop2); 181 - initrd_end -= CONFIG_SYS_SDRAM_BASE; 181 + initrd_end -= CFG_SYS_SDRAM_BASE; 182 182 initrd_end += CONFIG_SYS_LPAE_SDRAM_BASE; 183 183 initrd_end = __cpu_to_be64(initrd_end); 184 184 ··· 221 221 *reserve_start = __cpu_to_be64(*reserve_start); 222 222 size = __cpu_to_be64(*(reserve_start + 1)); 223 223 if (size) { 224 - *reserve_start -= CONFIG_SYS_SDRAM_BASE; 224 + *reserve_start -= CFG_SYS_SDRAM_BASE; 225 225 *reserve_start += 226 226 CONFIG_SYS_LPAE_SDRAM_BASE; 227 227 *reserve_start =
+1 -1
board/ti/ti816x/evm.c
··· 27 27 28 28 int board_init(void) 29 29 { 30 - gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; 30 + gd->bd->bi_boot_params = CFG_SYS_SDRAM_BASE + 0x100; 31 31 #if defined(CONFIG_MTD_RAW_NAND) 32 32 gpmc_init(); 33 33 #endif
+3 -3
board/timll/devkit3250/devkit3250.c
··· 56 56 int board_init(void) 57 57 { 58 58 /* adress of boot parameters */ 59 - gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; 59 + gd->bd->bi_boot_params = CFG_SYS_SDRAM_BASE + 0x100; 60 60 61 61 #ifdef CONFIG_SYS_FLASH_CFI 62 62 /* Use 16-bit memory interface for NOR Flash */ ··· 76 76 77 77 int dram_init(void) 78 78 { 79 - gd->ram_size = get_ram_size((void *)CONFIG_SYS_SDRAM_BASE, 80 - CONFIG_SYS_SDRAM_SIZE); 79 + gd->ram_size = get_ram_size((void *)CFG_SYS_SDRAM_BASE, 80 + CFG_SYS_SDRAM_SIZE); 81 81 82 82 return 0; 83 83 }
+1 -1
board/toradex/apalis_imx6/apalis_imx6.c
··· 79 79 int dram_init(void) 80 80 { 81 81 /* use the DDR controllers configured size */ 82 - gd->ram_size = get_ram_size((void *)CONFIG_SYS_SDRAM_BASE, 82 + gd->ram_size = get_ram_size((void *)CFG_SYS_SDRAM_BASE, 83 83 (ulong)imx_ddr_size()); 84 84 85 85 return 0;
+1 -1
board/toradex/colibri_imx6/colibri_imx6.c
··· 73 73 int dram_init(void) 74 74 { 75 75 /* use the DDR controllers configured size */ 76 - gd->ram_size = get_ram_size((void *)CONFIG_SYS_SDRAM_BASE, 76 + gd->ram_size = get_ram_size((void *)CFG_SYS_SDRAM_BASE, 77 77 (ulong)imx_ddr_size()); 78 78 79 79 return 0;
+1 -1
board/vscom/baltos/board.c
··· 266 266 hw_watchdog_init(); 267 267 #endif 268 268 269 - gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; 269 + gd->bd->bi_boot_params = CFG_SYS_SDRAM_BASE + 0x100; 270 270 #if defined(CONFIG_NOR) || defined(CONFIG_MTD_RAW_NAND) 271 271 gpmc_init(); 272 272 #endif
+3 -3
board/work-microwave/work_92105/work_92105.c
··· 67 67 { 68 68 reset_periph(); 69 69 /* adress of boot parameters */ 70 - gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; 70 + gd->bd->bi_boot_params = CFG_SYS_SDRAM_BASE + 0x100; 71 71 72 72 return 0; 73 73 } 74 74 75 75 int dram_init(void) 76 76 { 77 - gd->ram_size = get_ram_size((void *)CONFIG_SYS_SDRAM_BASE, 78 - CONFIG_SYS_SDRAM_SIZE); 77 + gd->ram_size = get_ram_size((void *)CFG_SYS_SDRAM_BASE, 78 + CFG_SYS_SDRAM_SIZE); 79 79 80 80 return 0; 81 81 }
+3 -3
board/xilinx/zynq/board.c
··· 105 105 return board_late_init_xilinx(); 106 106 } 107 107 108 - #if !defined(CONFIG_SYS_SDRAM_BASE) && !defined(CONFIG_SYS_SDRAM_SIZE) 108 + #if !defined(CFG_SYS_SDRAM_BASE) && !defined(CFG_SYS_SDRAM_SIZE) 109 109 int dram_init_banksize(void) 110 110 { 111 111 return fdtdec_setup_memory_banksize(); ··· 123 123 #else 124 124 int dram_init(void) 125 125 { 126 - gd->ram_size = get_ram_size((void *)CONFIG_SYS_SDRAM_BASE, 127 - CONFIG_SYS_SDRAM_SIZE); 126 + gd->ram_size = get_ram_size((void *)CFG_SYS_SDRAM_BASE, 127 + CFG_SYS_SDRAM_SIZE); 128 128 129 129 zynq_ddrc_init(); 130 130
+4 -4
board/xilinx/zynqmp/zynqmp.c
··· 236 236 return ret; 237 237 } 238 238 239 - #if !defined(CONFIG_SYS_SDRAM_BASE) && !defined(CONFIG_SYS_SDRAM_SIZE) 239 + #if !defined(CFG_SYS_SDRAM_BASE) && !defined(CFG_SYS_SDRAM_SIZE) 240 240 int dram_init_banksize(void) 241 241 { 242 242 int ret; ··· 261 261 #else 262 262 int dram_init_banksize(void) 263 263 { 264 - gd->bd->bi_dram[0].start = CONFIG_SYS_SDRAM_BASE; 264 + gd->bd->bi_dram[0].start = CFG_SYS_SDRAM_BASE; 265 265 gd->bd->bi_dram[0].size = get_effective_memsize(); 266 266 267 267 mem_map_fill(); ··· 271 271 272 272 int dram_init(void) 273 273 { 274 - gd->ram_size = get_ram_size((void *)CONFIG_SYS_SDRAM_BASE, 275 - CONFIG_SYS_SDRAM_SIZE); 274 + gd->ram_size = get_ram_size((void *)CFG_SYS_SDRAM_BASE, 275 + CFG_SYS_SDRAM_SIZE); 276 276 277 277 return 0; 278 278 }
+2 -2
boot/image-board.c
··· 116 116 return tmp; 117 117 } 118 118 119 - #if defined(CONFIG_SYS_SDRAM_BASE) 120 - return CONFIG_SYS_SDRAM_BASE; 119 + #if defined(CFG_SYS_SDRAM_BASE) 120 + return CFG_SYS_SDRAM_BASE; 121 121 #elif defined(CONFIG_ARM) || defined(CONFIG_MICROBLAZE) || defined(CONFIG_RISCV) 122 122 return gd->bd->bi_dram[0].start; 123 123 #else
+9 -9
cmd/ti/ddr3.c
··· 20 20 21 21 #ifdef CONFIG_ARCH_KEYSTONE 22 22 #include <asm/arch/ddr3.h> 23 - #define DDR_MIN_ADDR CONFIG_SYS_SDRAM_BASE 23 + #define DDR_MIN_ADDR CFG_SYS_SDRAM_BASE 24 24 #define STACKSIZE (512 << 10) /* 512 KiB */ 25 25 26 26 #define DDR_REMAP_ADDR 0x80000000 ··· 247 247 /* Check in ecc address range 1 */ 248 248 if (ecc_ctrl & EMIF_ECC_REG_ECC_ADDR_RGN_1_EN_MASK) { 249 249 start_addr = ((range & EMIF_ECC_REG_ECC_START_ADDR_MASK) << 16) 250 - + CONFIG_SYS_SDRAM_BASE; 250 + + CFG_SYS_SDRAM_BASE; 251 251 end_addr = (range & EMIF_ECC_REG_ECC_END_ADDR_MASK) + 0xFFFF + 252 - CONFIG_SYS_SDRAM_BASE; 252 + CFG_SYS_SDRAM_BASE; 253 253 if ((addr >= start_addr) && (addr <= end_addr)) 254 254 /* addr within ecc address range 1 */ 255 255 return 1; ··· 259 259 if (ecc_ctrl & EMIF_ECC_REG_ECC_ADDR_RGN_2_EN_MASK) { 260 260 range = readl(&emif->emif_ecc_address_range_2); 261 261 start_addr = ((range & EMIF_ECC_REG_ECC_START_ADDR_MASK) << 16) 262 - + CONFIG_SYS_SDRAM_BASE; 262 + + CFG_SYS_SDRAM_BASE; 263 263 end_addr = (range & EMIF_ECC_REG_ECC_END_ADDR_MASK) + 0xFFFF + 264 - CONFIG_SYS_SDRAM_BASE; 264 + CFG_SYS_SDRAM_BASE; 265 265 if ((addr >= start_addr) && (addr <= end_addr)) 266 266 /* addr within ecc address range 2 */ 267 267 return 1; ··· 309 309 start_addr = hextoul(argv[2], NULL); 310 310 end_addr = hextoul(argv[3], NULL); 311 311 312 - if ((start_addr < CONFIG_SYS_SDRAM_BASE) || 313 - (start_addr > (CONFIG_SYS_SDRAM_BASE + 312 + if ((start_addr < CFG_SYS_SDRAM_BASE) || 313 + (start_addr > (CFG_SYS_SDRAM_BASE + 314 314 get_effective_memsize() - 1)) || 315 - (end_addr < CONFIG_SYS_SDRAM_BASE) || 316 - (end_addr > (CONFIG_SYS_SDRAM_BASE + 315 + (end_addr < CFG_SYS_SDRAM_BASE) || 316 + (end_addr > (CFG_SYS_SDRAM_BASE + 317 317 get_effective_memsize() - 1)) || (start_addr >= end_addr)) { 318 318 puts("Invalid start or end address!\n"); 319 319 return cmd_usage(cmdtp);
+4 -4
common/board_f.c
··· 329 329 /* Get the top of usable RAM */ 330 330 __weak phys_size_t board_get_usable_ram_top(phys_size_t total_size) 331 331 { 332 - #if defined(CONFIG_SYS_SDRAM_BASE) && CONFIG_SYS_SDRAM_BASE > 0 332 + #if defined(CFG_SYS_SDRAM_BASE) && CFG_SYS_SDRAM_BASE > 0 333 333 /* 334 334 * Detect whether we have so much RAM that it goes past the end of our 335 335 * 32-bit address space. If so, clip the usable RAM so it doesn't. 336 336 */ 337 - if (gd->ram_top < CONFIG_SYS_SDRAM_BASE) 337 + if (gd->ram_top < CFG_SYS_SDRAM_BASE) 338 338 /* 339 339 * Will wrap back to top of 32-bit space when reservations 340 340 * are made. ··· 369 369 */ 370 370 gd->ram_size -= CONFIG_SYS_MEM_TOP_HIDE; 371 371 #endif 372 - #ifdef CONFIG_SYS_SDRAM_BASE 373 - gd->ram_base = CONFIG_SYS_SDRAM_BASE; 372 + #ifdef CFG_SYS_SDRAM_BASE 373 + gd->ram_base = CFG_SYS_SDRAM_BASE; 374 374 #endif 375 375 gd->ram_top = gd->ram_base + get_effective_memsize(); 376 376 gd->ram_top = board_get_usable_ram_top(gd->mon_len);
+8 -8
doc/arch/m68k.rst
··· 142 142 cache-related registers config 143 143 CONFIG_SYS_CACHE_ACRX: 144 144 cache-related registers config 145 - CONFIG_SYS_SDRAM_BASE: 145 + CFG_SYS_SDRAM_BASE: 146 146 SDRAM config for SDRAM controller-specific registers 147 - CONFIG_SYS_SDRAM_SIZE: 147 + CFG_SYS_SDRAM_SIZE: 148 148 SDRAM config for SDRAM controller-specific registers 149 - CONFIG_SYS_SDRAM_BASEX: 149 + CFG_SYS_SDRAM_BASEX: 150 150 SDRAM config for SDRAM controller-specific registers 151 - CONFIG_SYS_SDRAM_CFG1: 151 + CFG_SYS_SDRAM_CFG1: 152 152 SDRAM config for SDRAM controller-specific registers 153 - CONFIG_SYS_SDRAM_CFG2: 153 + CFG_SYS_SDRAM_CFG2: 154 154 SDRAM config for SDRAM controller-specific registers 155 - CONFIG_SYS_SDRAM_CTRL: 155 + CFG_SYS_SDRAM_CTRL: 156 156 SDRAM config for SDRAM controller-specific registers 157 - CONFIG_SYS_SDRAM_MODE: 157 + CFG_SYS_SDRAM_MODE: 158 158 SDRAM config for SDRAM controller-specific registers 159 - CONFIG_SYS_SDRAM_EMOD: 159 + CFG_SYS_SDRAM_EMOD: 160 160 SDRAM config for SDRAM controller-specific registers, please 161 161 see arch/m68k/cpu/<specific_cpu>/start.S files to see how 162 162 these options are used.
+2 -2
doc/arch/nios2.rst
··· 96 96 97 97 .. code-block:: c 98 98 99 - #define CONFIG_SYS_SDRAM_BASE 0xc8000000 100 - #define CONFIG_SYS_SDRAM_SIZE 0x08000000 99 + #define CFG_SYS_SDRAM_BASE 0xc8000000 100 + #define CFG_SYS_SDRAM_SIZE 0x08000000 101 101 102 102 You will need to change the environment variables location and setting, 103 103 too. You may change other configs to fit your board.
+1 -1
drivers/ddr/fsl/arm_ddr_gen3.c
··· 130 130 if (is_warm_boot()) { 131 131 ddr_out32(&ddr->sdram_cfg_2, 132 132 regs->ddr_sdram_cfg_2 & ~SDRAM_CFG2_D_INIT); 133 - ddr_out32(&ddr->init_addr, CONFIG_SYS_SDRAM_BASE); 133 + ddr_out32(&ddr->init_addr, CFG_SYS_SDRAM_BASE); 134 134 ddr_out32(&ddr->init_ext_addr, DDR_INIT_ADDR_EXT_UIA); 135 135 136 136 /* DRAM VRef will not be trained */
+1 -1
drivers/ddr/fsl/fsl_ddr_gen4.c
··· 230 230 if (is_warm_boot()) { 231 231 ddr_out32(&ddr->sdram_cfg_2, 232 232 regs->ddr_sdram_cfg_2 & ~SDRAM_CFG2_D_INIT); 233 - ddr_out32(&ddr->init_addr, CONFIG_SYS_SDRAM_BASE); 233 + ddr_out32(&ddr->init_addr, CFG_SYS_SDRAM_BASE); 234 234 ddr_out32(&ddr->init_ext_addr, DDR_INIT_ADDR_EXT_UIA); 235 235 236 236 /* DRAM VRef will not be trained */
+1 -1
drivers/ddr/fsl/main.c
··· 30 30 */ 31 31 #ifndef CFG_SYS_FSL_DDR_SDRAM_BASE_PHY 32 32 #ifdef CONFIG_MPC83xx 33 - #define CFG_SYS_FSL_DDR_SDRAM_BASE_PHY CONFIG_SYS_SDRAM_BASE 33 + #define CFG_SYS_FSL_DDR_SDRAM_BASE_PHY CFG_SYS_SDRAM_BASE 34 34 #else 35 35 #define CFG_SYS_FSL_DDR_SDRAM_BASE_PHY CONFIG_SYS_DDR_SDRAM_BASE 36 36 #endif
+1 -1
drivers/ddr/fsl/mpc85xx_ddr_gen3.c
··· 162 162 if (is_warm_boot()) { 163 163 out_be32(&ddr->sdram_cfg_2, 164 164 regs->ddr_sdram_cfg_2 & ~SDRAM_CFG2_D_INIT); 165 - out_be32(&ddr->init_addr, CONFIG_SYS_SDRAM_BASE); 165 + out_be32(&ddr->init_addr, CFG_SYS_SDRAM_BASE); 166 166 out_be32(&ddr->init_ext_addr, DDR_INIT_ADDR_EXT_UIA); 167 167 168 168 /* DRAM VRef will not be trained */
+2 -2
drivers/ddr/marvell/axp/ddr3_axp.h
··· 19 19 #define FAR_END_DIMM_ADDR 0x50 20 20 #define MAX_DIMM_ADDR 0x60 21 21 22 - #ifndef CONFIG_SYS_SDRAM_SIZE 22 + #ifndef CFG_SYS_SDRAM_SIZE 23 23 #define SDRAM_CS_SIZE 0xFFFFFFF 24 24 #else 25 - #define SDRAM_CS_SIZE ((CONFIG_SYS_SDRAM_SIZE >> 10) - 1) 25 + #define SDRAM_CS_SIZE ((CFG_SYS_SDRAM_SIZE >> 10) - 1) 26 26 #endif 27 27 #define SDRAM_CS_BASE 0x0 28 28 #define SDRAM_DIMM_SIZE 0x80000000
+1 -1
drivers/pci/Kconfig
··· 60 60 instead of a physical address (e.g. on MIPS). The PCI core will then remap 61 61 the virtual memory base address to a physical address when adding the PCI 62 62 region of type PCI_REGION_SYS_MEMORY. 63 - This should only be required on MIPS where CONFIG_SYS_SDRAM_BASE is still 63 + This should only be required on MIPS where CFG_SYS_SDRAM_BASE is still 64 64 being used as virtual address. 65 65 66 66 config PCI_SRIOV
+2 -2
drivers/pci/pci-rcar-gen2.c
··· 191 191 192 192 /* AHB-PCI Bridge Communication Registers */ 193 193 writel(RCAR_AHB_BUS_MODE, priv->cfg_base + RCAR_AHB_BUS_CTR_REG); 194 - writel((CONFIG_SYS_SDRAM_BASE & 0xf0000000) | RCAR_PCIAHB_PREFETCH16, 194 + writel((CFG_SYS_SDRAM_BASE & 0xf0000000) | RCAR_PCIAHB_PREFETCH16, 195 195 priv->cfg_base + RCAR_PCIAHB_WIN1_CTR_REG); 196 196 writel(0xf0000000 | RCAR_PCIAHB_PREFETCH16, 197 197 priv->cfg_base + RCAR_PCIAHB_WIN2_CTR_REG); ··· 204 204 /* PCI Configuration Registers for AHBPCI */ 205 205 devad = setup_bus_address(dev, PCI_BDF(0, 0, 0), 0); 206 206 writel(priv->cfg_base + 0x800, devad + PCI_BASE_ADDRESS_0); 207 - writel(CONFIG_SYS_SDRAM_BASE & 0xf0000000, devad + PCI_BASE_ADDRESS_1); 207 + writel(CFG_SYS_SDRAM_BASE & 0xf0000000, devad + PCI_BASE_ADDRESS_1); 208 208 writel(0xf0000000, devad + PCI_BASE_ADDRESS_2); 209 209 writel(PCI_COMMAND_MEMORY | PCI_COMMAND_MASTER | 210 210 PCI_COMMAND_PARITY | PCI_COMMAND_SERR,
+3 -3
drivers/pci/pci_sh7751.c
··· 158 158 159 159 /* Set up target memory mappings (for external DMA access) */ 160 160 /* Map both P0 and P2 range to Area 3 RAM for ease of use */ 161 - p4_out(CONFIG_SYS_SDRAM_SIZE - 0x100000, SH7751_PCILSR0); 162 - p4_out(CONFIG_SYS_SDRAM_BASE & 0x1FF00000, SH7751_PCILAR0); 163 - p4_out(CONFIG_SYS_SDRAM_BASE & 0xFFF00000, SH7751_PCICONF5); 161 + p4_out(CFG_SYS_SDRAM_SIZE - 0x100000, SH7751_PCILSR0); 162 + p4_out(CFG_SYS_SDRAM_BASE & 0x1FF00000, SH7751_PCILAR0); 163 + p4_out(CFG_SYS_SDRAM_BASE & 0xFFF00000, SH7751_PCICONF5); 164 164 165 165 p4_out(0, SH7751_PCILSR1); 166 166 p4_out(0, SH7751_PCILAR1);
+2 -2
drivers/pci/pcie_dw_mvebu.c
··· 459 459 } 460 460 461 461 /* Set the BAR base and size towards DDR */ 462 - bar0 = CONFIG_SYS_SDRAM_BASE & ~0xf; 462 + bar0 = CFG_SYS_SDRAM_BASE & ~0xf; 463 463 bar0 |= PCI_BASE_ADDRESS_MEM_TYPE_32; 464 - writel(CONFIG_SYS_SDRAM_BASE, regs_base + PCIE_CONFIG_BAR0); 464 + writel(CFG_SYS_SDRAM_BASE, regs_base + PCIE_CONFIG_BAR0); 465 465 466 466 reg = ((size >> 20) - 1) << 12; 467 467 writel(size, regs_base + RESIZABLE_BAR_CTL0);
+2 -2
drivers/pci/pcie_layerscape.h
··· 14 14 #include <asm/arch-ls102xa/svr.h> 15 15 16 16 #ifndef CFG_SYS_PCI_MEMORY_BUS 17 - #define CFG_SYS_PCI_MEMORY_BUS CONFIG_SYS_SDRAM_BASE 17 + #define CFG_SYS_PCI_MEMORY_BUS CFG_SYS_SDRAM_BASE 18 18 #endif 19 19 20 20 #ifndef CFG_SYS_PCI_MEMORY_PHYS 21 - #define CFG_SYS_PCI_MEMORY_PHYS CONFIG_SYS_SDRAM_BASE 21 + #define CFG_SYS_PCI_MEMORY_PHYS CFG_SYS_SDRAM_BASE 22 22 #endif 23 23 24 24 #ifndef CFG_SYS_PCI_MEMORY_SIZE
+2 -2
drivers/ram/aspeed/sdram_ast2500.c
··· 203 203 u32 test_pattern = 0xdeadbeef; 204 204 u32 cap_param = SDRAM_CONF_CAP_1024M; 205 205 u32 refresh_timing_param = DDR4_TRFC; 206 - const u32 write_addr_base = CONFIG_SYS_SDRAM_BASE + write_test_offset; 206 + const u32 write_addr_base = CFG_SYS_SDRAM_BASE + write_test_offset; 207 207 208 208 for (ram_size = SDRAM_MAX_SIZE; ram_size > SDRAM_MIN_SIZE; 209 209 ram_size >>= 1) { ··· 231 231 ((refresh_timing_param & SDRAM_AC_TRFC_MASK) 232 232 << SDRAM_AC_TRFC_SHIFT)); 233 233 234 - info->info.base = CONFIG_SYS_SDRAM_BASE; 234 + info->info.base = CFG_SYS_SDRAM_BASE; 235 235 info->info.size = ram_size - ast2500_sdrammc_get_vga_mem_size(info); 236 236 clrsetbits_le32(&info->regs->config, 237 237 (SDRAM_CONF_CAP_MASK << SDRAM_CONF_CAP_SHIFT),
+3 -3
drivers/ram/aspeed/sdram_ast2600.c
··· 838 838 u32 test_pattern = 0xdeadbeef; 839 839 u32 cap_param = SDRAM_CONF_CAP_2048M; 840 840 u32 refresh_timing_param = DDR4_TRFC; 841 - const u32 write_addr_base = CONFIG_SYS_SDRAM_BASE + write_test_offset; 841 + const u32 write_addr_base = CFG_SYS_SDRAM_BASE + write_test_offset; 842 842 843 843 for (ram_size = SDRAM_MAX_SIZE; ram_size > SDRAM_MIN_SIZE; 844 844 ram_size >>= 1) { ··· 866 866 ((refresh_timing_param & SDRAM_AC_TRFC_MASK) 867 867 << SDRAM_AC_TRFC_SHIFT)); 868 868 869 - info->info.base = CONFIG_SYS_SDRAM_BASE; 869 + info->info.base = CFG_SYS_SDRAM_BASE; 870 870 info->info.size = ram_size - ast2600_sdrammc_get_vga_mem_size(info); 871 871 872 872 clrsetbits_le32(&info->regs->config, SDRAM_CONF_CAP_MASK, ··· 1015 1015 break; 1016 1016 } 1017 1017 1018 - info->info.base = CONFIG_SYS_SDRAM_BASE; 1018 + info->info.base = CFG_SYS_SDRAM_BASE; 1019 1019 info->info.size = ram_size - ast2600_sdrammc_get_vga_mem_size(info); 1020 1020 1021 1021 if (0 == (conf & SDRAM_CONF_ECC_SETUP))
+6 -6
drivers/ram/mediatek/ddr3-mt7629.c
··· 243 243 * and it has maximum addressing region 244 244 */ 245 245 246 - writel(WALKING_PATTERN, CONFIG_SYS_SDRAM_BASE); 246 + writel(WALKING_PATTERN, CFG_SYS_SDRAM_BASE); 247 247 248 - if (readl(CONFIG_SYS_SDRAM_BASE) != WALKING_PATTERN) 248 + if (readl(CFG_SYS_SDRAM_BASE) != WALKING_PATTERN) 249 249 return -EINVAL; 250 250 251 251 for (step = 0; step < 5; step++) { 252 - writel(~WALKING_PATTERN, CONFIG_SYS_SDRAM_BASE + 252 + writel(~WALKING_PATTERN, CFG_SYS_SDRAM_BASE + 253 253 (WALKING_STEP << step)); 254 254 255 - start = readl(CONFIG_SYS_SDRAM_BASE); 256 - test = readl(CONFIG_SYS_SDRAM_BASE + (WALKING_STEP << step)); 255 + start = readl(CFG_SYS_SDRAM_BASE); 256 + test = readl(CFG_SYS_SDRAM_BASE + (WALKING_STEP << step)); 257 257 if ((test != ~WALKING_PATTERN) || test == start) 258 258 break; 259 259 } ··· 727 727 struct mtk_ddr3_priv *priv = dev_get_priv(dev); 728 728 u32 val = readl(priv->emi + EMI_CONA); 729 729 730 - info->base = CONFIG_SYS_SDRAM_BASE; 730 + info->base = CFG_SYS_SDRAM_BASE; 731 731 732 732 switch ((val & EMI_COL_ADDR_MASK) >> EMI_COL_ADDR_SHIFT) { 733 733 case 0:
+1 -1
drivers/ram/octeon/octeon_ddr.c
··· 2687 2687 if (!mem_mbytes) 2688 2688 return -ENODEV; 2689 2689 2690 - priv->info.base = CONFIG_SYS_SDRAM_BASE; 2690 + priv->info.base = CFG_SYS_SDRAM_BASE; 2691 2691 priv->info.size = MB(mem_mbytes); 2692 2692 2693 2693 /*
+6 -6
drivers/ram/rockchip/dmc-rk3368.c
··· 617 617 618 618 /* Detect col */ 619 619 for (col = 11; col >= 9; col--) { 620 - writel(0, CONFIG_SYS_SDRAM_BASE); 621 - addr = CONFIG_SYS_SDRAM_BASE + 620 + writel(0, CFG_SYS_SDRAM_BASE); 621 + addr = CFG_SYS_SDRAM_BASE + 622 622 (1 << (col + params->chan.bw - 1)); 623 623 writel(test_pattern, addr); 624 624 if ((readl(addr) == test_pattern) && 625 - (readl(CONFIG_SYS_SDRAM_BASE) == 0)) 625 + (readl(CFG_SYS_SDRAM_BASE) == 0)) 626 626 break; 627 627 } 628 628 ··· 637 637 638 638 /* Detect row*/ 639 639 for (row = 16; row >= 12; row--) { 640 - writel(0, CONFIG_SYS_SDRAM_BASE); 641 - addr = CONFIG_SYS_SDRAM_BASE + (1 << (row + 15 - 1)); 640 + writel(0, CFG_SYS_SDRAM_BASE); 641 + addr = CFG_SYS_SDRAM_BASE + (1 << (row + 15 - 1)); 642 642 writel(test_pattern, addr); 643 643 if ((readl(addr) == test_pattern) && 644 - (readl(CONFIG_SYS_SDRAM_BASE) == 0)) 644 + (readl(CFG_SYS_SDRAM_BASE) == 0)) 645 645 break; 646 646 } 647 647
+17 -17
drivers/ram/rockchip/sdram_common.c
··· 220 220 u32 bw = cap_info->bw; 221 221 222 222 for (col = coltmp; col >= 9; col -= 1) { 223 - writel(0, CONFIG_SYS_SDRAM_BASE); 224 - test_addr = (void __iomem *)(CONFIG_SYS_SDRAM_BASE + 223 + writel(0, CFG_SYS_SDRAM_BASE); 224 + test_addr = (void __iomem *)(CFG_SYS_SDRAM_BASE + 225 225 (1ul << (col + bw - 1ul))); 226 226 writel(PATTERN, test_addr); 227 227 if ((readl(test_addr) == PATTERN) && 228 - (readl(CONFIG_SYS_SDRAM_BASE) == 0)) 228 + (readl(CFG_SYS_SDRAM_BASE) == 0)) 229 229 break; 230 230 } 231 231 if (col == 8) { ··· 245 245 u32 bk; 246 246 u32 bw = cap_info->bw; 247 247 248 - test_addr = (void __iomem *)(CONFIG_SYS_SDRAM_BASE + 248 + test_addr = (void __iomem *)(CFG_SYS_SDRAM_BASE + 249 249 (1ul << (coltmp + bktmp + bw - 1ul))); 250 - writel(0, CONFIG_SYS_SDRAM_BASE); 250 + writel(0, CFG_SYS_SDRAM_BASE); 251 251 writel(PATTERN, test_addr); 252 252 if ((readl(test_addr) == PATTERN) && 253 - (readl(CONFIG_SYS_SDRAM_BASE) == 0)) 253 + (readl(CFG_SYS_SDRAM_BASE) == 0)) 254 254 bk = 3; 255 255 else 256 256 bk = 2; ··· 268 268 u32 dbw; 269 269 u32 bw = cap_info->bw; 270 270 271 - test_addr = (void __iomem *)(CONFIG_SYS_SDRAM_BASE + 271 + test_addr = (void __iomem *)(CFG_SYS_SDRAM_BASE + 272 272 (1ul << (coltmp + bw + 1ul))); 273 - writel(0, CONFIG_SYS_SDRAM_BASE); 273 + writel(0, CFG_SYS_SDRAM_BASE); 274 274 writel(PATTERN, test_addr); 275 275 if ((readl(test_addr) == PATTERN) && 276 - (readl(CONFIG_SYS_SDRAM_BASE) == 0)) 276 + (readl(CFG_SYS_SDRAM_BASE) == 0)) 277 277 dbw = 0; 278 278 else 279 279 dbw = 1; ··· 337 337 void __iomem *test_addr; 338 338 339 339 for (row = rowtmp; row > 12; row--) { 340 - writel(0, CONFIG_SYS_SDRAM_BASE); 341 - test_addr = (void __iomem *)(CONFIG_SYS_SDRAM_BASE + 340 + writel(0, CFG_SYS_SDRAM_BASE); 341 + test_addr = (void __iomem *)(CFG_SYS_SDRAM_BASE + 342 342 (1ul << (row + bktmp + coltmp + bw - 1ul))); 343 343 writel(PATTERN, test_addr); 344 344 if ((readl(test_addr) == PATTERN) && 345 - (readl(CONFIG_SYS_SDRAM_BASE) == 0)) 345 + (readl(CFG_SYS_SDRAM_BASE) == 0)) 346 346 break; 347 347 } 348 348 if (row == 12) { ··· 363 363 u32 row = cap_info->cs0_row; 364 364 void __iomem *test_addr, *test_addr1; 365 365 366 - test_addr = CONFIG_SYS_SDRAM_BASE; 367 - test_addr1 = (void __iomem *)(CONFIG_SYS_SDRAM_BASE + 366 + test_addr = CFG_SYS_SDRAM_BASE; 367 + test_addr1 = (void __iomem *)(CFG_SYS_SDRAM_BASE + 368 368 (0x3ul << (row + bktmp + coltmp + bw - 1ul - 1ul))); 369 369 370 370 writel(0, test_addr); ··· 421 421 422 422 /* detect cs1 row */ 423 423 for (row = cap_info->cs0_row; row > 12; row--) { 424 - test_addr = (void __iomem *)(CONFIG_SYS_SDRAM_BASE + 424 + test_addr = (void __iomem *)(CFG_SYS_SDRAM_BASE + 425 425 cs0_cap + 426 426 (1ul << (row + bktmp + coltmp + bw - 1ul))); 427 - writel(0, CONFIG_SYS_SDRAM_BASE + cs0_cap); 427 + writel(0, CFG_SYS_SDRAM_BASE + cs0_cap); 428 428 writel(PATTERN, test_addr); 429 429 430 430 if (((readl(test_addr) & byte_mask) == 431 431 (PATTERN & byte_mask)) && 432 - ((readl(CONFIG_SYS_SDRAM_BASE + cs0_cap) & 432 + ((readl(CFG_SYS_SDRAM_BASE + cs0_cap) & 433 433 byte_mask) == 0)) { 434 434 break; 435 435 }
+1 -1
drivers/ram/rockchip/sdram_px30.c
··· 726 726 727 727 priv->pmugrf = syscon_get_first_range(ROCKCHIP_SYSCON_PMUGRF); 728 728 debug("%s: grf=%p\n", __func__, priv->pmugrf); 729 - priv->info.base = CONFIG_SYS_SDRAM_BASE; 729 + priv->info.base = CFG_SYS_SDRAM_BASE; 730 730 priv->info.size = 731 731 rockchip_sdram_size((phys_addr_t)&priv->pmugrf->os_reg[2]); 732 732
+7 -7
drivers/ram/rockchip/sdram_rk3066.c
··· 616 616 617 617 /* Detect col. */ 618 618 for (col = 11; col >= 9; col--) { 619 - writel(0, CONFIG_SYS_SDRAM_BASE); 620 - addr = CONFIG_SYS_SDRAM_BASE + 619 + writel(0, CFG_SYS_SDRAM_BASE); 620 + addr = CFG_SYS_SDRAM_BASE + 621 621 (1 << (col + sdram_params->ch[channel].bw - 1)); 622 622 writel(TEST_PATTERN, addr); 623 623 if ((readl(addr) == TEST_PATTERN) && 624 - (readl(CONFIG_SYS_SDRAM_BASE) == 0)) 624 + (readl(CFG_SYS_SDRAM_BASE) == 0)) 625 625 break; 626 626 } 627 627 if (col == 8) { ··· 638 638 rk3066_dmc_move_to_access_state(chan); 639 639 /* Detect row, max 15, min13 for rk3066 */ 640 640 for (row = 16; row >= 13; row--) { 641 - writel(0, CONFIG_SYS_SDRAM_BASE); 642 - addr = CONFIG_SYS_SDRAM_BASE + (1 << (row + 15 - 1)); 641 + writel(0, CFG_SYS_SDRAM_BASE); 642 + addr = CFG_SYS_SDRAM_BASE + (1 << (row + 15 - 1)); 643 643 writel(TEST_PATTERN, addr); 644 644 if ((readl(addr) == TEST_PATTERN) && 645 - (readl(CONFIG_SYS_SDRAM_BASE) == 0)) 645 + (readl(CFG_SYS_SDRAM_BASE) == 0)) 646 646 break; 647 647 } 648 648 if (row == 12) { ··· 854 854 if (ret) 855 855 return ret; 856 856 } else { 857 - priv->info.base = CONFIG_SYS_SDRAM_BASE; 857 + priv->info.base = CFG_SYS_SDRAM_BASE; 858 858 priv->info.size = rockchip_sdram_size((phys_addr_t)&priv->pmu->sys_reg[2]); 859 859 } 860 860
+1 -1
drivers/ram/rockchip/sdram_rk3128.c
··· 23 23 24 24 priv->grf = syscon_get_first_range(ROCKCHIP_SYSCON_GRF); 25 25 debug("%s: grf=%p\n", __func__, priv->grf); 26 - priv->info.base = CONFIG_SYS_SDRAM_BASE; 26 + priv->info.base = CFG_SYS_SDRAM_BASE; 27 27 priv->info.size = rockchip_sdram_size( 28 28 (phys_addr_t)&priv->grf->os_reg[1]); 29 29
+7 -7
drivers/ram/rockchip/sdram_rk3188.c
··· 638 638 639 639 /* Detect col */ 640 640 for (col = 11; col >= 9; col--) { 641 - writel(0, CONFIG_SYS_SDRAM_BASE); 642 - addr = CONFIG_SYS_SDRAM_BASE + 641 + writel(0, CFG_SYS_SDRAM_BASE); 642 + addr = CFG_SYS_SDRAM_BASE + 643 643 (1 << (col + sdram_params->ch[channel].bw - 1)); 644 644 writel(TEST_PATTEN, addr); 645 645 if ((readl(addr) == TEST_PATTEN) && 646 - (readl(CONFIG_SYS_SDRAM_BASE) == 0)) 646 + (readl(CFG_SYS_SDRAM_BASE) == 0)) 647 647 break; 648 648 } 649 649 if (col == 8) { ··· 660 660 move_to_access_state(chan); 661 661 /* Detect row, max 15,min13 in rk3188*/ 662 662 for (row = 16; row >= 13; row--) { 663 - writel(0, CONFIG_SYS_SDRAM_BASE); 664 - addr = CONFIG_SYS_SDRAM_BASE + (1 << (row + 15 - 1)); 663 + writel(0, CFG_SYS_SDRAM_BASE); 664 + addr = CFG_SYS_SDRAM_BASE + (1 << (row + 15 - 1)); 665 665 writel(TEST_PATTEN, addr); 666 666 if ((readl(addr) == TEST_PATTEN) && 667 - (readl(CONFIG_SYS_SDRAM_BASE) == 0)) 667 + (readl(CFG_SYS_SDRAM_BASE) == 0)) 668 668 break; 669 669 } 670 670 if (row == 12) { ··· 919 919 if (ret) 920 920 return ret; 921 921 #else 922 - priv->info.base = CONFIG_SYS_SDRAM_BASE; 922 + priv->info.base = CFG_SYS_SDRAM_BASE; 923 923 priv->info.size = rockchip_sdram_size( 924 924 (phys_addr_t)&priv->pmu->sys_reg[2]); 925 925 #endif
+12 -12
drivers/ram/rockchip/sdram_rk322x.c
··· 636 636 writel(3, &axi_bus->ddrconf); 637 637 move_to_access_state(dram->chan[0].pctl); 638 638 for (col = 11; col >= 9; col--) { 639 - writel(0, CONFIG_SYS_SDRAM_BASE); 640 - addr = CONFIG_SYS_SDRAM_BASE + 639 + writel(0, CFG_SYS_SDRAM_BASE); 640 + addr = CFG_SYS_SDRAM_BASE + 641 641 (1 << (col + bw - 1)); 642 642 writel(TEST_PATTEN, addr); 643 643 if ((readl(addr) == TEST_PATTEN) && 644 - (readl(CONFIG_SYS_SDRAM_BASE) == 0)) 644 + (readl(CFG_SYS_SDRAM_BASE) == 0)) 645 645 break; 646 646 } 647 647 if (col == 8) { ··· 656 656 657 657 /* Detect row*/ 658 658 for (row = 16; row >= 12; row--) { 659 - writel(0, CONFIG_SYS_SDRAM_BASE); 660 - addr = CONFIG_SYS_SDRAM_BASE + (1u << (row + 11 + 3 - 1)); 659 + writel(0, CFG_SYS_SDRAM_BASE); 660 + addr = CFG_SYS_SDRAM_BASE + (1u << (row + 11 + 3 - 1)); 661 661 writel(TEST_PATTEN, addr); 662 662 if ((readl(addr) == TEST_PATTEN) && 663 - (readl(CONFIG_SYS_SDRAM_BASE) == 0)) 663 + (readl(CFG_SYS_SDRAM_BASE) == 0)) 664 664 break; 665 665 } 666 666 if (row == 11) { ··· 672 672 sdram_params->ch[0].cs0_row = row; 673 673 } 674 674 /* cs detect */ 675 - writel(0, CONFIG_SYS_SDRAM_BASE); 676 - writel(TEST_PATTEN, CONFIG_SYS_SDRAM_BASE + (1u << 30)); 677 - writel(~TEST_PATTEN, CONFIG_SYS_SDRAM_BASE + (1u << 30) + 4); 678 - if ((readl(CONFIG_SYS_SDRAM_BASE + (1u << 30)) == TEST_PATTEN) && 679 - (readl(CONFIG_SYS_SDRAM_BASE) == 0)) 675 + writel(0, CFG_SYS_SDRAM_BASE); 676 + writel(TEST_PATTEN, CFG_SYS_SDRAM_BASE + (1u << 30)); 677 + writel(~TEST_PATTEN, CFG_SYS_SDRAM_BASE + (1u << 30) + 4); 678 + if ((readl(CFG_SYS_SDRAM_BASE + (1u << 30)) == TEST_PATTEN) && 679 + (readl(CFG_SYS_SDRAM_BASE) == 0)) 680 680 sdram_params->ch[0].rank = 2; 681 681 else 682 682 sdram_params->ch[0].rank = 1; ··· 813 813 if (ret) 814 814 return ret; 815 815 #else 816 - priv->info.base = CONFIG_SYS_SDRAM_BASE; 816 + priv->info.base = CFG_SYS_SDRAM_BASE; 817 817 priv->info.size = rockchip_sdram_size( 818 818 (phys_addr_t)&priv->grf->os_reg[2]); 819 819 #endif
+7 -7
drivers/ram/rockchip/sdram_rk3288.c
··· 684 684 685 685 /* Detect col */ 686 686 for (col = 11; col >= 9; col--) { 687 - writel(0, CONFIG_SYS_SDRAM_BASE); 688 - addr = CONFIG_SYS_SDRAM_BASE + 687 + writel(0, CFG_SYS_SDRAM_BASE); 688 + addr = CFG_SYS_SDRAM_BASE + 689 689 (1 << (col + sdram_params->ch[channel].bw - 1)); 690 690 writel(TEST_PATTEN, addr); 691 691 if ((readl(addr) == TEST_PATTEN) && 692 - (readl(CONFIG_SYS_SDRAM_BASE) == 0)) 692 + (readl(CFG_SYS_SDRAM_BASE) == 0)) 693 693 break; 694 694 } 695 695 if (col == 8) { ··· 705 705 move_to_access_state(chan); 706 706 /* Detect row*/ 707 707 for (row = 16; row >= 12; row--) { 708 - writel(0, CONFIG_SYS_SDRAM_BASE); 709 - addr = CONFIG_SYS_SDRAM_BASE + (1 << (row + 15 - 1)); 708 + writel(0, CFG_SYS_SDRAM_BASE); 709 + addr = CFG_SYS_SDRAM_BASE + (1 << (row + 15 - 1)); 710 710 writel(TEST_PATTEN, addr); 711 711 if ((readl(addr) == TEST_PATTEN) && 712 - (readl(CONFIG_SYS_SDRAM_BASE) == 0)) 712 + (readl(CFG_SYS_SDRAM_BASE) == 0)) 713 713 break; 714 714 } 715 715 if (row == 11) { ··· 1087 1087 if (ret) 1088 1088 return ret; 1089 1089 #else 1090 - priv->info.base = CONFIG_SYS_SDRAM_BASE; 1090 + priv->info.base = CFG_SYS_SDRAM_BASE; 1091 1091 priv->info.size = rockchip_sdram_size( 1092 1092 (phys_addr_t)&priv->pmu->sys_reg[2]); 1093 1093 #endif
+1 -1
drivers/ram/rockchip/sdram_rk3308.c
··· 21 21 struct dram_info *priv = dev_get_priv(dev); 22 22 23 23 priv->grf = syscon_get_first_range(ROCKCHIP_SYSCON_GRF); 24 - priv->info.base = CONFIG_SYS_SDRAM_BASE; 24 + priv->info.base = CFG_SYS_SDRAM_BASE; 25 25 priv->info.size = rockchip_sdram_size((phys_addr_t)&priv->grf->os_reg2); 26 26 27 27 return 0;
+1 -1
drivers/ram/rockchip/sdram_rk3328.c
··· 580 580 581 581 priv->grf = syscon_get_first_range(ROCKCHIP_SYSCON_GRF); 582 582 debug("%s: grf=%p\n", __func__, priv->grf); 583 - priv->info.base = CONFIG_SYS_SDRAM_BASE; 583 + priv->info.base = CFG_SYS_SDRAM_BASE; 584 584 priv->info.size = rockchip_sdram_size( 585 585 (phys_addr_t)&priv->grf->os_reg[2]); 586 586 #endif
+1 -1
drivers/ram/rockchip/sdram_rk3399.c
··· 3151 3151 3152 3152 priv->pmugrf = syscon_get_first_range(ROCKCHIP_SYSCON_PMUGRF); 3153 3153 debug("%s: pmugrf = %p\n", __func__, priv->pmugrf); 3154 - priv->info.base = CONFIG_SYS_SDRAM_BASE; 3154 + priv->info.base = CFG_SYS_SDRAM_BASE; 3155 3155 priv->info.size = 3156 3156 rockchip_sdram_size((phys_addr_t)&priv->pmugrf->os_reg2); 3157 3157 #endif
+1 -1
drivers/ram/rockchip/sdram_rk3568.c
··· 21 21 struct dram_info *priv = dev_get_priv(dev); 22 22 23 23 priv->pmugrf = syscon_get_first_range(ROCKCHIP_SYSCON_PMUGRF); 24 - priv->info.base = CONFIG_SYS_SDRAM_BASE; 24 + priv->info.base = CFG_SYS_SDRAM_BASE; 25 25 priv->info.size = 26 26 rockchip_sdram_size((phys_addr_t)&priv->pmugrf->pmu_os_reg2); 27 27
+2 -2
drivers/usb/host/ehci-rmobile.c
··· 90 90 91 91 /* AHB-PCI Bridge Communication Registers */ 92 92 writel(AHB_BUS_CTR_INIT, &ahbcom_pci->ahb_bus_ctr); 93 - writel((CONFIG_SYS_SDRAM_BASE & 0xf0000000) | PCIAHB_WIN_PREFETCH, 93 + writel((CFG_SYS_SDRAM_BASE & 0xf0000000) | PCIAHB_WIN_PREFETCH, 94 94 &ahbcom_pci->pciahb_win1_ctr); 95 95 writel(0xf0000000 | PCIAHB_WIN_PREFETCH, 96 96 &ahbcom_pci->pciahb_win2_ctr); ··· 103 103 writel(PCIWIN1_PCICMD | AHB_CFG_AHBPCI, 104 104 &ahbcom_pci->ahbpci_win1_ctr); 105 105 writel(phys_base + AHBPCI_OFFSET, &ahbconf_pci->basead); 106 - writel(CONFIG_SYS_SDRAM_BASE & 0xf0000000, &ahbconf_pci->win1_basead); 106 + writel(CFG_SYS_SDRAM_BASE & 0xf0000000, &ahbconf_pci->win1_basead); 107 107 writel(0xf0000000, &ahbconf_pci->win2_basead); 108 108 writel(SERREN | PERREN | MASTEREN | MEMEN, 109 109 &ahbconf_pci->cmnd_sts);
+2 -2
drivers/video/sunxi/sunxi_display.c
··· 385 385 (struct sunxi_de_fe_reg *)SUNXI_DE_FE0_BASE; 386 386 387 387 setbits_le32(&de_fe->bypass, SUNXI_DE_FE_BYPASS_CSC_BYPASS); 388 - writel(CONFIG_SYS_SDRAM_BASE + address, &de_fe->ch0_addr); 388 + writel(CFG_SYS_SDRAM_BASE + address, &de_fe->ch0_addr); 389 389 writel(mode->xres * 4, &de_fe->ch0_stride); 390 390 writel(SUNXI_DE_FE_INPUT_FMT_ARGB8888, &de_fe->input_fmt); 391 391 writel(SUNXI_DE_FE_OUTPUT_FMT_ARGB8888, &de_fe->output_fmt); ··· 1222 1222 EFI_RESERVED_MEMORY_TYPE); 1223 1223 #endif 1224 1224 1225 - fb_dma_addr = sunxi_display->fb_addr - CONFIG_SYS_SDRAM_BASE; 1225 + fb_dma_addr = sunxi_display->fb_addr - CFG_SYS_SDRAM_BASE; 1226 1226 if (overscan_offset) { 1227 1227 fb_dma_addr += 0x1000 - (overscan_offset & 0xfff); 1228 1228 sunxi_display->fb_addr += ALIGN(overscan_offset, 0x1000);
+2 -2
include/configs/10m50_devboard.h
··· 30 30 * -The heap is placed below the monitor 31 31 * -The stack is placed below the heap (&grows down). 32 32 */ 33 - #define CONFIG_SYS_SDRAM_BASE 0xc8000000 34 - #define CONFIG_SYS_SDRAM_SIZE 0x08000000 33 + #define CFG_SYS_SDRAM_BASE 0xc8000000 34 + #define CFG_SYS_SDRAM_SIZE 0x08000000 35 35 #define CONFIG_MONITOR_IS_IN_RAM 36 36 37 37 #endif /* __CONFIG_H */
+2 -2
include/configs/3c120_devboard.h
··· 26 26 * -The heap is placed below the monitor 27 27 * -The stack is placed below the heap (&grows down). 28 28 */ 29 - #define CONFIG_SYS_SDRAM_BASE 0xD0000000 30 - #define CONFIG_SYS_SDRAM_SIZE 0x08000000 29 + #define CFG_SYS_SDRAM_BASE 0xD0000000 30 + #define CFG_SYS_SDRAM_SIZE 0x08000000 31 31 #define CONFIG_MONITOR_IS_IN_RAM 32 32 33 33 #endif /* __CONFIG_H */
+11 -11
include/configs/M5208EVBE.h
··· 60 60 /* 61 61 * Start addresses for the final memory configuration 62 62 * (Set up by the startup code) 63 - * Please note that CONFIG_SYS_SDRAM_BASE _must_ start at 0 63 + * Please note that CFG_SYS_SDRAM_BASE _must_ start at 0 64 64 */ 65 - #define CONFIG_SYS_SDRAM_BASE 0x40000000 66 - #define CONFIG_SYS_SDRAM_SIZE 32 /* SDRAM size in MB */ 67 - #define CONFIG_SYS_SDRAM_CFG1 0x43711630 68 - #define CONFIG_SYS_SDRAM_CFG2 0x56670000 69 - #define CONFIG_SYS_SDRAM_CTRL 0xE1002000 70 - #define CONFIG_SYS_SDRAM_EMOD 0x80010000 71 - #define CONFIG_SYS_SDRAM_MODE 0x00CD0000 65 + #define CFG_SYS_SDRAM_BASE 0x40000000 66 + #define CFG_SYS_SDRAM_SIZE 32 /* SDRAM size in MB */ 67 + #define CFG_SYS_SDRAM_CFG1 0x43711630 68 + #define CFG_SYS_SDRAM_CFG2 0x56670000 69 + #define CFG_SYS_SDRAM_CTRL 0xE1002000 70 + #define CFG_SYS_SDRAM_EMOD 0x80010000 71 + #define CFG_SYS_SDRAM_MODE 0x00CD0000 72 72 73 73 /* 74 74 * For booting Linux, the board info and command line data 75 75 * have to be in the first 8 MB of memory, since this is 76 76 * the maximum mapped by the Linux kernel during initialization ?? 77 77 */ 78 - #define CONFIG_SYS_BOOTMAPSZ (CONFIG_SYS_SDRAM_BASE + (CONFIG_SYS_SDRAM_SIZE << 20)) 78 + #define CONFIG_SYS_BOOTMAPSZ (CFG_SYS_SDRAM_BASE + (CFG_SYS_SDRAM_SIZE << 20)) 79 79 80 80 /* FLASH organization */ 81 81 #ifdef CONFIG_SYS_FLASH_CFI ··· 100 100 #define DCACHE_STATUS (CONFIG_SYS_INIT_RAM_ADDR + \ 101 101 CONFIG_SYS_INIT_RAM_SIZE - 4) 102 102 #define CONFIG_SYS_ICACHE_INV (CF_CACR_CINV | CF_CACR_INVI) 103 - #define CONFIG_SYS_CACHE_ACR0 (CONFIG_SYS_SDRAM_BASE | \ 104 - CF_ADDRMASK(CONFIG_SYS_SDRAM_SIZE) | \ 103 + #define CONFIG_SYS_CACHE_ACR0 (CFG_SYS_SDRAM_BASE | \ 104 + CF_ADDRMASK(CFG_SYS_SDRAM_SIZE) | \ 105 105 CF_ACR_EN | CF_ACR_SM_ALL) 106 106 #define CONFIG_SYS_CACHE_ICACR (CF_CACR_CENB | CF_CACR_CINV | \ 107 107 CF_CACR_DISD | CF_CACR_INVI | \
+6 -6
include/configs/M5235EVB.h
··· 70 70 /*----------------------------------------------------------------------- 71 71 * Start addresses for the final memory configuration 72 72 * (Set up by the startup code) 73 - * Please note that CONFIG_SYS_SDRAM_BASE _must_ start at 0 73 + * Please note that CFG_SYS_SDRAM_BASE _must_ start at 0 74 74 */ 75 - #define CONFIG_SYS_SDRAM_BASE 0x00000000 76 - #define CONFIG_SYS_SDRAM_SIZE 16 /* SDRAM size in MB */ 75 + #define CFG_SYS_SDRAM_BASE 0x00000000 76 + #define CFG_SYS_SDRAM_SIZE 16 /* SDRAM size in MB */ 77 77 78 78 /* 79 79 * For booting Linux, the board info and command line data ··· 81 81 * the maximum mapped by the Linux kernel during initialization ?? 82 82 */ 83 83 /* Initial Memory map for Linux */ 84 - #define CONFIG_SYS_BOOTMAPSZ (CONFIG_SYS_SDRAM_BASE + (CONFIG_SYS_SDRAM_SIZE << 20)) 84 + #define CONFIG_SYS_BOOTMAPSZ (CFG_SYS_SDRAM_BASE + (CFG_SYS_SDRAM_SIZE << 20)) 85 85 86 86 /*----------------------------------------------------------------------- 87 87 * FLASH organization ··· 109 109 #define DCACHE_STATUS (CONFIG_SYS_INIT_RAM_ADDR + \ 110 110 CONFIG_SYS_INIT_RAM_SIZE - 4) 111 111 #define CONFIG_SYS_ICACHE_INV (CF_CACR_CINV) 112 - #define CONFIG_SYS_CACHE_ACR0 (CONFIG_SYS_SDRAM_BASE | \ 113 - CF_ADDRMASK(CONFIG_SYS_SDRAM_SIZE) | \ 112 + #define CONFIG_SYS_CACHE_ACR0 (CFG_SYS_SDRAM_BASE | \ 113 + CF_ADDRMASK(CFG_SYS_SDRAM_SIZE) | \ 114 114 CF_ACR_EN | CF_ACR_SM_ALL) 115 115 #define CONFIG_SYS_CACHE_ICACR (CF_CACR_CENB | CF_CACR_DISD | \ 116 116 CF_CACR_CEIB | CF_CACR_DCM | \
+6 -6
include/configs/M5249EVB.h
··· 52 52 /*----------------------------------------------------------------------- 53 53 * Start addresses for the final memory configuration 54 54 * (Set up by the startup code) 55 - * Please note that CONFIG_SYS_SDRAM_BASE _must_ start at 0 55 + * Please note that CFG_SYS_SDRAM_BASE _must_ start at 0 56 56 */ 57 - #define CONFIG_SYS_SDRAM_BASE 0x00000000 58 - #define CONFIG_SYS_SDRAM_SIZE 16 /* SDRAM size in MB */ 57 + #define CFG_SYS_SDRAM_BASE 0x00000000 58 + #define CFG_SYS_SDRAM_SIZE 16 /* SDRAM size in MB */ 59 59 #define CONFIG_SYS_FLASH_BASE (CONFIG_SYS_CS0_BASE) 60 60 61 61 #if 0 /* test-only */ ··· 67 67 * have to be in the first 8 MB of memory, since this is 68 68 * the maximum mapped by the Linux kernel during initialization ?? 69 69 */ 70 - #define CONFIG_SYS_BOOTMAPSZ (CONFIG_SYS_SDRAM_BASE + (CONFIG_SYS_SDRAM_SIZE << 20)) 70 + #define CONFIG_SYS_BOOTMAPSZ (CFG_SYS_SDRAM_BASE + (CFG_SYS_SDRAM_SIZE << 20)) 71 71 72 72 /*----------------------------------------------------------------------- 73 73 * FLASH organization ··· 90 90 #define CONFIG_SYS_CACHE_ACR0 (CONFIG_SYS_FLASH_BASE | \ 91 91 CF_ADDRMASK(2) | \ 92 92 CF_ACR_EN | CF_ACR_SM_ALL) 93 - #define CONFIG_SYS_CACHE_ACR1 (CONFIG_SYS_SDRAM_BASE | \ 94 - CF_ADDRMASK(CONFIG_SYS_SDRAM_SIZE) | \ 93 + #define CONFIG_SYS_CACHE_ACR1 (CFG_SYS_SDRAM_BASE | \ 94 + CF_ADDRMASK(CFG_SYS_SDRAM_SIZE) | \ 95 95 CF_ACR_EN | CF_ACR_SM_ALL) 96 96 #define CONFIG_SYS_CACHE_ICACR (CF_CACR_CENB | CF_CACR_CEIB | \ 97 97 CF_CACR_DBWE)
+6 -6
include/configs/M5253DEMO.h
··· 77 77 /* 78 78 * Start addresses for the final memory configuration 79 79 * (Set up by the startup code) 80 - * Please note that CONFIG_SYS_SDRAM_BASE _must_ start at 0 80 + * Please note that CFG_SYS_SDRAM_BASE _must_ start at 0 81 81 */ 82 - #define CONFIG_SYS_SDRAM_BASE 0x00000000 83 - #define CONFIG_SYS_SDRAM_SIZE 16 /* SDRAM size in MB */ 82 + #define CFG_SYS_SDRAM_BASE 0x00000000 83 + #define CFG_SYS_SDRAM_SIZE 16 /* SDRAM size in MB */ 84 84 85 85 /* 86 86 * For booting Linux, the board info and command line data 87 87 * have to be in the first 8 MB of memory, since this is 88 88 * the maximum mapped by the Linux kernel during initialization ?? 89 89 */ 90 - #define CONFIG_SYS_BOOTMAPSZ (CONFIG_SYS_SDRAM_BASE + (CONFIG_SYS_SDRAM_SIZE << 20)) 90 + #define CONFIG_SYS_BOOTMAPSZ (CFG_SYS_SDRAM_BASE + (CFG_SYS_SDRAM_SIZE << 20)) 91 91 92 92 /* FLASH organization */ 93 93 #define CONFIG_SYS_FLASH_BASE (CONFIG_SYS_CS0_BASE) ··· 117 117 #define CONFIG_SYS_CACHE_ACR0 (CONFIG_SYS_FLASH_BASE | \ 118 118 CF_ADDRMASK(8) | \ 119 119 CF_ACR_EN | CF_ACR_SM_ALL) 120 - #define CONFIG_SYS_CACHE_ACR1 (CONFIG_SYS_SDRAM_BASE | \ 121 - CF_ADDRMASK(CONFIG_SYS_SDRAM_SIZE) | \ 120 + #define CONFIG_SYS_CACHE_ACR1 (CFG_SYS_SDRAM_BASE | \ 121 + CF_ADDRMASK(CFG_SYS_SDRAM_SIZE) | \ 122 122 CF_ACR_EN | CF_ACR_SM_ALL) 123 123 #define CONFIG_SYS_CACHE_ICACR (CF_CACR_CENB | CF_CACR_CEIB | \ 124 124 CF_CACR_DBWE)
+6 -6
include/configs/M5272C3.h
··· 71 71 /*----------------------------------------------------------------------- 72 72 * Start addresses for the final memory configuration 73 73 * (Set up by the startup code) 74 - * Please note that CONFIG_SYS_SDRAM_BASE _must_ start at 0 74 + * Please note that CFG_SYS_SDRAM_BASE _must_ start at 0 75 75 */ 76 - #define CONFIG_SYS_SDRAM_BASE 0x00000000 77 - #define CONFIG_SYS_SDRAM_SIZE 4 /* SDRAM size in MB */ 76 + #define CFG_SYS_SDRAM_BASE 0x00000000 77 + #define CFG_SYS_SDRAM_SIZE 4 /* SDRAM size in MB */ 78 78 #define CONFIG_SYS_FLASH_BASE 0xffe00000 79 79 80 80 /* ··· 82 82 * have to be in the first 8 MB of memory, since this is 83 83 * the maximum mapped by the Linux kernel during initialization ?? 84 84 */ 85 - #define CONFIG_SYS_BOOTMAPSZ (CONFIG_SYS_SDRAM_BASE + (CONFIG_SYS_SDRAM_SIZE << 20)) 85 + #define CONFIG_SYS_BOOTMAPSZ (CFG_SYS_SDRAM_BASE + (CFG_SYS_SDRAM_SIZE << 20)) 86 86 87 87 /* 88 88 * FLASH organization ··· 100 100 #define DCACHE_STATUS (CONFIG_SYS_INIT_RAM_ADDR + \ 101 101 CONFIG_SYS_INIT_RAM_SIZE - 4) 102 102 #define CONFIG_SYS_ICACHE_INV (CF_CACR_CINV | CF_CACR_INVI) 103 - #define CONFIG_SYS_CACHE_ACR0 (CONFIG_SYS_SDRAM_BASE | \ 104 - CF_ADDRMASK(CONFIG_SYS_SDRAM_SIZE) | \ 103 + #define CONFIG_SYS_CACHE_ACR0 (CFG_SYS_SDRAM_BASE | \ 104 + CF_ADDRMASK(CFG_SYS_SDRAM_SIZE) | \ 105 105 CF_ACR_EN | CF_ACR_SM_ALL) 106 106 #define CONFIG_SYS_CACHE_ICACR (CF_CACR_CENB | CF_CACR_CINV | \ 107 107 CF_CACR_DISD | CF_CACR_INVI | \
+6 -6
include/configs/M5275EVB.h
··· 73 73 /*----------------------------------------------------------------------- 74 74 * Start addresses for the final memory configuration 75 75 * (Set up by the startup code) 76 - * Please note that CONFIG_SYS_SDRAM_BASE _must_ start at 0 76 + * Please note that CFG_SYS_SDRAM_BASE _must_ start at 0 77 77 */ 78 - #define CONFIG_SYS_SDRAM_BASE 0x00000000 79 - #define CONFIG_SYS_SDRAM_SIZE 16 /* SDRAM size in MB */ 78 + #define CFG_SYS_SDRAM_BASE 0x00000000 79 + #define CFG_SYS_SDRAM_SIZE 16 /* SDRAM size in MB */ 80 80 #define CONFIG_SYS_FLASH_BASE CONFIG_SYS_CS0_BASE 81 81 82 82 /* ··· 84 84 * have to be in the first 8 MB of memory, since this is 85 85 * the maximum mapped by the Linux kernel during initialization ?? 86 86 */ 87 - #define CONFIG_SYS_BOOTMAPSZ (CONFIG_SYS_SDRAM_BASE + (CONFIG_SYS_SDRAM_SIZE << 20)) 87 + #define CONFIG_SYS_BOOTMAPSZ (CFG_SYS_SDRAM_BASE + (CFG_SYS_SDRAM_SIZE << 20)) 88 88 89 89 /*----------------------------------------------------------------------- 90 90 * FLASH organization ··· 101 101 #define DCACHE_STATUS (CONFIG_SYS_INIT_RAM_ADDR + \ 102 102 CONFIG_SYS_INIT_RAM_SIZE - 4) 103 103 #define CONFIG_SYS_ICACHE_INV (CF_CACR_CINV | CF_CACR_INVI) 104 - #define CONFIG_SYS_CACHE_ACR0 (CONFIG_SYS_SDRAM_BASE | \ 105 - CF_ADDRMASK(CONFIG_SYS_SDRAM_SIZE) | \ 104 + #define CONFIG_SYS_CACHE_ACR0 (CFG_SYS_SDRAM_BASE | \ 105 + CF_ADDRMASK(CFG_SYS_SDRAM_SIZE) | \ 106 106 CF_ACR_EN | CF_ACR_SM_ALL) 107 107 #define CONFIG_SYS_CACHE_ICACR (CF_CACR_CENB | CF_CACR_CINV | \ 108 108 CF_CACR_DISD | CF_CACR_INVI | \
+6 -6
include/configs/M5282EVB.h
··· 72 72 /*----------------------------------------------------------------------- 73 73 * Start addresses for the final memory configuration 74 74 * (Set up by the startup code) 75 - * Please note that CONFIG_SYS_SDRAM_BASE _must_ start at 0 75 + * Please note that CFG_SYS_SDRAM_BASE _must_ start at 0 76 76 */ 77 - #define CONFIG_SYS_SDRAM_BASE 0x00000000 78 - #define CONFIG_SYS_SDRAM_SIZE 16 /* SDRAM size in MB */ 77 + #define CFG_SYS_SDRAM_BASE 0x00000000 78 + #define CFG_SYS_SDRAM_SIZE 16 /* SDRAM size in MB */ 79 79 #define CONFIG_SYS_FLASH_BASE CONFIG_SYS_CS0_BASE 80 80 #define CONFIG_SYS_INT_FLASH_BASE 0xf0000000 81 81 #define CONFIG_SYS_INT_FLASH_ENABLE 0x21 ··· 85 85 * have to be in the first 8 MB of memory, since this is 86 86 * the maximum mapped by the Linux kernel during initialization ?? 87 87 */ 88 - #define CONFIG_SYS_BOOTMAPSZ (CONFIG_SYS_SDRAM_BASE + (CONFIG_SYS_SDRAM_SIZE << 20)) 88 + #define CONFIG_SYS_BOOTMAPSZ (CFG_SYS_SDRAM_BASE + (CFG_SYS_SDRAM_SIZE << 20)) 89 89 90 90 /*----------------------------------------------------------------------- 91 91 * FLASH organization ··· 105 105 #define DCACHE_STATUS (CONFIG_SYS_INIT_RAM_ADDR + \ 106 106 CONFIG_SYS_INIT_RAM_SIZE - 4) 107 107 #define CONFIG_SYS_ICACHE_INV (CF_CACR_CINV + CF_CACR_DCM) 108 - #define CONFIG_SYS_CACHE_ACR0 (CONFIG_SYS_SDRAM_BASE | \ 109 - CF_ADDRMASK(CONFIG_SYS_SDRAM_SIZE) | \ 108 + #define CONFIG_SYS_CACHE_ACR0 (CFG_SYS_SDRAM_BASE | \ 109 + CF_ADDRMASK(CFG_SYS_SDRAM_SIZE) | \ 110 110 CF_ACR_EN | CF_ACR_SM_ALL) 111 111 #define CONFIG_SYS_CACHE_ICACR (CF_CACR_CENB | CF_CACR_DISD | \ 112 112 CF_CACR_CEIB | CF_CACR_DBWE | \
+11 -11
include/configs/M53017EVB.h
··· 74 74 /* 75 75 * Start addresses for the final memory configuration 76 76 * (Set up by the startup code) 77 - * Please note that CONFIG_SYS_SDRAM_BASE _must_ start at 0 77 + * Please note that CFG_SYS_SDRAM_BASE _must_ start at 0 78 78 */ 79 - #define CONFIG_SYS_SDRAM_BASE 0x40000000 80 - #define CONFIG_SYS_SDRAM_SIZE 64 /* SDRAM size in MB */ 81 - #define CONFIG_SYS_SDRAM_CFG1 0x43711630 82 - #define CONFIG_SYS_SDRAM_CFG2 0x56670000 83 - #define CONFIG_SYS_SDRAM_CTRL 0xE1092000 84 - #define CONFIG_SYS_SDRAM_EMOD 0x80010000 85 - #define CONFIG_SYS_SDRAM_MODE 0x00CD0000 79 + #define CFG_SYS_SDRAM_BASE 0x40000000 80 + #define CFG_SYS_SDRAM_SIZE 64 /* SDRAM size in MB */ 81 + #define CFG_SYS_SDRAM_CFG1 0x43711630 82 + #define CFG_SYS_SDRAM_CFG2 0x56670000 83 + #define CFG_SYS_SDRAM_CTRL 0xE1092000 84 + #define CFG_SYS_SDRAM_EMOD 0x80010000 85 + #define CFG_SYS_SDRAM_MODE 0x00CD0000 86 86 87 87 /* 88 88 * For booting Linux, the board info and command line data 89 89 * have to be in the first 8 MB of memory, since this is 90 90 * the maximum mapped by the Linux kernel during initialization ?? 91 91 */ 92 - #define CONFIG_SYS_BOOTMAPSZ (CONFIG_SYS_SDRAM_BASE + (CONFIG_SYS_SDRAM_SIZE << 20)) 92 + #define CONFIG_SYS_BOOTMAPSZ (CFG_SYS_SDRAM_BASE + (CFG_SYS_SDRAM_SIZE << 20)) 93 93 94 94 /*----------------------------------------------------------------------- 95 95 * FLASH organization ··· 118 118 #define DCACHE_STATUS (CONFIG_SYS_INIT_RAM_ADDR + \ 119 119 CONFIG_SYS_INIT_RAM_SIZE - 4) 120 120 #define CONFIG_SYS_ICACHE_INV (CF_CACR_CINVA) 121 - #define CONFIG_SYS_CACHE_ACR0 (CONFIG_SYS_SDRAM_BASE | \ 122 - CF_ADDRMASK(CONFIG_SYS_SDRAM_SIZE) | \ 121 + #define CONFIG_SYS_CACHE_ACR0 (CFG_SYS_SDRAM_BASE | \ 122 + CF_ADDRMASK(CFG_SYS_SDRAM_SIZE) | \ 123 123 CF_ACR_EN | CF_ACR_SM_ALL) 124 124 #define CONFIG_SYS_CACHE_ICACR (CF_CACR_EC | CF_CACR_CINVA | \ 125 125 CF_CACR_DCM_P)
+11 -11
include/configs/M5329EVB.h
··· 68 68 /*----------------------------------------------------------------------- 69 69 * Start addresses for the final memory configuration 70 70 * (Set up by the startup code) 71 - * Please note that CONFIG_SYS_SDRAM_BASE _must_ start at 0 71 + * Please note that CFG_SYS_SDRAM_BASE _must_ start at 0 72 72 */ 73 - #define CONFIG_SYS_SDRAM_BASE 0x40000000 74 - #define CONFIG_SYS_SDRAM_SIZE 32 /* SDRAM size in MB */ 75 - #define CONFIG_SYS_SDRAM_CFG1 0x53722730 76 - #define CONFIG_SYS_SDRAM_CFG2 0x56670000 77 - #define CONFIG_SYS_SDRAM_CTRL 0xE1092000 78 - #define CONFIG_SYS_SDRAM_EMOD 0x40010000 79 - #define CONFIG_SYS_SDRAM_MODE 0x018D0000 73 + #define CFG_SYS_SDRAM_BASE 0x40000000 74 + #define CFG_SYS_SDRAM_SIZE 32 /* SDRAM size in MB */ 75 + #define CFG_SYS_SDRAM_CFG1 0x53722730 76 + #define CFG_SYS_SDRAM_CFG2 0x56670000 77 + #define CFG_SYS_SDRAM_CTRL 0xE1092000 78 + #define CFG_SYS_SDRAM_EMOD 0x40010000 79 + #define CFG_SYS_SDRAM_MODE 0x018D0000 80 80 81 81 /* 82 82 * For booting Linux, the board info and command line data 83 83 * have to be in the first 8 MB of memory, since this is 84 84 * the maximum mapped by the Linux kernel during initialization ?? 85 85 */ 86 - #define CONFIG_SYS_BOOTMAPSZ (CONFIG_SYS_SDRAM_BASE + (CONFIG_SYS_SDRAM_SIZE << 20)) 86 + #define CONFIG_SYS_BOOTMAPSZ (CFG_SYS_SDRAM_BASE + (CFG_SYS_SDRAM_SIZE << 20)) 87 87 88 88 /*----------------------------------------------------------------------- 89 89 * FLASH organization ··· 117 117 #define DCACHE_STATUS (CONFIG_SYS_INIT_RAM_ADDR + \ 118 118 CONFIG_SYS_INIT_RAM_SIZE - 4) 119 119 #define CONFIG_SYS_ICACHE_INV (CF_CACR_CINVA) 120 - #define CONFIG_SYS_CACHE_ACR0 (CONFIG_SYS_SDRAM_BASE | \ 121 - CF_ADDRMASK(CONFIG_SYS_SDRAM_SIZE) | \ 120 + #define CONFIG_SYS_CACHE_ACR0 (CFG_SYS_SDRAM_BASE | \ 121 + CF_ADDRMASK(CFG_SYS_SDRAM_SIZE) | \ 122 122 CF_ACR_EN | CF_ACR_SM_ALL) 123 123 #define CONFIG_SYS_CACHE_ICACR (CF_CACR_EC | CF_CACR_CINVA | \ 124 124 CF_CACR_DCM_P)
+11 -11
include/configs/M5373EVB.h
··· 70 70 /*----------------------------------------------------------------------- 71 71 * Start addresses for the final memory configuration 72 72 * (Set up by the startup code) 73 - * Please note that CONFIG_SYS_SDRAM_BASE _must_ start at 0 73 + * Please note that CFG_SYS_SDRAM_BASE _must_ start at 0 74 74 */ 75 - #define CONFIG_SYS_SDRAM_BASE 0x40000000 76 - #define CONFIG_SYS_SDRAM_SIZE 32 /* SDRAM size in MB */ 77 - #define CONFIG_SYS_SDRAM_CFG1 0x53722730 78 - #define CONFIG_SYS_SDRAM_CFG2 0x56670000 79 - #define CONFIG_SYS_SDRAM_CTRL 0xE1092000 80 - #define CONFIG_SYS_SDRAM_EMOD 0x40010000 81 - #define CONFIG_SYS_SDRAM_MODE 0x018D0000 75 + #define CFG_SYS_SDRAM_BASE 0x40000000 76 + #define CFG_SYS_SDRAM_SIZE 32 /* SDRAM size in MB */ 77 + #define CFG_SYS_SDRAM_CFG1 0x53722730 78 + #define CFG_SYS_SDRAM_CFG2 0x56670000 79 + #define CFG_SYS_SDRAM_CTRL 0xE1092000 80 + #define CFG_SYS_SDRAM_EMOD 0x40010000 81 + #define CFG_SYS_SDRAM_MODE 0x018D0000 82 82 83 83 /* 84 84 * For booting Linux, the board info and command line data 85 85 * have to be in the first 8 MB of memory, since this is 86 86 * the maximum mapped by the Linux kernel during initialization ?? 87 87 */ 88 - #define CONFIG_SYS_BOOTMAPSZ (CONFIG_SYS_SDRAM_BASE + (CONFIG_SYS_SDRAM_SIZE << 20)) 88 + #define CONFIG_SYS_BOOTMAPSZ (CFG_SYS_SDRAM_BASE + (CFG_SYS_SDRAM_SIZE << 20)) 89 89 90 90 /*----------------------------------------------------------------------- 91 91 * FLASH organization ··· 117 117 #define DCACHE_STATUS (CONFIG_SYS_INIT_RAM_ADDR + \ 118 118 CONFIG_SYS_INIT_RAM_SIZE - 4) 119 119 #define CONFIG_SYS_ICACHE_INV (CF_CACR_CINVA) 120 - #define CONFIG_SYS_CACHE_ACR0 (CONFIG_SYS_SDRAM_BASE | \ 121 - CF_ADDRMASK(CONFIG_SYS_SDRAM_SIZE) | \ 120 + #define CONFIG_SYS_CACHE_ACR0 (CFG_SYS_SDRAM_BASE | \ 121 + CF_ADDRMASK(CFG_SYS_SDRAM_SIZE) | \ 122 122 CF_ACR_EN | CF_ACR_SM_ALL) 123 123 #define CONFIG_SYS_CACHE_ICACR (CF_CACR_EC | CF_CACR_CINVA | \ 124 124 CF_CACR_DCM_P)
+2 -2
include/configs/MCR3000.h
··· 62 62 #define CONFIG_SYS_INIT_RAM_ADDR (CONFIG_SYS_IMMR + 0x2800) 63 63 #define CONFIG_SYS_INIT_RAM_SIZE (0x2e00 - 0x2800) 64 64 65 - /* RAM configuration (note that CONFIG_SYS_SDRAM_BASE must be zero) */ 66 - #define CONFIG_SYS_SDRAM_BASE 0x00000000 65 + /* RAM configuration (note that CFG_SYS_SDRAM_BASE must be zero) */ 66 + #define CFG_SYS_SDRAM_BASE 0x00000000 67 67 68 68 /* FLASH organization */ 69 69 #define CONFIG_SYS_FLASH_BASE CONFIG_TEXT_BASE
+2 -2
include/configs/MPC837XERDB.h
··· 59 59 /* 60 60 * DDR Setup 61 61 */ 62 - #define CONFIG_SYS_SDRAM_BASE 0x00000000 /* DDR is system memory */ 62 + #define CFG_SYS_SDRAM_BASE 0x00000000 /* DDR is system memory */ 63 63 #define CONFIG_SYS_DDR_SDRAM_CLK_CNTL 0x03000000 64 64 65 65 #define CONFIG_SYS_DDRCDR_VALUE (DDRCDR_DHC_EN | DDRCDR_ODT | DDRCDR_Q_DRN) ··· 69 69 /* 70 70 * Manually set up DDR parameters 71 71 */ 72 - #define CONFIG_SYS_SDRAM_SIZE 0x10000000 /* 256 MiB */ 72 + #define CFG_SYS_SDRAM_SIZE 0x10000000 /* 256 MiB */ 73 73 #define CONFIG_SYS_DDR_CS0_BNDS 0x0000000f 74 74 #define CONFIG_SYS_DDR_CS0_CONFIG (CSCONFIG_EN \ 75 75 | CSCONFIG_ODT_WR_ONLY_CURRENT \
+1 -1
include/configs/MPC8548CDS.h
··· 40 40 #define CONFIG_MEM_INIT_VALUE 0xDeadBeef 41 41 42 42 #define CONFIG_SYS_DDR_SDRAM_BASE 0x00000000 /* DDR is system memory*/ 43 - #define CONFIG_SYS_SDRAM_BASE CONFIG_SYS_DDR_SDRAM_BASE 43 + #define CFG_SYS_SDRAM_BASE CONFIG_SYS_DDR_SDRAM_BASE 44 44 45 45 /* I2C addresses of SPD EEPROMs */ 46 46 #define SPD_EEPROM_ADDRESS 0x51 /* CTLR 0 DIMM 0 */
+2 -2
include/configs/P1010RDB.h
··· 110 110 #ifndef __ASSEMBLY__ 111 111 extern unsigned long get_sdram_size(void); 112 112 #endif 113 - #define CONFIG_SYS_SDRAM_SIZE get_sdram_size() /* DDR size */ 113 + #define CFG_SYS_SDRAM_SIZE get_sdram_size() /* DDR size */ 114 114 #define CONFIG_SYS_DDR_SDRAM_BASE 0x00000000 115 - #define CONFIG_SYS_SDRAM_BASE CONFIG_SYS_DDR_SDRAM_BASE 115 + #define CFG_SYS_SDRAM_BASE CONFIG_SYS_DDR_SDRAM_BASE 116 116 117 117 #define CONFIG_SYS_CCSRBAR 0xffe00000 118 118 #define CONFIG_SYS_CCSRBAR_PHYS_LOW CONFIG_SYS_CCSRBAR
+2 -2
include/configs/P2041RDB.h
··· 69 69 */ 70 70 #define CONFIG_VERY_BIG_RAM 71 71 #define CONFIG_SYS_DDR_SDRAM_BASE 0x00000000 72 - #define CONFIG_SYS_SDRAM_BASE CONFIG_SYS_DDR_SDRAM_BASE 72 + #define CFG_SYS_SDRAM_BASE CONFIG_SYS_DDR_SDRAM_BASE 73 73 74 74 #define SPD_EEPROM_ADDRESS 0x52 75 - #define CONFIG_SYS_SDRAM_SIZE 4096 /* for fixed parameter use */ 75 + #define CFG_SYS_SDRAM_SIZE 4096 /* for fixed parameter use */ 76 76 77 77 /* 78 78 * Local Bus Definitions
+1 -1
include/configs/SBx81LIFKW.h
··· 7 7 #define _CONFIG_SBX81LIFKW_H 8 8 9 9 /* additions for new ARM relocation support */ 10 - #define CONFIG_SYS_SDRAM_BASE 0x00000000 10 + #define CFG_SYS_SDRAM_BASE 0x00000000 11 11 12 12 /* 13 13 * NS16550 Configuration
+1 -1
include/configs/SBx81LIFXCAT.h
··· 7 7 #define _CONFIG_SBX81LIFXCAT_H 8 8 9 9 /* additions for new ARM relocation support */ 10 - #define CONFIG_SYS_SDRAM_BASE 0x00000000 10 + #define CFG_SYS_SDRAM_BASE 0x00000000 11 11 12 12 /* 13 13 * NS16550 Configuration
+3 -3
include/configs/T102xRDB.h
··· 116 116 */ 117 117 #define CONFIG_VERY_BIG_RAM 118 118 #define CONFIG_SYS_DDR_SDRAM_BASE 0x00000000 119 - #define CONFIG_SYS_SDRAM_BASE CONFIG_SYS_DDR_SDRAM_BASE 119 + #define CFG_SYS_SDRAM_BASE CONFIG_SYS_DDR_SDRAM_BASE 120 120 #if defined(CONFIG_TARGET_T1024RDB) 121 121 #define SPD_EEPROM_ADDRESS 0x51 122 - #define CONFIG_SYS_SDRAM_SIZE 4096 /* for fixed parameter use */ 122 + #define CFG_SYS_SDRAM_SIZE 4096 /* for fixed parameter use */ 123 123 #elif defined(CONFIG_TARGET_T1023RDB) 124 - #define CONFIG_SYS_SDRAM_SIZE 2048 124 + #define CFG_SYS_SDRAM_SIZE 2048 125 125 #endif 126 126 127 127 /*
+2 -2
include/configs/T104xRDB.h
··· 88 88 */ 89 89 #define CONFIG_VERY_BIG_RAM 90 90 #define CONFIG_SYS_DDR_SDRAM_BASE 0x00000000 91 - #define CONFIG_SYS_SDRAM_BASE CONFIG_SYS_DDR_SDRAM_BASE 91 + #define CFG_SYS_SDRAM_BASE CONFIG_SYS_DDR_SDRAM_BASE 92 92 93 93 #define SPD_EEPROM_ADDRESS 0x51 94 94 95 - #define CONFIG_SYS_SDRAM_SIZE 4096 /* for fixed parameter use */ 95 + #define CFG_SYS_SDRAM_SIZE 4096 /* for fixed parameter use */ 96 96 97 97 /* 98 98 * IFC Definitions
+2 -2
include/configs/T208xQDS.h
··· 86 86 */ 87 87 #define CONFIG_VERY_BIG_RAM 88 88 #define CONFIG_SYS_DDR_SDRAM_BASE 0x00000000 89 - #define CONFIG_SYS_SDRAM_BASE CONFIG_SYS_DDR_SDRAM_BASE 90 - #define CONFIG_SYS_SDRAM_SIZE 2048 /* for fixed parameter use */ 89 + #define CFG_SYS_SDRAM_BASE CONFIG_SYS_DDR_SDRAM_BASE 90 + #define CFG_SYS_SDRAM_SIZE 2048 /* for fixed parameter use */ 91 91 #define SPD_EEPROM_ADDRESS1 0x51 92 92 #define SPD_EEPROM_ADDRESS2 0x52 93 93 #define SPD_EEPROM_ADDRESS SPD_EEPROM_ADDRESS1
+2 -2
include/configs/T208xRDB.h
··· 81 81 */ 82 82 #define CONFIG_VERY_BIG_RAM 83 83 #define CONFIG_SYS_DDR_SDRAM_BASE 0x00000000 84 - #define CONFIG_SYS_SDRAM_BASE CONFIG_SYS_DDR_SDRAM_BASE 85 - #define CONFIG_SYS_SDRAM_SIZE 2048 /* for fixed parameter use */ 84 + #define CFG_SYS_SDRAM_BASE CONFIG_SYS_DDR_SDRAM_BASE 85 + #define CFG_SYS_SDRAM_SIZE 2048 /* for fixed parameter use */ 86 86 #define SPD_EEPROM_ADDRESS1 0x51 87 87 #define SPD_EEPROM_ADDRESS2 0x52 88 88 #define SPD_EEPROM_ADDRESS SPD_EEPROM_ADDRESS1
+2 -2
include/configs/T4240RDB.h
··· 62 62 */ 63 63 #define CONFIG_VERY_BIG_RAM 64 64 #define CONFIG_SYS_DDR_SDRAM_BASE 0x00000000 65 - #define CONFIG_SYS_SDRAM_BASE CONFIG_SYS_DDR_SDRAM_BASE 65 + #define CFG_SYS_SDRAM_BASE CONFIG_SYS_DDR_SDRAM_BASE 66 66 67 67 /* 68 68 * IFC Definitions ··· 154 154 #define SPD_EEPROM_ADDRESS2 0x54 155 155 #define SPD_EEPROM_ADDRESS3 0x56 156 156 #define SPD_EEPROM_ADDRESS SPD_EEPROM_ADDRESS1 /* for p3041/p5010 */ 157 - #define CONFIG_SYS_SDRAM_SIZE 4096 /* for fixed parameter use */ 157 + #define CFG_SYS_SDRAM_SIZE 4096 /* for fixed parameter use */ 158 158 159 159 /* 160 160 * IFC Definitions
+1 -1
include/configs/am62x_evm.h
··· 13 13 #include <environment/ti/mmc.h> 14 14 15 15 /* DDR Configuration */ 16 - #define CONFIG_SYS_SDRAM_BASE1 0x880000000 16 + #define CFG_SYS_SDRAM_BASE1 0x880000000 17 17 18 18 #define PARTS_DEFAULT \ 19 19 /* Linux partitions */ \
+1 -1
include/configs/am64x_evm.h
··· 16 16 #include <environment/ti/k3_dfu.h> 17 17 18 18 /* DDR Configuration */ 19 - #define CONFIG_SYS_SDRAM_BASE1 0x880000000 19 + #define CFG_SYS_SDRAM_BASE1 0x880000000 20 20 21 21 #define PARTS_DEFAULT \ 22 22 /* Linux partitions */ \
+1 -1
include/configs/am65x_evm.h
··· 15 15 #include <environment/ti/k3_dfu.h> 16 16 17 17 /* DDR Configuration */ 18 - #define CONFIG_SYS_SDRAM_BASE1 0x880000000 18 + #define CFG_SYS_SDRAM_BASE1 0x880000000 19 19 20 20 #define PARTS_DEFAULT \ 21 21 /* Linux partitions */ \
+2 -2
include/configs/amcore.h
··· 33 33 /* size of internal SRAM */ 34 34 #define CONFIG_SYS_INIT_RAM_SIZE 0x1000 35 35 36 - #define CONFIG_SYS_SDRAM_BASE 0x00000000 37 - #define CONFIG_SYS_SDRAM_SIZE 0x1000000 36 + #define CFG_SYS_SDRAM_BASE 0x00000000 37 + #define CFG_SYS_SDRAM_SIZE 0x1000000 38 38 #define CONFIG_SYS_FLASH_BASE 0xffc00000 39 39 40 40 /* amcore design has flash data bytes wired swapped */
+1 -1
include/configs/ap121.h
··· 6 6 #ifndef __CONFIG_H 7 7 #define __CONFIG_H 8 8 9 - #define CONFIG_SYS_SDRAM_BASE 0x80000000 9 + #define CFG_SYS_SDRAM_BASE 0x80000000 10 10 11 11 #define CONFIG_SYS_INIT_RAM_ADDR 0xbd000000 12 12 #define CONFIG_SYS_INIT_RAM_SIZE 0x8000
+1 -1
include/configs/ap143.h
··· 6 6 #ifndef __CONFIG_H 7 7 #define __CONFIG_H 8 8 9 - #define CONFIG_SYS_SDRAM_BASE 0x80000000 9 + #define CFG_SYS_SDRAM_BASE 0x80000000 10 10 11 11 #define CONFIG_SYS_INIT_RAM_ADDR 0xbd000000 12 12 #define CONFIG_SYS_INIT_RAM_SIZE 0x2000
+1 -1
include/configs/ap152.h
··· 6 6 #ifndef __CONFIG_H 7 7 #define __CONFIG_H 8 8 9 - #define CONFIG_SYS_SDRAM_BASE 0x80000000 9 + #define CFG_SYS_SDRAM_BASE 0x80000000 10 10 11 11 #define CONFIG_SYS_INIT_RAM_ADDR 0xbd000000 12 12 #define CONFIG_SYS_INIT_RAM_SIZE 0x2000
+1 -1
include/configs/apalis-imx8.h
··· 63 63 /* On Apalis iMX8 USDHC1 is eMMC, USDHC2 is 8-bit and USDHC3 is 4-bit MMC/SD */ 64 64 #define CFG_SYS_FSL_USDHC_NUM 3 65 65 66 - #define CONFIG_SYS_SDRAM_BASE 0x80000000 66 + #define CFG_SYS_SDRAM_BASE 0x80000000 67 67 #define PHYS_SDRAM_1 0x80000000 68 68 #define PHYS_SDRAM_2 0x880000000 69 69 #define PHYS_SDRAM_1_SIZE SZ_2G /* 2 GB */
+1 -1
include/configs/apalis_imx6.h
··· 106 106 /* Physical Memory Map */ 107 107 #define PHYS_SDRAM MMDC0_ARB_BASE_ADDR 108 108 109 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM 109 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM 110 110 #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR 111 111 #define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE 112 112
+2 -2
include/configs/arbel.h
··· 6 6 #ifndef __CONFIG_ARBEL_H 7 7 #define __CONFIG_ARBEL_H 8 8 9 - #define CONFIG_SYS_SDRAM_BASE 0x0 9 + #define CFG_SYS_SDRAM_BASE 0x0 10 10 #define CONFIG_SYS_BOOTMAPSZ (20 << 20) 11 - #define CONFIG_SYS_INIT_RAM_ADDR CONFIG_SYS_SDRAM_BASE 11 + #define CONFIG_SYS_INIT_RAM_ADDR CFG_SYS_SDRAM_BASE 12 12 #define CONFIG_SYS_INIT_RAM_SIZE 0x8000 13 13 14 14 /* Default environemnt variables */
+1 -1
include/configs/aristainetos2.h
··· 406 406 /* Physical Memory Map */ 407 407 #define PHYS_SDRAM MMDC0_ARB_BASE_ADDR 408 408 409 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM 409 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM 410 410 #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR 411 411 #define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE 412 412
+1 -1
include/configs/aspeed-common.h
··· 14 14 15 15 /* Misc CPU related */ 16 16 17 - #define CONFIG_SYS_SDRAM_BASE ASPEED_DRAM_BASE 17 + #define CFG_SYS_SDRAM_BASE ASPEED_DRAM_BASE 18 18 19 19 #ifdef CONFIG_PRE_CON_BUF_SZ 20 20 #define CONFIG_SYS_INIT_RAM_ADDR (ASPEED_SRAM_BASE + CONFIG_PRE_CON_BUF_SZ)
+6 -6
include/configs/astro_mcf5373l.h
··· 57 57 58 58 #define CONFIG_SYS_CLK 80000000 59 59 #define CONFIG_SYS_CPU_CLK (CONFIG_SYS_CLK * 3) 60 - #define CONFIG_SYS_SDRAM_SIZE 32 /* SDRAM size in MB */ 60 + #define CFG_SYS_SDRAM_SIZE 32 /* SDRAM size in MB */ 61 61 62 62 /* 63 63 * Define baudrate for UART1 (console output, tftp, ...) ··· 158 158 * (Set up by the startup code) 159 159 * for MCF5373, the allowable range is 0x40000000 to 0x7FF00000 160 160 */ 161 - #define CONFIG_SYS_SDRAM_BASE 0x40000000 161 + #define CFG_SYS_SDRAM_BASE 0x40000000 162 162 163 163 /* 164 164 * Chipselect bank definitions ··· 195 195 * have to be in the first 8 MB of memory, since this is 196 196 * the maximum mapped by the Linux kernel during initialization ?? 197 197 */ 198 - #define CONFIG_SYS_BOOTMAPSZ (CONFIG_SYS_SDRAM_BASE + \ 199 - (CONFIG_SYS_SDRAM_SIZE << 20)) 198 + #define CONFIG_SYS_BOOTMAPSZ (CFG_SYS_SDRAM_BASE + \ 199 + (CFG_SYS_SDRAM_SIZE << 20)) 200 200 201 201 /* FLASH organization */ 202 202 ··· 213 213 #define DCACHE_STATUS (CONFIG_SYS_INIT_RAM_ADDR + \ 214 214 CONFIG_SYS_INIT_RAM_SIZE - 4) 215 215 #define CONFIG_SYS_ICACHE_INV (CF_CACR_CINVA) 216 - #define CONFIG_SYS_CACHE_ACR0 (CONFIG_SYS_SDRAM_BASE | \ 217 - CF_ADDRMASK(CONFIG_SYS_SDRAM_SIZE) | \ 216 + #define CONFIG_SYS_CACHE_ACR0 (CFG_SYS_SDRAM_BASE | \ 217 + CF_ADDRMASK(CFG_SYS_SDRAM_SIZE) | \ 218 218 CF_ACR_EN | CF_ACR_SM_ALL) 219 219 #define CONFIG_SYS_CACHE_ICACR (CF_CACR_EC | CF_CACR_CINVA | \ 220 220 CF_CACR_DCM_P)
+2 -2
include/configs/at91sam9260ek.h
··· 31 31 * SDRAM: 1 bank, min 32, max 128 MB 32 32 * Initialized before u-boot gets started. 33 33 */ 34 - #define CONFIG_SYS_SDRAM_BASE ATMEL_BASE_CS1 35 - #define CONFIG_SYS_SDRAM_SIZE 0x04000000 34 + #define CFG_SYS_SDRAM_BASE ATMEL_BASE_CS1 35 + #define CFG_SYS_SDRAM_SIZE 0x04000000 36 36 37 37 #define CONFIG_SYS_INIT_RAM_SIZE (16 * 1024) 38 38 #ifdef CONFIG_AT91SAM9XE
+2 -2
include/configs/at91sam9261ek.h
··· 17 17 #include <asm/hardware.h> 18 18 19 19 /* SDRAM */ 20 - #define CONFIG_SYS_SDRAM_BASE 0x20000000 21 - #define CONFIG_SYS_SDRAM_SIZE 0x04000000 20 + #define CFG_SYS_SDRAM_BASE 0x20000000 21 + #define CFG_SYS_SDRAM_SIZE 0x04000000 22 22 #define CONFIG_SYS_INIT_RAM_SIZE (16 * 1024) 23 23 #define CONFIG_SYS_INIT_RAM_ADDR ATMEL_BASE_SRAM 24 24
+14 -14
include/configs/at91sam9263ek.h
··· 23 23 #define CONFIG_SYS_AT91_SLOW_CLOCK 32768 24 24 25 25 /* SDRAM */ 26 - #define CONFIG_SYS_SDRAM_BASE ATMEL_BASE_CS1 27 - #define CONFIG_SYS_SDRAM_SIZE 0x04000000 26 + #define CFG_SYS_SDRAM_BASE ATMEL_BASE_CS1 27 + #define CFG_SYS_SDRAM_SIZE 0x04000000 28 28 29 29 #define CONFIG_SYS_INIT_RAM_SIZE (16 * 1024) 30 30 #define CONFIG_SYS_INIT_RAM_ADDR ATMEL_BASE_SRAM1 ··· 100 100 /* Memory Device Register -> SDRAM */ 101 101 #define CONFIG_SYS_SDRC_MDR_VAL AT91_SDRAMC_MD_SDRAM 102 102 #define CONFIG_SYS_SDRC_MR_VAL2 AT91_SDRAMC_MODE_PRECHARGE 103 - #define CONFIG_SYS_SDRAM_VAL1 0 /* SDRAM_BASE */ 103 + #define CFG_SYS_SDRAM_VAL1 0 /* SDRAM_BASE */ 104 104 #define CONFIG_SYS_SDRC_MR_VAL3 AT91_SDRAMC_MODE_REFRESH 105 - #define CONFIG_SYS_SDRAM_VAL2 0 /* SDRAM_BASE */ 106 - #define CONFIG_SYS_SDRAM_VAL3 0 /* SDRAM_BASE */ 107 - #define CONFIG_SYS_SDRAM_VAL4 0 /* SDRAM_BASE */ 108 - #define CONFIG_SYS_SDRAM_VAL5 0 /* SDRAM_BASE */ 109 - #define CONFIG_SYS_SDRAM_VAL6 0 /* SDRAM_BASE */ 110 - #define CONFIG_SYS_SDRAM_VAL7 0 /* SDRAM_BASE */ 111 - #define CONFIG_SYS_SDRAM_VAL8 0 /* SDRAM_BASE */ 112 - #define CONFIG_SYS_SDRAM_VAL9 0 /* SDRAM_BASE */ 105 + #define CFG_SYS_SDRAM_VAL2 0 /* SDRAM_BASE */ 106 + #define CFG_SYS_SDRAM_VAL3 0 /* SDRAM_BASE */ 107 + #define CFG_SYS_SDRAM_VAL4 0 /* SDRAM_BASE */ 108 + #define CFG_SYS_SDRAM_VAL5 0 /* SDRAM_BASE */ 109 + #define CFG_SYS_SDRAM_VAL6 0 /* SDRAM_BASE */ 110 + #define CFG_SYS_SDRAM_VAL7 0 /* SDRAM_BASE */ 111 + #define CFG_SYS_SDRAM_VAL8 0 /* SDRAM_BASE */ 112 + #define CFG_SYS_SDRAM_VAL9 0 /* SDRAM_BASE */ 113 113 #define CONFIG_SYS_SDRC_MR_VAL4 AT91_SDRAMC_MODE_LMR 114 - #define CONFIG_SYS_SDRAM_VAL10 0 /* SDRAM_BASE */ 114 + #define CFG_SYS_SDRAM_VAL10 0 /* SDRAM_BASE */ 115 115 #define CONFIG_SYS_SDRC_MR_VAL5 AT91_SDRAMC_MODE_NORMAL 116 - #define CONFIG_SYS_SDRAM_VAL11 0 /* SDRAM_BASE */ 116 + #define CFG_SYS_SDRAM_VAL11 0 /* SDRAM_BASE */ 117 117 #define CONFIG_SYS_SDRC_TR_VAL2 1200 /* SDRAM_TR */ 118 - #define CONFIG_SYS_SDRAM_VAL12 0 /* SDRAM_BASE */ 118 + #define CFG_SYS_SDRAM_VAL12 0 /* SDRAM_BASE */ 119 119 120 120 /* setup SMC0, CS0 (NOR Flash) - 16-bit, 15 WS */ 121 121 #define CONFIG_SYS_SMC0_SETUP0_VAL \
+2 -2
include/configs/at91sam9m10g45ek.h
··· 15 15 #define CONFIG_SYS_AT91_MAIN_CLOCK 12000000 /* from 12 MHz crystal */ 16 16 17 17 /* SDRAM */ 18 - #define CONFIG_SYS_SDRAM_BASE 0x70000000 19 - #define CONFIG_SYS_SDRAM_SIZE 0x08000000 18 + #define CFG_SYS_SDRAM_BASE 0x70000000 19 + #define CFG_SYS_SDRAM_SIZE 0x08000000 20 20 21 21 /* NAND flash */ 22 22 #ifdef CONFIG_CMD_NAND
+2 -2
include/configs/at91sam9n12ek.h
··· 14 14 #define CONFIG_SYS_AT91_MAIN_CLOCK 16000000 /* main clock xtal */ 15 15 16 16 /* Misc CPU related */ 17 - #define CONFIG_SYS_SDRAM_BASE 0x20000000 18 - #define CONFIG_SYS_SDRAM_SIZE 0x08000000 17 + #define CFG_SYS_SDRAM_BASE 0x20000000 18 + #define CFG_SYS_SDRAM_SIZE 0x08000000 19 19 20 20 /* DataFlash */ 21 21
+2 -2
include/configs/at91sam9rlek.h
··· 17 17 #define CONFIG_SYS_AT91_MAIN_CLOCK 12000000 /* main clock xtal */ 18 18 19 19 /* SDRAM */ 20 - #define CONFIG_SYS_SDRAM_BASE ATMEL_BASE_CS1 21 - #define CONFIG_SYS_SDRAM_SIZE 0x04000000 20 + #define CFG_SYS_SDRAM_BASE ATMEL_BASE_CS1 21 + #define CFG_SYS_SDRAM_SIZE 0x04000000 22 22 23 23 #define CONFIG_SYS_INIT_RAM_SIZE (16 * 1024) 24 24 #define CONFIG_SYS_INIT_RAM_ADDR ATMEL_BASE_SRAM
+2 -2
include/configs/at91sam9x5ek.h
··· 20 20 */ 21 21 22 22 /* SDRAM */ 23 - #define CONFIG_SYS_SDRAM_BASE 0x20000000 24 - #define CONFIG_SYS_SDRAM_SIZE 0x08000000 /* 128 megs */ 23 + #define CFG_SYS_SDRAM_BASE 0x20000000 24 + #define CFG_SYS_SDRAM_SIZE 0x08000000 /* 128 megs */ 25 25 26 26 /* DataFlash */ 27 27
+1 -1
include/configs/ax25-ae350.h
··· 28 28 (PHYS_SDRAM_0 + PHYS_SDRAM_0_SIZE) /* SDRAM Bank #2 */ 29 29 #define PHYS_SDRAM_0_SIZE 0x20000000 /* 512 MB */ 30 30 #define PHYS_SDRAM_1_SIZE 0x20000000 /* 512 MB */ 31 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_0 31 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM_0 32 32 33 33 /* 34 34 * Serial console configuration
+2 -2
include/configs/axs10x.h
··· 20 20 */ 21 21 22 22 #define CONFIG_SYS_DDR_SDRAM_BASE 0x80000000 23 - #define CONFIG_SYS_SDRAM_BASE CONFIG_SYS_DDR_SDRAM_BASE 24 - #define CONFIG_SYS_SDRAM_SIZE SZ_512M 23 + #define CFG_SYS_SDRAM_BASE CONFIG_SYS_DDR_SDRAM_BASE 24 + #define CFG_SYS_SDRAM_SIZE SZ_512M 25 25 26 26 /* 27 27 * UART configuration
+1 -1
include/configs/bcm947622.h
··· 6 6 #ifndef __BCM947622_H 7 7 #define __BCM947622_H 8 8 9 - #define CONFIG_SYS_SDRAM_BASE 0x00000000 9 + #define CFG_SYS_SDRAM_BASE 0x00000000 10 10 11 11 #define COUNTER_FREQUENCY 50000000 12 12 #endif
+1 -1
include/configs/bcm94908.h
··· 6 6 #ifndef __BCM94908_H 7 7 #define __BCM94908_H 8 8 9 - #define CONFIG_SYS_SDRAM_BASE 0x00000000 9 + #define CFG_SYS_SDRAM_BASE 0x00000000 10 10 11 11 #endif
+1 -1
include/configs/bcm94912.h
··· 6 6 #ifndef __BCM94912_H 7 7 #define __BCM94912_H 8 8 9 - #define CONFIG_SYS_SDRAM_BASE 0x00000000 9 + #define CFG_SYS_SDRAM_BASE 0x00000000 10 10 11 11 #endif
+1 -1
include/configs/bcm963138.h
··· 6 6 #ifndef __BCM963138_H 7 7 #define __BCM963138_H 8 8 9 - #define CONFIG_SYS_SDRAM_BASE 0x00000000 9 + #define CFG_SYS_SDRAM_BASE 0x00000000 10 10 #define CONFIG_SYS_HZ_CLOCK 500000000 11 11 12 12 #endif
+1 -1
include/configs/bcm963146.h
··· 6 6 #ifndef __BCM963146_H 7 7 #define __BCM963146_H 8 8 9 - #define CONFIG_SYS_SDRAM_BASE 0x00000000 9 + #define CFG_SYS_SDRAM_BASE 0x00000000 10 10 11 11 #endif
+1 -1
include/configs/bcm963148.h
··· 6 6 #ifndef __BCM963148_H 7 7 #define __BCM963148_H 8 8 9 - #define CONFIG_SYS_SDRAM_BASE 0x00000000 9 + #define CFG_SYS_SDRAM_BASE 0x00000000 10 10 11 11 #endif
+1 -1
include/configs/bcm963158.h
··· 6 6 #ifndef __BCM963158_H 7 7 #define __BCM963158_H 8 8 9 - #define CONFIG_SYS_SDRAM_BASE 0x00000000 9 + #define CFG_SYS_SDRAM_BASE 0x00000000 10 10 11 11 #endif
+1 -1
include/configs/bcm963178.h
··· 6 6 #ifndef __BCM963178_H 7 7 #define __BCM963178_H 8 8 9 - #define CONFIG_SYS_SDRAM_BASE 0x00000000 9 + #define CFG_SYS_SDRAM_BASE 0x00000000 10 10 11 11 #endif
+1 -1
include/configs/bcm96756.h
··· 6 6 #ifndef __BCM96756_H 7 7 #define __BCM96756_H 8 8 9 - #define CONFIG_SYS_SDRAM_BASE 0x00000000 9 + #define CFG_SYS_SDRAM_BASE 0x00000000 10 10 11 11 #endif
+1 -1
include/configs/bcm96813.h
··· 6 6 #ifndef __BCM96813_H 7 7 #define __BCM96813_H 8 8 9 - #define CONFIG_SYS_SDRAM_BASE 0x00000000 9 + #define CFG_SYS_SDRAM_BASE 0x00000000 10 10 11 11 #endif
+1 -1
include/configs/bcm96846.h
··· 6 6 #ifndef __BCM96846_H 7 7 #define __BCM96846_H 8 8 9 - #define CONFIG_SYS_SDRAM_BASE 0x00000000 9 + #define CFG_SYS_SDRAM_BASE 0x00000000 10 10 11 11 #endif
+1 -1
include/configs/bcm96855.h
··· 6 6 #ifndef __BCM96855_H 7 7 #define __BCM96855_H 8 8 9 - #define CONFIG_SYS_SDRAM_BASE 0x00000000 9 + #define CFG_SYS_SDRAM_BASE 0x00000000 10 10 11 11 #endif
+1 -1
include/configs/bcm96856.h
··· 6 6 #ifndef __BCM96856_H 7 7 #define __BCM96856_H 8 8 9 - #define CONFIG_SYS_SDRAM_BASE 0x00000000 9 + #define CFG_SYS_SDRAM_BASE 0x00000000 10 10 11 11 #endif
+1 -1
include/configs/bcm96858.h
··· 6 6 #ifndef __BCM96858_H 7 7 #define __BCM96858_H 8 8 9 - #define CONFIG_SYS_SDRAM_BASE 0x00000000 9 + #define CFG_SYS_SDRAM_BASE 0x00000000 10 10 11 11 #endif
+1 -1
include/configs/bcm96878.h
··· 6 6 #ifndef __BCM96878_H 7 7 #define __BCM96878_H 8 8 9 - #define CONFIG_SYS_SDRAM_BASE 0x00000000 9 + #define CFG_SYS_SDRAM_BASE 0x00000000 10 10 11 11 #endif
+1 -1
include/configs/bcm_ns3.h
··· 15 15 #define V2M_BASE 0x80000000 16 16 #define PHYS_SDRAM_1 V2M_BASE 17 17 18 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 18 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM_1 19 19 20 20 /* 21 21 * Initial SP before reloaction is placed at end of first DRAM bank,
+1 -1
include/configs/bcmstb.h
··· 81 81 * MiB. However, BOLT can be configured to allow loading larger 82 82 * initramfs images, in which case this limitation is eliminated. 83 83 */ 84 - #define CONFIG_SYS_SDRAM_BASE 0x00000000 84 + #define CFG_SYS_SDRAM_BASE 0x00000000 85 85 #define CONFIG_SYS_INIT_RAM_SIZE 0x100000 86 86 87 87 /*
+2 -2
include/configs/bitmain_antminer_s9.h
··· 6 6 #ifndef __CONFIG_BITMAIN_ANTMINER_S9_H 7 7 #define __CONFIG_BITMAIN_ANTMINER_S9_H 8 8 9 - #define CONFIG_SYS_SDRAM_BASE 0x00000000 10 - #define CONFIG_SYS_SDRAM_SIZE 0x40000000 9 + #define CFG_SYS_SDRAM_BASE 0x00000000 10 + #define CFG_SYS_SDRAM_SIZE 0x40000000 11 11 12 12 #define CONFIG_EXTRA_ENV_SETTINGS \ 13 13 "pxefile_addr_r=0x2000000\0" \
+1 -1
include/configs/bk4r1.h
··· 199 199 #define PHYS_SDRAM (0x80000000) 200 200 #define PHYS_SDRAM_SIZE (SZ_512M) 201 201 202 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM 202 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM 203 203 #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR 204 204 #define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE 205 205
+1 -1
include/configs/bmips_bcm3380.h
··· 9 9 #include <linux/sizes.h> 10 10 11 11 /* RAM */ 12 - #define CONFIG_SYS_SDRAM_BASE 0x80000000 12 + #define CFG_SYS_SDRAM_BASE 0x80000000 13 13 14 14 /* U-Boot */ 15 15
+1 -1
include/configs/bmips_bcm6318.h
··· 9 9 #include <linux/sizes.h> 10 10 11 11 /* RAM */ 12 - #define CONFIG_SYS_SDRAM_BASE 0x80000000 12 + #define CFG_SYS_SDRAM_BASE 0x80000000 13 13 14 14 /* U-Boot */ 15 15
+1 -1
include/configs/bmips_bcm63268.h
··· 9 9 #include <linux/sizes.h> 10 10 11 11 /* RAM */ 12 - #define CONFIG_SYS_SDRAM_BASE 0x80000000 12 + #define CFG_SYS_SDRAM_BASE 0x80000000 13 13 14 14 /* U-Boot */ 15 15
+1 -1
include/configs/bmips_bcm6328.h
··· 9 9 #include <linux/sizes.h> 10 10 11 11 /* RAM */ 12 - #define CONFIG_SYS_SDRAM_BASE 0x80000000 12 + #define CFG_SYS_SDRAM_BASE 0x80000000 13 13 14 14 /* U-Boot */ 15 15
+1 -1
include/configs/bmips_bcm6338.h
··· 9 9 #include <linux/sizes.h> 10 10 11 11 /* RAM */ 12 - #define CONFIG_SYS_SDRAM_BASE 0x80000000 12 + #define CFG_SYS_SDRAM_BASE 0x80000000 13 13 14 14 /* U-Boot */ 15 15
+1 -1
include/configs/bmips_bcm6348.h
··· 9 9 #include <linux/sizes.h> 10 10 11 11 /* RAM */ 12 - #define CONFIG_SYS_SDRAM_BASE 0x80000000 12 + #define CFG_SYS_SDRAM_BASE 0x80000000 13 13 14 14 /* U-Boot */ 15 15
+1 -1
include/configs/bmips_bcm6358.h
··· 9 9 #include <linux/sizes.h> 10 10 11 11 /* RAM */ 12 - #define CONFIG_SYS_SDRAM_BASE 0x80000000 12 + #define CFG_SYS_SDRAM_BASE 0x80000000 13 13 14 14 /* U-Boot */ 15 15
+1 -1
include/configs/bmips_bcm6362.h
··· 9 9 #include <linux/sizes.h> 10 10 11 11 /* RAM */ 12 - #define CONFIG_SYS_SDRAM_BASE 0x80000000 12 + #define CFG_SYS_SDRAM_BASE 0x80000000 13 13 14 14 /* U-Boot */ 15 15
+1 -1
include/configs/bmips_bcm6368.h
··· 9 9 #include <linux/sizes.h> 10 10 11 11 /* RAM */ 12 - #define CONFIG_SYS_SDRAM_BASE 0x80000000 12 + #define CFG_SYS_SDRAM_BASE 0x80000000 13 13 14 14 /* U-Boot */ 15 15
+1 -1
include/configs/bmips_bcm6838.h
··· 9 9 #include <linux/sizes.h> 10 10 11 11 /* RAM */ 12 - #define CONFIG_SYS_SDRAM_BASE 0x80000000 12 + #define CFG_SYS_SDRAM_BASE 0x80000000 13 13 14 14 /* U-Boot */ 15 15
+2 -2
include/configs/boston.h
··· 22 22 * Memory map 23 23 */ 24 24 #ifdef CONFIG_64BIT 25 - # define CONFIG_SYS_SDRAM_BASE 0xffffffff80000000 25 + # define CFG_SYS_SDRAM_BASE 0xffffffff80000000 26 26 #else 27 - # define CONFIG_SYS_SDRAM_BASE 0x80000000 27 + # define CFG_SYS_SDRAM_BASE 0x80000000 28 28 #endif 29 29 30 30 #define CONFIG_SYS_INIT_SP_OFFSET 0x400000
+1 -1
include/configs/brppt2.h
··· 76 76 77 77 /* RAM */ 78 78 #define PHYS_SDRAM_1 MMDC0_ARB_BASE_ADDR 79 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 79 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM_1 80 80 #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR 81 81 #define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE 82 82
+1 -1
include/configs/bur_am335x_common.h
··· 45 45 * always, even when we have more. We always start at 0x80000000, 46 46 * and we place the initial stack pointer in our SRAM. 47 47 */ 48 - #define CONFIG_SYS_SDRAM_BASE 0x80000000 48 + #define CFG_SYS_SDRAM_BASE 0x80000000 49 49 50 50 /* 51 51 * Our platforms make use of SPL to initalize the hardware (primarily
+1 -1
include/configs/capricorn-common.h
··· 92 92 93 93 /* On CCP board, USDHC1 is for eMMC */ 94 94 95 - #define CONFIG_SYS_SDRAM_BASE 0x80000000 95 + #define CFG_SYS_SDRAM_BASE 0x80000000 96 96 #define PHYS_SDRAM_1 0x80000000 97 97 #define PHYS_SDRAM_2 0x880000000 98 98 /* DDR3 board total DDR is 1 GB */
+1 -1
include/configs/cgtqmx8.h
··· 111 111 112 112 #define CFG_SYS_FSL_USDHC_NUM 3 113 113 114 - #define CONFIG_SYS_SDRAM_BASE 0x80000000 114 + #define CFG_SYS_SDRAM_BASE 0x80000000 115 115 #define PHYS_SDRAM_1 0x80000000 116 116 #define PHYS_SDRAM_2 0x880000000 117 117 #define PHYS_SDRAM_1_SIZE 0x80000000 /* 2 GB */
+1 -1
include/configs/ci20.h
··· 11 11 12 12 /* Memory configuration */ 13 13 14 - #define CONFIG_SYS_SDRAM_BASE 0x80000000 /* cached (KSEG0) address */ 14 + #define CFG_SYS_SDRAM_BASE 0x80000000 /* cached (KSEG0) address */ 15 15 #define CONFIG_SYS_INIT_SP_OFFSET 0x400000 16 16 17 17 /* NS16550-ish UARTs */
+1 -1
include/configs/cl-som-imx7.h
··· 82 82 /* Physical Memory Map */ 83 83 #define PHYS_SDRAM MMDC0_ARB_BASE_ADDR 84 84 85 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM 85 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM 86 86 #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR 87 87 #define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE 88 88
+1 -1
include/configs/cm_fx6.h
··· 21 21 /* RAM */ 22 22 #define PHYS_SDRAM_1 MMDC0_ARB_BASE_ADDR 23 23 #define PHYS_SDRAM_2 MMDC1_ARB_BASE_ADDR 24 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 24 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM_1 25 25 #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR 26 26 #define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE 27 27
+6 -6
include/configs/cobra5272.h
··· 30 30 */ 31 31 32 32 #define CONFIG_SYS_CLK 66000000 33 - #define CONFIG_SYS_SDRAM_SIZE 16 /* SDRAM size in MB */ 33 + #define CFG_SYS_SDRAM_SIZE 16 /* SDRAM size in MB */ 34 34 35 35 /* --- 36 36 * Define baudrate for UART1 (console output, tftp, ...) ··· 152 152 /*----------------------------------------------------------------------- 153 153 * Start addresses for the final memory configuration 154 154 * (Set up by the startup code) 155 - * Please note that CONFIG_SYS_SDRAM_BASE _must_ start at 0 155 + * Please note that CFG_SYS_SDRAM_BASE _must_ start at 0 156 156 */ 157 - #define CONFIG_SYS_SDRAM_BASE 0x00000000 157 + #define CFG_SYS_SDRAM_BASE 0x00000000 158 158 159 159 /* 160 160 *------------------------------------------------------------------------- ··· 162 162 *----------------------------------------------------------------------- 163 163 */ 164 164 165 - /* #define CONFIG_SYS_SDRAM_SIZE 16 */ 165 + /* #define CFG_SYS_SDRAM_SIZE 16 */ 166 166 167 167 /* 168 168 *----------------------------------------------------------------------- ··· 186 186 #define DCACHE_STATUS (CONFIG_SYS_INIT_RAM_ADDR + \ 187 187 CONFIG_SYS_INIT_RAM_SIZE - 4) 188 188 #define CONFIG_SYS_ICACHE_INV (CF_CACR_CINV | CF_CACR_INVI) 189 - #define CONFIG_SYS_CACHE_ACR0 (CONFIG_SYS_SDRAM_BASE | \ 190 - CF_ADDRMASK(CONFIG_SYS_SDRAM_SIZE) | \ 189 + #define CONFIG_SYS_CACHE_ACR0 (CFG_SYS_SDRAM_BASE | \ 190 + CF_ADDRMASK(CFG_SYS_SDRAM_SIZE) | \ 191 191 CF_ACR_EN | CF_ACR_SM_ALL) 192 192 #define CONFIG_SYS_CACHE_ICACR (CF_CACR_CENB | CF_CACR_CINV | \ 193 193 CF_CACR_DISD | CF_CACR_INVI | \
+1 -1
include/configs/colibri-imx6ull.h
··· 116 116 /* Physical Memory Map */ 117 117 #define PHYS_SDRAM MMDC0_ARB_BASE_ADDR 118 118 119 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM 119 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM 120 120 #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR 121 121 #define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE 122 122
+1 -1
include/configs/colibri-imx8x.h
··· 96 96 /* On Colibri iMX8X USDHC1 is eMMC, USDHC2 is 4-bit SD */ 97 97 #define CFG_SYS_FSL_USDHC_NUM 2 98 98 99 - #define CONFIG_SYS_SDRAM_BASE 0x80000000 99 + #define CFG_SYS_SDRAM_BASE 0x80000000 100 100 #define PHYS_SDRAM_1 0x80000000 101 101 #define PHYS_SDRAM_2 0x880000000 102 102 #define PHYS_SDRAM_1_SIZE SZ_2G /* 2 GB */
+1 -1
include/configs/colibri_imx6.h
··· 100 100 /* Physical Memory Map */ 101 101 #define PHYS_SDRAM MMDC0_ARB_BASE_ADDR 102 102 103 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM 103 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM 104 104 #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR 105 105 #define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE 106 106
+1 -1
include/configs/colibri_imx7.h
··· 160 160 /* Physical Memory Map */ 161 161 #define PHYS_SDRAM MMDC0_ARB_BASE_ADDR 162 162 163 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM 163 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM 164 164 #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR 165 165 #define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE 166 166
+1 -1
include/configs/colibri_vf.h
··· 85 85 #define PHYS_SDRAM (0x80000000) 86 86 #define PHYS_SDRAM_SIZE (256 * SZ_1M) 87 87 88 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM 88 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM 89 89 #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR 90 90 #define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE 91 91
+1 -1
include/configs/corstone1000.h
··· 22 22 #define PHYS_SDRAM_1 (V2M_BASE) 23 23 #define PHYS_SDRAM_1_SIZE 0x80000000 24 24 25 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 25 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM_1 26 26 27 27 #define BOOT_TARGET_DEVICES(func) \ 28 28 func(USB, usb, 0)
+2 -2
include/configs/corvus.h
··· 32 32 #define CONFIG_USART_ID ATMEL_ID_SYS 33 33 34 34 /* SDRAM */ 35 - #define CONFIG_SYS_SDRAM_BASE ATMEL_BASE_CS6 36 - #define CONFIG_SYS_SDRAM_SIZE 0x08000000 35 + #define CFG_SYS_SDRAM_BASE ATMEL_BASE_CS6 36 + #define CFG_SYS_SDRAM_SIZE 0x08000000 37 37 38 38 /* NAND flash */ 39 39 #ifdef CONFIG_CMD_NAND
+1 -1
include/configs/da850evm.h
··· 166 166 /* Load U-Boot Image From MMC */ 167 167 168 168 /* additions for new relocation code, must added to all boards */ 169 - #define CONFIG_SYS_SDRAM_BASE 0xc0000000 169 + #define CFG_SYS_SDRAM_BASE 0xc0000000 170 170 171 171 #include <asm/arch/hardware.h> 172 172
+1 -1
include/configs/dart_6ul.h
··· 42 42 #define PHYS_SDRAM MMDC0_ARB_BASE_ADDR 43 43 #define PHYS_SDRAM_SIZE SZ_512M 44 44 45 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM 45 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM 46 46 #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR 47 47 #define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE 48 48
+2 -2
include/configs/devkit3250.h
··· 15 15 /* 16 16 * Memory configurations 17 17 */ 18 - #define CONFIG_SYS_SDRAM_BASE EMC_DYCS0_BASE 19 - #define CONFIG_SYS_SDRAM_SIZE SZ_64M 18 + #define CFG_SYS_SDRAM_BASE EMC_DYCS0_BASE 19 + #define CFG_SYS_SDRAM_SIZE SZ_64M 20 20 21 21 /* 22 22 * DMA
+1 -1
include/configs/dh_imx6.h
··· 72 72 /* Physical Memory Map */ 73 73 #define PHYS_SDRAM MMDC0_ARB_BASE_ADDR 74 74 75 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM 75 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM 76 76 #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR 77 77 #define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE 78 78
+1 -1
include/configs/display5.h
··· 283 283 284 284 /* Physical Memory Map */ 285 285 #define PHYS_SDRAM MMDC0_ARB_BASE_ADDR 286 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM 286 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM 287 287 288 288 #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR 289 289 #define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE
+1 -1
include/configs/dragonboard410c.h
··· 17 17 #define PHYS_SDRAM_1 0x80000000 18 18 /* Note: 8 MiB (0x86000000 - 0x86800000) are reserved for tz/smem/hyp/rmtfs/rfsa */ 19 19 #define PHYS_SDRAM_1_SIZE SZ_1G 20 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 20 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM_1 21 21 22 22 /* Environment */ 23 23 #define BOOT_TARGET_DEVICES(func) \
+1 -1
include/configs/dragonboard820c.h
··· 19 19 #define PHYS_SDRAM_2 0x100000000 20 20 #define PHYS_SDRAM_2_SIZE 0x5ea4ffff 21 21 22 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 22 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM_1 23 23 24 24 #include <config_distro_bootcmd.h> 25 25
+1 -1
include/configs/durian.h
··· 11 11 /* Sdram Bank #1 Address */ 12 12 #define PHYS_SDRAM_1 0x80000000 13 13 #define PHYS_SDRAM_1_SIZE 0x7B000000 14 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 14 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM_1 15 15 16 16 /* BOOT */ 17 17
+1 -1
include/configs/ea-lpc3250devkitv2.h
··· 13 13 /* 14 14 * RAM 15 15 */ 16 - #define CONFIG_SYS_SDRAM_BASE EMC_DYCS0_BASE 16 + #define CFG_SYS_SDRAM_BASE EMC_DYCS0_BASE 17 17 18 18 /* 19 19 * cmd
+7 -7
include/configs/eb_cpu5282.h
··· 66 66 /*----------------------------------------------------------------------- 67 67 * Start addresses for the final memory configuration 68 68 * (Set up by the startup code) 69 - * Please note that CONFIG_SYS_SDRAM_BASE _must_ start at 0 69 + * Please note that CFG_SYS_SDRAM_BASE _must_ start at 0 70 70 */ 71 - #define CONFIG_SYS_SDRAM_BASE0 0x00000000 72 - #define CONFIG_SYS_SDRAM_SIZE0 16 /* SDRAM size in MB */ 71 + #define CFG_SYS_SDRAM_BASE0 0x00000000 72 + #define CFG_SYS_SDRAM_SIZE0 16 /* SDRAM size in MB */ 73 73 74 - #define CONFIG_SYS_SDRAM_BASE CONFIG_SYS_SDRAM_BASE0 75 - #define CONFIG_SYS_SDRAM_SIZE CONFIG_SYS_SDRAM_SIZE0 74 + #define CFG_SYS_SDRAM_BASE CFG_SYS_SDRAM_BASE0 75 + #define CFG_SYS_SDRAM_SIZE CFG_SYS_SDRAM_SIZE0 76 76 77 77 /* 78 78 * For booting Linux, the board info and command line data ··· 103 103 #define DCACHE_STATUS (CONFIG_SYS_INIT_RAM_ADDR + \ 104 104 CONFIG_SYS_INIT_RAM_SIZE - 4) 105 105 #define CONFIG_SYS_ICACHE_INV (CF_CACR_CINV + CF_CACR_DCM) 106 - #define CONFIG_SYS_CACHE_ACR0 (CONFIG_SYS_SDRAM_BASE | \ 107 - CF_ADDRMASK(CONFIG_SYS_SDRAM_SIZE) | \ 106 + #define CONFIG_SYS_CACHE_ACR0 (CFG_SYS_SDRAM_BASE | \ 107 + CF_ADDRMASK(CFG_SYS_SDRAM_SIZE) | \ 108 108 CF_ACR_EN | CF_ACR_SM_ALL) 109 109 #define CONFIG_SYS_CACHE_ICACR (CF_CACR_CENB | CF_CACR_DISD | \ 110 110 CF_CACR_CEIB | CF_CACR_DBWE | \
+1 -1
include/configs/el6x_common.h
··· 50 50 /* Physical Memory Map */ 51 51 #define PHYS_SDRAM MMDC0_ARB_BASE_ADDR 52 52 53 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM 53 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM 54 54 #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR 55 55 #define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE 56 56
+1 -1
include/configs/embestmx6boards.h
··· 27 27 /* Physical Memory Map */ 28 28 #define PHYS_SDRAM MMDC0_ARB_BASE_ADDR 29 29 30 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM 30 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM 31 31 #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR 32 32 #define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE 33 33
+2 -2
include/configs/emsdp.h
··· 8 8 9 9 #include <linux/sizes.h> 10 10 11 - #define CONFIG_SYS_SDRAM_BASE 0x10000000 12 - #define CONFIG_SYS_SDRAM_SIZE SZ_16M 11 + #define CFG_SYS_SDRAM_BASE 0x10000000 12 + #define CFG_SYS_SDRAM_SIZE SZ_16M 13 13 14 14 /* 15 15 * Environment
+1 -1
include/configs/espresso7420.h
··· 10 10 11 11 #include <configs/exynos7420-common.h> 12 12 13 - #define CONFIG_SYS_SDRAM_BASE 0x40000000 13 + #define CFG_SYS_SDRAM_BASE 0x40000000 14 14 15 15 /* DRAM Memory Banks */ 16 16 #define SDRAM_BANK_SIZE (256UL << 20UL) /* 256 MB */
+2 -2
include/configs/ethernut5.h
··· 26 26 #define CONFIG_SYS_INIT_RAM_SIZE (32 << 10) 27 27 28 28 /* 128MB SDRAM in 1 bank */ 29 - #define CONFIG_SYS_SDRAM_BASE 0x20000000 30 - #define CONFIG_SYS_SDRAM_SIZE (128 << 20) 29 + #define CFG_SYS_SDRAM_BASE 0x20000000 30 + #define CFG_SYS_SDRAM_SIZE (128 << 20) 31 31 32 32 /* 512kB on-chip NOR flash */ 33 33 # define CONFIG_SYS_FLASH_BASE 0x00200000 /* AT91SAM9XE_FLASH_BASE */
+8 -8
include/configs/exynos5-common.h
··· 29 29 30 30 #define CONFIG_RD_LVL 31 31 32 - #define PHYS_SDRAM_1 CONFIG_SYS_SDRAM_BASE 32 + #define PHYS_SDRAM_1 CFG_SYS_SDRAM_BASE 33 33 #define PHYS_SDRAM_1_SIZE SDRAM_BANK_SIZE 34 - #define PHYS_SDRAM_2 (CONFIG_SYS_SDRAM_BASE + SDRAM_BANK_SIZE) 34 + #define PHYS_SDRAM_2 (CFG_SYS_SDRAM_BASE + SDRAM_BANK_SIZE) 35 35 #define PHYS_SDRAM_2_SIZE SDRAM_BANK_SIZE 36 - #define PHYS_SDRAM_3 (CONFIG_SYS_SDRAM_BASE + (2 * SDRAM_BANK_SIZE)) 36 + #define PHYS_SDRAM_3 (CFG_SYS_SDRAM_BASE + (2 * SDRAM_BANK_SIZE)) 37 37 #define PHYS_SDRAM_3_SIZE SDRAM_BANK_SIZE 38 - #define PHYS_SDRAM_4 (CONFIG_SYS_SDRAM_BASE + (3 * SDRAM_BANK_SIZE)) 38 + #define PHYS_SDRAM_4 (CFG_SYS_SDRAM_BASE + (3 * SDRAM_BANK_SIZE)) 39 39 #define PHYS_SDRAM_4_SIZE SDRAM_BANK_SIZE 40 - #define PHYS_SDRAM_5 (CONFIG_SYS_SDRAM_BASE + (4 * SDRAM_BANK_SIZE)) 40 + #define PHYS_SDRAM_5 (CFG_SYS_SDRAM_BASE + (4 * SDRAM_BANK_SIZE)) 41 41 #define PHYS_SDRAM_5_SIZE SDRAM_BANK_SIZE 42 - #define PHYS_SDRAM_6 (CONFIG_SYS_SDRAM_BASE + (5 * SDRAM_BANK_SIZE)) 42 + #define PHYS_SDRAM_6 (CFG_SYS_SDRAM_BASE + (5 * SDRAM_BANK_SIZE)) 43 43 #define PHYS_SDRAM_6_SIZE SDRAM_BANK_SIZE 44 - #define PHYS_SDRAM_7 (CONFIG_SYS_SDRAM_BASE + (6 * SDRAM_BANK_SIZE)) 44 + #define PHYS_SDRAM_7 (CFG_SYS_SDRAM_BASE + (6 * SDRAM_BANK_SIZE)) 45 45 #define PHYS_SDRAM_7_SIZE SDRAM_BANK_SIZE 46 - #define PHYS_SDRAM_8 (CONFIG_SYS_SDRAM_BASE + (7 * SDRAM_BANK_SIZE)) 46 + #define PHYS_SDRAM_8 (CFG_SYS_SDRAM_BASE + (7 * SDRAM_BANK_SIZE)) 47 47 #define PHYS_SDRAM_8_SIZE SDRAM_BANK_SIZE 48 48 49 49 /* SPI */
+1 -1
include/configs/exynos5250-common.h
··· 9 9 #ifndef __CONFIG_5250_H 10 10 #define __CONFIG_5250_H 11 11 12 - #define CONFIG_SYS_SDRAM_BASE 0x40000000 12 + #define CFG_SYS_SDRAM_BASE 0x40000000 13 13 14 14 /* DRAM Memory Banks */ 15 15 #define SDRAM_BANK_SIZE (256UL << 20UL) /* 256 MB */
+8 -8
include/configs/exynos7420-common.h
··· 23 23 24 24 /* select serial console configuration */ 25 25 26 - #define PHYS_SDRAM_1 CONFIG_SYS_SDRAM_BASE 26 + #define PHYS_SDRAM_1 CFG_SYS_SDRAM_BASE 27 27 #define PHYS_SDRAM_1_SIZE SDRAM_BANK_SIZE 28 - #define PHYS_SDRAM_2 (CONFIG_SYS_SDRAM_BASE + SDRAM_BANK_SIZE) 28 + #define PHYS_SDRAM_2 (CFG_SYS_SDRAM_BASE + SDRAM_BANK_SIZE) 29 29 #define PHYS_SDRAM_2_SIZE SDRAM_BANK_SIZE 30 - #define PHYS_SDRAM_3 (CONFIG_SYS_SDRAM_BASE + (2 * SDRAM_BANK_SIZE)) 30 + #define PHYS_SDRAM_3 (CFG_SYS_SDRAM_BASE + (2 * SDRAM_BANK_SIZE)) 31 31 #define PHYS_SDRAM_3_SIZE SDRAM_BANK_SIZE 32 - #define PHYS_SDRAM_4 (CONFIG_SYS_SDRAM_BASE + (3 * SDRAM_BANK_SIZE)) 32 + #define PHYS_SDRAM_4 (CFG_SYS_SDRAM_BASE + (3 * SDRAM_BANK_SIZE)) 33 33 #define PHYS_SDRAM_4_SIZE SDRAM_BANK_SIZE 34 - #define PHYS_SDRAM_5 (CONFIG_SYS_SDRAM_BASE + (4 * SDRAM_BANK_SIZE)) 34 + #define PHYS_SDRAM_5 (CFG_SYS_SDRAM_BASE + (4 * SDRAM_BANK_SIZE)) 35 35 #define PHYS_SDRAM_5_SIZE SDRAM_BANK_SIZE 36 - #define PHYS_SDRAM_6 (CONFIG_SYS_SDRAM_BASE + (5 * SDRAM_BANK_SIZE)) 36 + #define PHYS_SDRAM_6 (CFG_SYS_SDRAM_BASE + (5 * SDRAM_BANK_SIZE)) 37 37 #define PHYS_SDRAM_6_SIZE SDRAM_BANK_SIZE 38 - #define PHYS_SDRAM_7 (CONFIG_SYS_SDRAM_BASE + (6 * SDRAM_BANK_SIZE)) 38 + #define PHYS_SDRAM_7 (CFG_SYS_SDRAM_BASE + (6 * SDRAM_BANK_SIZE)) 39 39 #define PHYS_SDRAM_7_SIZE SDRAM_BANK_SIZE 40 - #define PHYS_SDRAM_8 (CONFIG_SYS_SDRAM_BASE + (7 * SDRAM_BANK_SIZE)) 40 + #define PHYS_SDRAM_8 (CFG_SYS_SDRAM_BASE + (7 * SDRAM_BANK_SIZE)) 41 41 #define PHYS_SDRAM_8_SIZE SDRAM_BANK_SIZE 42 42 43 43 /* Configuration of ENV Blocks */
+13 -13
include/configs/exynos78x0-common.h
··· 21 21 #define CONFIG_SYS_BAUDRATE_TABLE \ 22 22 {9600, 19200, 38400, 57600, 115200, 230400, 460800, 921600} 23 23 24 - #define CONFIG_SYS_SDRAM_BASE 0x40000000 24 + #define CFG_SYS_SDRAM_BASE 0x40000000 25 25 /* DRAM Memory Banks */ 26 26 #define SDRAM_BANK_SIZE (256UL << 20UL) /* 256 MB */ 27 - #define PHYS_SDRAM_1 CONFIG_SYS_SDRAM_BASE 27 + #define PHYS_SDRAM_1 CFG_SYS_SDRAM_BASE 28 28 #define PHYS_SDRAM_1_SIZE SDRAM_BANK_SIZE 29 - #define PHYS_SDRAM_2 (CONFIG_SYS_SDRAM_BASE + SDRAM_BANK_SIZE) 29 + #define PHYS_SDRAM_2 (CFG_SYS_SDRAM_BASE + SDRAM_BANK_SIZE) 30 30 #define PHYS_SDRAM_2_SIZE SDRAM_BANK_SIZE 31 - #define PHYS_SDRAM_3 (CONFIG_SYS_SDRAM_BASE + (2 * SDRAM_BANK_SIZE)) 31 + #define PHYS_SDRAM_3 (CFG_SYS_SDRAM_BASE + (2 * SDRAM_BANK_SIZE)) 32 32 #define PHYS_SDRAM_3_SIZE SDRAM_BANK_SIZE 33 - #define PHYS_SDRAM_4 (CONFIG_SYS_SDRAM_BASE + (3 * SDRAM_BANK_SIZE)) 33 + #define PHYS_SDRAM_4 (CFG_SYS_SDRAM_BASE + (3 * SDRAM_BANK_SIZE)) 34 34 #define PHYS_SDRAM_4_SIZE SDRAM_BANK_SIZE 35 - #define PHYS_SDRAM_5 (CONFIG_SYS_SDRAM_BASE + (4 * SDRAM_BANK_SIZE)) 35 + #define PHYS_SDRAM_5 (CFG_SYS_SDRAM_BASE + (4 * SDRAM_BANK_SIZE)) 36 36 #define PHYS_SDRAM_5_SIZE SDRAM_BANK_SIZE 37 - #define PHYS_SDRAM_6 (CONFIG_SYS_SDRAM_BASE + (5 * SDRAM_BANK_SIZE)) 37 + #define PHYS_SDRAM_6 (CFG_SYS_SDRAM_BASE + (5 * SDRAM_BANK_SIZE)) 38 38 #define PHYS_SDRAM_6_SIZE SDRAM_BANK_SIZE 39 - #define PHYS_SDRAM_7 (CONFIG_SYS_SDRAM_BASE + (6 * SDRAM_BANK_SIZE)) 39 + #define PHYS_SDRAM_7 (CFG_SYS_SDRAM_BASE + (6 * SDRAM_BANK_SIZE)) 40 40 #define PHYS_SDRAM_7_SIZE SDRAM_BANK_SIZE 41 - #define PHYS_SDRAM_8 (CONFIG_SYS_SDRAM_BASE + (7 * SDRAM_BANK_SIZE)) 41 + #define PHYS_SDRAM_8 (CFG_SYS_SDRAM_BASE + (7 * SDRAM_BANK_SIZE)) 42 42 #define PHYS_SDRAM_8_SIZE SDRAM_BANK_SIZE 43 - #define PHYS_SDRAM_9 (CONFIG_SYS_SDRAM_BASE + (8 * SDRAM_BANK_SIZE)) 43 + #define PHYS_SDRAM_9 (CFG_SYS_SDRAM_BASE + (8 * SDRAM_BANK_SIZE)) 44 44 #define PHYS_SDRAM_9_SIZE SDRAM_BANK_SIZE 45 - #define PHYS_SDRAM_10 (CONFIG_SYS_SDRAM_BASE + (9 * SDRAM_BANK_SIZE)) 45 + #define PHYS_SDRAM_10 (CFG_SYS_SDRAM_BASE + (9 * SDRAM_BANK_SIZE)) 46 46 #define PHYS_SDRAM_10_SIZE SDRAM_BANK_SIZE 47 - #define PHYS_SDRAM_11 (CONFIG_SYS_SDRAM_BASE + (10 * SDRAM_BANK_SIZE)) 47 + #define PHYS_SDRAM_11 (CFG_SYS_SDRAM_BASE + (10 * SDRAM_BANK_SIZE)) 48 48 #define PHYS_SDRAM_11_SIZE SDRAM_BANK_SIZE 49 - #define PHYS_SDRAM_12 (CONFIG_SYS_SDRAM_BASE + (11 * SDRAM_BANK_SIZE)) 49 + #define PHYS_SDRAM_12 (CFG_SYS_SDRAM_BASE + (11 * SDRAM_BANK_SIZE)) 50 50 #define PHYS_SDRAM_12_SIZE SDRAM_BANK_SIZE 51 51 52 52 #ifndef MEM_LAYOUT_ENV_SETTINGS
+2 -2
include/configs/gardena-smart-gateway-at91sam.h
··· 18 18 #define CONFIG_SYS_AT91_MAIN_CLOCK 12000000 /* 12 MHz crystal */ 19 19 20 20 /* SDRAM */ 21 - #define CONFIG_SYS_SDRAM_BASE 0x20000000 22 - #define CONFIG_SYS_SDRAM_SIZE 0x08000000 /* 128 megs */ 21 + #define CFG_SYS_SDRAM_BASE 0x20000000 22 + #define CFG_SYS_SDRAM_SIZE 0x08000000 /* 128 megs */ 23 23 24 24 /* NAND flash */ 25 25 #define CFG_SYS_NAND_BASE 0x40000000
+1 -1
include/configs/gardena-smart-gateway-mt7688.h
··· 7 7 #define __CONFIG_GARDENA_SMART_GATEWAY_H 8 8 9 9 /* RAM */ 10 - #define CONFIG_SYS_SDRAM_BASE 0x80000000 10 + #define CFG_SYS_SDRAM_BASE 0x80000000 11 11 12 12 #define CONFIG_SYS_INIT_SP_OFFSET 0x400000 13 13
+3 -3
include/configs/gazerbeam.h
··· 12 12 /* 13 13 * DDR Setup 14 14 */ 15 - #define CONFIG_SYS_SDRAM_BASE 0x00000000 /* DDR is system memory */ 16 - /* TODO: Check: Can this be unified with CONFIG_SYS_SDRAM_BASE? */ 17 - #define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_SDRAM_BASE 15 + #define CFG_SYS_SDRAM_BASE 0x00000000 /* DDR is system memory */ 16 + /* TODO: Check: Can this be unified with CFG_SYS_SDRAM_BASE? */ 17 + #define CONFIG_SYS_DDR_SDRAM_BASE CFG_SYS_SDRAM_BASE 18 18 19 19 /* 20 20 * Memory test
+1 -1
include/configs/ge_b1x5v2.h
··· 37 37 /* Memory */ 38 38 #define PHYS_SDRAM MMDC0_ARB_BASE_ADDR 39 39 40 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM 40 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM 41 41 #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR 42 42 #define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE 43 43
+1 -1
include/configs/ge_bx50v3.h
··· 94 94 95 95 #define CONFIG_SYS_BOOTMAPSZ (256 << 20) /* 256M */ 96 96 97 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM 97 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM 98 98 #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR 99 99 #define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE 100 100
+2 -2
include/configs/grpeach.h
··· 13 13 /* Miscellaneous */ 14 14 15 15 /* Internal RAM Size (RZ/A1=3M, RZ/A1M=5M, RZ/A1H=10M) */ 16 - #define CONFIG_SYS_SDRAM_BASE 0x20000000 17 - #define CONFIG_SYS_SDRAM_SIZE (10 * 1024 * 1024) 16 + #define CFG_SYS_SDRAM_BASE 0x20000000 17 + #define CFG_SYS_SDRAM_SIZE (10 * 1024 * 1024) 18 18 19 19 /* Network interface */ 20 20 #define CONFIG_SH_ETHER_USE_PORT 0
+1 -1
include/configs/gw_ventana.h
··· 53 53 54 54 /* Physical Memory Map */ 55 55 #define PHYS_SDRAM MMDC0_ARB_BASE_ADDR 56 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM 56 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM 57 57 #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR 58 58 #define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE 59 59
+1 -1
include/configs/gxp.h
··· 10 10 #ifndef _GXP_H_ 11 11 #define _GXP_H_ 12 12 13 - #define CONFIG_SYS_SDRAM_BASE 0x40000000 13 + #define CFG_SYS_SDRAM_BASE 0x40000000 14 14 15 15 #endif
+1 -1
include/configs/highbank.h
··· 14 14 * Miscellaneous configurable options 15 15 */ 16 16 17 - #define CONFIG_SYS_SDRAM_BASE 0x00000000 17 + #define CFG_SYS_SDRAM_BASE 0x00000000 18 18 19 19 #define CONFIG_EXTRA_ENV_SETTINGS \ 20 20 "fdt_high=0x20000000\0" \
+1 -1
include/configs/hikey.h
··· 24 24 /* 1008 MB (the last 16Mb are secured for TrustZone by ATF*/ 25 25 #define PHYS_SDRAM_1_SIZE 0x3EFFFFFF 26 26 27 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 27 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM_1 28 28 29 29 #define CONFIG_SYS_INIT_RAM_SIZE 0x1000 30 30
+1 -1
include/configs/hikey960.h
··· 16 16 #define PHYS_SDRAM_1 0x00000000 17 17 #define PHYS_SDRAM_1_SIZE 0xC0000000 18 18 19 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 19 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM_1 20 20 21 21 #define CONFIG_SYS_INIT_RAM_SIZE 0x1000 22 22
+2 -2
include/configs/hsdk-4xd.h
··· 22 22 */ 23 23 24 24 #define CONFIG_SYS_DDR_SDRAM_BASE 0x80000000 25 - #define CONFIG_SYS_SDRAM_BASE CONFIG_SYS_DDR_SDRAM_BASE 26 - #define CONFIG_SYS_SDRAM_SIZE SZ_1G 25 + #define CFG_SYS_SDRAM_BASE CONFIG_SYS_DDR_SDRAM_BASE 26 + #define CFG_SYS_SDRAM_SIZE SZ_1G 27 27 28 28 /* 29 29 * UART configuration
+2 -2
include/configs/hsdk.h
··· 21 21 */ 22 22 23 23 #define CONFIG_SYS_DDR_SDRAM_BASE 0x80000000 24 - #define CONFIG_SYS_SDRAM_BASE CONFIG_SYS_DDR_SDRAM_BASE 25 - #define CONFIG_SYS_SDRAM_SIZE SZ_1G 24 + #define CFG_SYS_SDRAM_BASE CONFIG_SYS_DDR_SDRAM_BASE 25 + #define CFG_SYS_SDRAM_SIZE SZ_1G 26 26 27 27 /* 28 28 * UART configuration
+2 -2
include/configs/imgtec_xilfpga.h
··· 21 21 */ 22 22 23 23 /* SDRAM Configuration (for final code, data, stack, heap) */ 24 - #define CONFIG_SYS_SDRAM_BASE 0x80000000 25 - #define CONFIG_SYS_SDRAM_SIZE 0x08000000 /* 128 Mbytes */ 24 + #define CFG_SYS_SDRAM_BASE 0x80000000 25 + #define CFG_SYS_SDRAM_SIZE 0x08000000 /* 128 Mbytes */ 26 26 27 27 /*---------------------------------------------------------------------- 28 28 * Commands
+1 -1
include/configs/imx27lite-common.h
··· 130 130 "upd=run load update\0" \ 131 131 132 132 /* additions for new relocation code, must be added to all boards */ 133 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 133 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM_1 134 134 #endif /* __IMX27LITE_COMMON_CONFIG_H */
+1 -1
include/configs/imx6-engicam.h
··· 109 109 /* Physical Memory Map */ 110 110 #define PHYS_SDRAM MMDC0_ARB_BASE_ADDR 111 111 112 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM 112 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM 113 113 #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR 114 114 #define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE 115 115
+1 -1
include/configs/imx6_logic.h
··· 105 105 106 106 /* Physical Memory Map */ 107 107 #define PHYS_SDRAM MMDC0_ARB_BASE_ADDR 108 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM 108 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM 109 109 #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR 110 110 #define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE 111 111
+1 -1
include/configs/imx6dl-mamoj.h
··· 55 55 /* Physical Memory Map */ 56 56 #define PHYS_SDRAM MMDC0_ARB_BASE_ADDR 57 57 58 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM 58 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM 59 59 #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR 60 60 #define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE 61 61
+1 -1
include/configs/imx6q-bosch-acc.h
··· 85 85 /* Physical Memory Map */ 86 86 #define PHYS_SDRAM MMDC0_ARB_BASE_ADDR 87 87 88 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM 88 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM 89 89 #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR 90 90 #define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE 91 91
+1 -1
include/configs/imx6ulz_smm_m2.h
··· 63 63 #define PHYS_SDRAM MMDC0_ARB_BASE_ADDR 64 64 #define PHYS_SDRAM_SIZE SZ_128M 65 65 66 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM 66 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM 67 67 #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR 68 68 #define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE 69 69
+1 -1
include/configs/imx7-cm.h
··· 69 69 /* Physical Memory Map */ 70 70 #define PHYS_SDRAM MMDC0_ARB_BASE_ADDR 71 71 72 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM 72 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM 73 73 #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR 74 74 #define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE 75 75
+1 -1
include/configs/imx8mm-cl-iot-gate.h
··· 127 127 #define CONFIG_SYS_INIT_RAM_SIZE 0x80000 128 128 129 129 130 - #define CONFIG_SYS_SDRAM_BASE 0x40000000 130 + #define CFG_SYS_SDRAM_BASE 0x40000000 131 131 #define PHYS_SDRAM 0x40000000 132 132 #define PHYS_SDRAM_SIZE 0x80000000 /* 2GB DDR */ 133 133
+1 -1
include/configs/imx8mm_beacon.h
··· 74 74 #define CONFIG_SYS_INIT_RAM_ADDR 0x40000000 75 75 #define CONFIG_SYS_INIT_RAM_SIZE 0x200000 76 76 77 - #define CONFIG_SYS_SDRAM_BASE 0x40000000 77 + #define CFG_SYS_SDRAM_BASE 0x40000000 78 78 #define PHYS_SDRAM 0x40000000 79 79 #define PHYS_SDRAM_SIZE 0x80000000 /* 2GB DDR */ 80 80
+1 -1
include/configs/imx8mm_data_modul_edm_sbc.h
··· 21 21 #define CONFIG_SYS_INIT_RAM_ADDR 0x40000000 22 22 #define CONFIG_SYS_INIT_RAM_SIZE 0x200000 23 23 24 - #define CONFIG_SYS_SDRAM_BASE 0x40000000 24 + #define CFG_SYS_SDRAM_BASE 0x40000000 25 25 #define PHYS_SDRAM 0x40000000 26 26 #define PHYS_SDRAM_SIZE 0x40000000 /* Minimum 1 GiB DDR */ 27 27
+1 -1
include/configs/imx8mm_evk.h
··· 57 57 #define CONFIG_SYS_INIT_RAM_SIZE 0x200000 58 58 59 59 60 - #define CONFIG_SYS_SDRAM_BASE 0x40000000 60 + #define CFG_SYS_SDRAM_BASE 0x40000000 61 61 #define PHYS_SDRAM 0x40000000 62 62 #define PHYS_SDRAM_SIZE 0x80000000 /* 2GB DDR */ 63 63
+1 -1
include/configs/imx8mm_icore_mx8mm.h
··· 41 41 #define CONFIG_SYS_INIT_RAM_ADDR 0x40000000 42 42 #define CONFIG_SYS_INIT_RAM_SIZE SZ_2M 43 43 44 - #define CONFIG_SYS_SDRAM_BASE 0x40000000 44 + #define CFG_SYS_SDRAM_BASE 0x40000000 45 45 46 46 /* SDRAM configuration */ 47 47 #define PHYS_SDRAM 0x40000000
+1 -1
include/configs/imx8mm_venice.h
··· 32 32 #define CONFIG_SYS_INIT_RAM_ADDR 0x40000000 33 33 #define CONFIG_SYS_INIT_RAM_SIZE SZ_2M 34 34 35 - #define CONFIG_SYS_SDRAM_BASE 0x40000000 35 + #define CFG_SYS_SDRAM_BASE 0x40000000 36 36 37 37 /* SDRAM configuration */ 38 38 #define PHYS_SDRAM 0x40000000
+1 -1
include/configs/imx8mn_beacon.h
··· 78 78 #define CONFIG_SYS_INIT_RAM_ADDR 0x40000000 79 79 #define CONFIG_SYS_INIT_RAM_SIZE 0x200000 80 80 81 - #define CONFIG_SYS_SDRAM_BASE 0x40000000 81 + #define CFG_SYS_SDRAM_BASE 0x40000000 82 82 #define PHYS_SDRAM 0x40000000 83 83 #if CONFIG_IS_ENABLED(IMX8MN_BEACON_2GB_LPDDR) 84 84 #define PHYS_SDRAM_SIZE 0x80000000 /* 2GB DDR */
+1 -1
include/configs/imx8mn_bsh_smm_s2_common.h
··· 26 26 #define CONFIG_SYS_INIT_RAM_ADDR 0x40000000 27 27 #define CONFIG_SYS_INIT_RAM_SIZE SZ_512K 28 28 29 - #define CONFIG_SYS_SDRAM_BASE 0x40000000 29 + #define CFG_SYS_SDRAM_BASE 0x40000000 30 30 #define PHYS_SDRAM 0x40000000 31 31 32 32 #endif /* __IMX8MN_BSH_SMM_S2_COMMON_H */
+1 -1
include/configs/imx8mn_evk.h
··· 49 49 #define CONFIG_SYS_INIT_RAM_SIZE 0x200000 50 50 51 51 52 - #define CONFIG_SYS_SDRAM_BASE 0x40000000 52 + #define CFG_SYS_SDRAM_BASE 0x40000000 53 53 #define PHYS_SDRAM 0x40000000 54 54 #define PHYS_SDRAM_SIZE 0x80000000 /* 2GB DDR */ 55 55
+1 -1
include/configs/imx8mn_var_som.h
··· 46 46 #define CONFIG_SYS_INIT_RAM_ADDR 0x40000000 47 47 #define CONFIG_SYS_INIT_RAM_SIZE SZ_512K 48 48 49 - #define CONFIG_SYS_SDRAM_BASE 0x40000000 49 + #define CFG_SYS_SDRAM_BASE 0x40000000 50 50 #define PHYS_SDRAM 0x40000000 51 51 #define PHYS_SDRAM_SIZE SZ_1G /* 1GB DDR */ 52 52
+1 -1
include/configs/imx8mn_venice.h
··· 26 26 #define CONFIG_SYS_INIT_RAM_ADDR 0x40000000 27 27 #define CONFIG_SYS_INIT_RAM_SIZE SZ_2M 28 28 29 - #define CONFIG_SYS_SDRAM_BASE 0x40000000 29 + #define CFG_SYS_SDRAM_BASE 0x40000000 30 30 31 31 /* SDRAM configuration */ 32 32 #define PHYS_SDRAM 0x40000000
+1 -1
include/configs/imx8mp_dhcom_pdk2.h
··· 14 14 #define CONFIG_SYS_INIT_RAM_ADDR 0x40000000 15 15 #define CONFIG_SYS_INIT_RAM_SIZE 0x200000 16 16 17 - #define CONFIG_SYS_SDRAM_BASE 0x40000000 17 + #define CFG_SYS_SDRAM_BASE 0x40000000 18 18 #define PHYS_SDRAM 0x40000000 19 19 #define PHYS_SDRAM_SIZE 0x20000000 /* Minimum 512 MiB DDR */ 20 20
+1 -1
include/configs/imx8mp_evk.h
··· 55 55 56 56 57 57 /* Totally 2GB DDR */ 58 - #define CONFIG_SYS_SDRAM_BASE 0x40000000 58 + #define CFG_SYS_SDRAM_BASE 0x40000000 59 59 #define PHYS_SDRAM 0x40000000 60 60 #define PHYS_SDRAM_SIZE 0x80000000 61 61
+1 -1
include/configs/imx8mp_icore_mx8mp.h
··· 56 56 #define CONFIG_SYS_INIT_RAM_SIZE 0x80000 57 57 58 58 /* Totally 2GB DDR */ 59 - #define CONFIG_SYS_SDRAM_BASE 0x40000000 59 + #define CFG_SYS_SDRAM_BASE 0x40000000 60 60 #define PHYS_SDRAM 0x40000000 61 61 #define PHYS_SDRAM_SIZE 0x80000000 62 62
+1 -1
include/configs/imx8mp_rsb3720.h
··· 136 136 137 137 138 138 /* Totally 6GB or 4G DDR */ 139 - #define CONFIG_SYS_SDRAM_BASE 0x40000000 139 + #define CFG_SYS_SDRAM_BASE 0x40000000 140 140 #define PHYS_SDRAM 0x40000000 141 141 #if defined(CONFIG_TARGET_IMX8MP_RSB3720A1_6G) 142 142 #define PHYS_SDRAM_SIZE 0xC0000000 /* 3 GB */
+1 -1
include/configs/imx8mp_venice.h
··· 26 26 #define CONFIG_SYS_INIT_RAM_ADDR 0x40000000 27 27 #define CONFIG_SYS_INIT_RAM_SIZE SZ_2M 28 28 29 - #define CONFIG_SYS_SDRAM_BASE 0x40000000 29 + #define CFG_SYS_SDRAM_BASE 0x40000000 30 30 31 31 /* SDRAM configuration */ 32 32 #define PHYS_SDRAM 0x40000000
+1 -1
include/configs/imx8mq_cm.h
··· 50 50 #define CONFIG_SYS_INIT_RAM_SIZE 0x80000 51 51 52 52 53 - #define CONFIG_SYS_SDRAM_BASE 0x40000000 53 + #define CFG_SYS_SDRAM_BASE 0x40000000 54 54 #define PHYS_SDRAM 0x40000000 55 55 #define PHYS_SDRAM_SIZE 0x40000000 /* 1 GB DDR */ 56 56
+1 -1
include/configs/imx8mq_evk.h
··· 56 56 #define CONFIG_SYS_INIT_RAM_SIZE 0x80000 57 57 58 58 59 - #define CONFIG_SYS_SDRAM_BASE 0x40000000 59 + #define CFG_SYS_SDRAM_BASE 0x40000000 60 60 #define PHYS_SDRAM 0x40000000 61 61 #define PHYS_SDRAM_SIZE 0xC0000000 /* 3GB DDR */ 62 62
+1 -1
include/configs/imx8mq_phanbell.h
··· 88 88 #define CONFIG_SYS_INIT_RAM_SIZE 0x80000 89 89 90 90 91 - #define CONFIG_SYS_SDRAM_BASE 0x40000000 91 + #define CFG_SYS_SDRAM_BASE 0x40000000 92 92 #define PHYS_SDRAM 0x40000000 93 93 #define PHYS_SDRAM_SIZE 0x40000000 /* 1GB DDR */ 94 94
+1 -1
include/configs/imx8qm_mek.h
··· 103 103 104 104 /* On LPDDR4 board, USDHC1 is for eMMC, USDHC2 is for SD on CPU board */ 105 105 106 - #define CONFIG_SYS_SDRAM_BASE 0x80000000 106 + #define CFG_SYS_SDRAM_BASE 0x80000000 107 107 #define PHYS_SDRAM_1 0x80000000 108 108 #define PHYS_SDRAM_2 0x880000000 109 109 #define PHYS_SDRAM_1_SIZE 0x80000000 /* 2 GB */
+1 -1
include/configs/imx8qm_rom7720.h
··· 108 108 */ 109 109 #define CFG_SYS_FSL_USDHC_NUM 3 110 110 111 - #define CONFIG_SYS_SDRAM_BASE 0x80000000 111 + #define CFG_SYS_SDRAM_BASE 0x80000000 112 112 #define PHYS_SDRAM_1 0x80000000 113 113 #define PHYS_SDRAM_2 0x880000000 114 114 #define PHYS_SDRAM_1_SIZE 0x80000000 /* 2 GB */
+1 -1
include/configs/imx8qxp_mek.h
··· 103 103 104 104 /* On LPDDR4 board, USDHC1 is for eMMC, USDHC2 is for SD on CPU board */ 105 105 106 - #define CONFIG_SYS_SDRAM_BASE 0x80000000 106 + #define CFG_SYS_SDRAM_BASE 0x80000000 107 107 #define PHYS_SDRAM_1 0x80000000 108 108 #define PHYS_SDRAM_2 0x880000000 109 109 #define PHYS_SDRAM_1_SIZE 0x80000000 /* 2 GB */
+1 -1
include/configs/imx8ulp_evk.h
··· 54 54 #define CONFIG_SYS_INIT_RAM_SIZE 0x80000 55 55 56 56 57 - #define CONFIG_SYS_SDRAM_BASE 0x80000000 57 + #define CFG_SYS_SDRAM_BASE 0x80000000 58 58 #define PHYS_SDRAM 0x80000000 59 59 #define PHYS_SDRAM_SIZE 0x80000000 /* 2GB DDR */ 60 60
+1 -1
include/configs/imx93_evk.h
··· 127 127 #define CONFIG_SYS_INIT_RAM_ADDR 0x80000000 128 128 #define CONFIG_SYS_INIT_RAM_SIZE 0x200000 129 129 130 - #define CONFIG_SYS_SDRAM_BASE 0x80000000 130 + #define CFG_SYS_SDRAM_BASE 0x80000000 131 131 #define PHYS_SDRAM 0x80000000 132 132 #define PHYS_SDRAM_SIZE 0x80000000 /* 2GB DDR */ 133 133
+1 -1
include/configs/integrator-common.h
··· 30 30 */ 31 31 #define PHYS_SDRAM_1 0x00000000 /* SDRAM Bank #1 */ 32 32 #define PHYS_SDRAM_1_SIZE 0x08000000 /* 128 MB */ 33 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 33 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM_1 34 34 35 35 /* 36 36 * FLASH and environment organization
+7 -7
include/configs/iot_devkit.h
··· 32 32 * : : 33 33 * : Specified explicitly by CONFIG_CUSTOM_SYS_INIT_SP_ADDR 34 34 * : 35 - * Specified explicitly by CONFIG_SYS_SDRAM_BASE 35 + * Specified explicitly by CFG_SYS_SDRAM_BASE 36 36 * 37 37 * NOTES: 38 38 * - Stack starts from CONFIG_CUSTOM_SYS_INIT_SP_ADDR and grows down, 39 - * i.e. towards CONFIG_SYS_SDRAM_BASE but nothing stops it from crossing 40 - * that CONFIG_SYS_SDRAM_BASE in which case data won't be really saved on 39 + * i.e. towards CFG_SYS_SDRAM_BASE but nothing stops it from crossing 40 + * that CFG_SYS_SDRAM_BASE in which case data won't be really saved on 41 41 * stack any longer and values popped from stack will contain garbage 42 42 * leading to unexpected behavior, typically but not limited to: 43 43 * - "Returning" back to bogus caller function ··· 50 50 #define DCCM_BASE 0x80000000 51 51 #define DCCM_SIZE SZ_128K 52 52 53 - #define CONFIG_SYS_SDRAM_BASE DCCM_BASE 54 - #define CONFIG_SYS_SDRAM_SIZE DCCM_SIZE 53 + #define CFG_SYS_SDRAM_BASE DCCM_BASE 54 + #define CFG_SYS_SDRAM_SIZE DCCM_SIZE 55 55 56 56 #define ROM_BASE CONFIG_SYS_MONITOR_BASE 57 57 #define ROM_SIZE SZ_256K 58 58 59 59 #define RAM_DATA_BASE SYS_INIT_SP_ADDR 60 - #define RAM_DATA_SIZE CONFIG_SYS_SDRAM_SIZE - \ 60 + #define RAM_DATA_SIZE CFG_SYS_SDRAM_SIZE - \ 61 61 (SYS_INIT_SP_ADDR - \ 62 - CONFIG_SYS_SDRAM_BASE) - \ 62 + CFG_SYS_SDRAM_BASE) - \ 63 63 CONFIG_SYS_MALLOC_LEN - \ 64 64 CONFIG_ENV_SIZE 65 65 #endif /* _CONFIG_IOT_DEVKIT_H_ */
+1 -1
include/configs/j721e_evm.h
··· 16 16 #include <environment/ti/k3_dfu.h> 17 17 18 18 /* DDR Configuration */ 19 - #define CONFIG_SYS_SDRAM_BASE1 0x880000000 19 + #define CFG_SYS_SDRAM_BASE1 0x880000000 20 20 /* FLASH Configuration */ 21 21 #define CONFIG_SYS_FLASH_BASE 0x000000000 22 22
+1 -1
include/configs/j721s2_evm.h
··· 17 17 #include <environment/ti/k3_dfu.h> 18 18 19 19 /* DDR Configuration */ 20 - #define CONFIG_SYS_SDRAM_BASE1 0x880000000 20 + #define CFG_SYS_SDRAM_BASE1 0x880000000 21 21 22 22 /* SPL Loader Configuration */ 23 23 #if defined(CONFIG_TARGET_J721S2_A72_EVM) || defined(CONFIG_TARGET_J7200_A72_EVM)
+2 -2
include/configs/km/km-mpc83xx.h
··· 7 7 /* 8 8 * DDR Setup 9 9 */ 10 - #define CONFIG_SYS_SDRAM_BASE 0x00000000 /* DDR is system memory */ 10 + #define CFG_SYS_SDRAM_BASE 0x00000000 /* DDR is system memory */ 11 11 12 12 #define CONFIG_SYS_DDR_SDRAM_CLK_CNTL (DDR_SDRAM_CLK_CNTL_SS_EN | \ 13 13 DDR_SDRAM_CLK_CNTL_CLK_ADJUST_05) ··· 17 17 /* 18 18 * Manually set up DDR parameters 19 19 */ 20 - #define CONFIG_SYS_SDRAM_SIZE 0x80000000 /* 2048 MiB */ 20 + #define CFG_SYS_SDRAM_SIZE 0x80000000 /* 2048 MiB */ 21 21 22 22 /* 23 23 * The reserved memory
+1 -1
include/configs/km/pg-wcom-ls102xa.h
··· 20 20 #define PHYS_SDRAM_SIZE (1u * 1024 * 1024 * 1024) 21 21 22 22 #define CONFIG_SYS_DDR_SDRAM_BASE 0x80000000UL 23 - #define CONFIG_SYS_SDRAM_BASE CONFIG_SYS_DDR_SDRAM_BASE 23 + #define CFG_SYS_SDRAM_BASE CONFIG_SYS_DDR_SDRAM_BASE 24 24 25 25 #define SPD_EEPROM_ADDRESS 0x54 26 26
+2 -2
include/configs/kmcent2.h
··· 163 163 */ 164 164 #define CONFIG_VERY_BIG_RAM 165 165 #define CONFIG_SYS_DDR_SDRAM_BASE 0x00000000 166 - #define CONFIG_SYS_SDRAM_BASE CONFIG_SYS_DDR_SDRAM_BASE 166 + #define CFG_SYS_SDRAM_BASE CONFIG_SYS_DDR_SDRAM_BASE 167 167 168 168 #define SPD_EEPROM_ADDRESS 0x54 169 - #define CONFIG_SYS_SDRAM_SIZE 4096 /* for fixed parameter use */ 169 + #define CFG_SYS_SDRAM_SIZE 4096 /* for fixed parameter use */ 170 170 171 171 /****************************************************************************** 172 172 * (PRAM usage)
+1 -1
include/configs/kontron-sl-mx6ul.h
··· 14 14 15 15 /* RAM */ 16 16 #define PHYS_SDRAM MMDC0_ARB_BASE_ADDR 17 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM 17 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM 18 18 19 19 #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR 20 20 #define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE
+1 -1
include/configs/kontron-sl-mx8mm.h
··· 17 17 /* RAM */ 18 18 #define PHYS_SDRAM DDR_CSD1_BASE_ADDR 19 19 #define PHYS_SDRAM_SIZE (SZ_4G) 20 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM 20 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM 21 21 22 22 #define CONFIG_SYS_INIT_RAM_ADDR 0x40000000 23 23 #define CONFIG_SYS_INIT_RAM_SIZE 0x200000
+1 -1
include/configs/kontron_pitx_imx8m.h
··· 64 64 #define CONFIG_SYS_INIT_RAM_ADDR 0x40000000 65 65 #define CONFIG_SYS_INIT_RAM_SIZE 0x80000 66 66 67 - #define CONFIG_SYS_SDRAM_BASE 0x40000000 67 + #define CFG_SYS_SDRAM_BASE 0x40000000 68 68 #define PHYS_SDRAM 0x40000000 69 69 #define PHYS_SDRAM_SIZE 0xC0000000 /* 3GB DDR */ 70 70
+1 -1
include/configs/kontron_sl28.h
··· 21 21 #define CONFIG_VERY_BIG_RAM 22 22 #define CONFIG_SYS_DDR_SDRAM_BASE 0x80000000 23 23 #define CFG_SYS_FSL_DDR_SDRAM_BASE_PHY 0 24 - #define CONFIG_SYS_SDRAM_BASE CONFIG_SYS_DDR_SDRAM_BASE 24 + #define CFG_SYS_SDRAM_BASE CONFIG_SYS_DDR_SDRAM_BASE 25 25 #define CONFIG_SYS_DDR_BLOCK2_BASE 0x2080000000ULL 26 26 27 27 /* early stack pointer */
+1 -1
include/configs/kp_imx53.h
··· 67 67 #define PHYS_SDRAM_1_SIZE (512 * SZ_1M) 68 68 #define PHYS_SDRAM_SIZE (PHYS_SDRAM_1_SIZE) 69 69 70 - #define CONFIG_SYS_SDRAM_BASE (PHYS_SDRAM_1) 70 + #define CFG_SYS_SDRAM_BASE (PHYS_SDRAM_1) 71 71 #define CONFIG_SYS_INIT_RAM_ADDR (IRAM_BASE_ADDR) 72 72 #define CONFIG_SYS_INIT_RAM_SIZE (IRAM_SIZE) 73 73
+1 -1
include/configs/kp_imx6q_tpc.h
··· 86 86 /* Physical Memory Map */ 87 87 #define PHYS_SDRAM MMDC0_ARB_BASE_ADDR 88 88 89 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM 89 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM 90 90 #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR 91 91 #define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE 92 92
+1 -1
include/configs/legoev3.h
··· 85 85 "bootscript=source ${bootscraddr}\0" 86 86 87 87 /* additions for new relocation code, must added to all boards */ 88 - #define CONFIG_SYS_SDRAM_BASE 0xc0000000 88 + #define CFG_SYS_SDRAM_BASE 0xc0000000 89 89 90 90 #include <asm/arch/hardware.h> 91 91
+1 -1
include/configs/librem5.h
··· 82 82 #define CONFIG_SYS_INIT_RAM_ADDR 0x40000000 83 83 #define CONFIG_SYS_INIT_RAM_SIZE 0x80000 84 84 85 - #define CONFIG_SYS_SDRAM_BASE 0x40000000 85 + #define CFG_SYS_SDRAM_BASE 0x40000000 86 86 #define PHYS_SDRAM 0x40000000 87 87 #define PHYS_SDRAM_SIZE 0xc0000000 /* 3GB LPDDR4 one Rank */ 88 88
+1 -1
include/configs/linkit-smart-7688.h
··· 7 7 #define __CONFIG_LINKIT_SMART_7688_H 8 8 9 9 /* RAM */ 10 - #define CONFIG_SYS_SDRAM_BASE 0x80000000 10 + #define CFG_SYS_SDRAM_BASE 0x80000000 11 11 12 12 #define CONFIG_SYS_INIT_SP_OFFSET 0x400000 13 13
+1 -1
include/configs/liteboard.h
··· 87 87 /* Physical Memory Map */ 88 88 #define PHYS_SDRAM MMDC0_ARB_BASE_ADDR 89 89 90 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM 90 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM 91 91 #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR 92 92 #define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE 93 93
+1 -1
include/configs/ls1012a2g5rdb.h
··· 9 9 #include "ls1012a_common.h" 10 10 11 11 /* DDR */ 12 - #define CONFIG_SYS_SDRAM_SIZE 0x40000000 12 + #define CFG_SYS_SDRAM_SIZE 0x40000000 13 13 14 14 #undef CONFIG_EXTRA_ENV_SETTINGS 15 15 #define CONFIG_EXTRA_ENV_SETTINGS \
+1 -1
include/configs/ls1012a_common.h
··· 12 12 13 13 #define CONFIG_SYS_DDR_SDRAM_BASE 0x80000000 14 14 #define CFG_SYS_FSL_DDR_SDRAM_BASE_PHY 0 15 - #define CONFIG_SYS_SDRAM_BASE CONFIG_SYS_DDR_SDRAM_BASE 15 + #define CFG_SYS_SDRAM_BASE CONFIG_SYS_DDR_SDRAM_BASE 16 16 #define CONFIG_SYS_DDR_BLOCK2_BASE 0x880000000ULL 17 17 18 18 /*SPI device */
+1 -1
include/configs/ls1012afrdm.h
··· 10 10 #include "ls1012a_common.h" 11 11 12 12 /* DDR */ 13 - #define CONFIG_SYS_SDRAM_SIZE 0x20000000 13 + #define CFG_SYS_SDRAM_SIZE 0x20000000 14 14 15 15 #undef BOOT_TARGET_DEVICES 16 16 #define BOOT_TARGET_DEVICES(func) \
+1 -1
include/configs/ls1012aqds.h
··· 10 10 #include "ls1012a_common.h" 11 11 12 12 /* DDR */ 13 - #define CONFIG_SYS_SDRAM_SIZE 0x40000000 13 + #define CFG_SYS_SDRAM_SIZE 0x40000000 14 14 15 15 /* 16 16 * QIXIS Definitions
+1 -1
include/configs/ls1012ardb.h
··· 10 10 #include "ls1012a_common.h" 11 11 12 12 /* DDR */ 13 - #define CONFIG_SYS_SDRAM_SIZE 0x40000000 13 + #define CFG_SYS_SDRAM_SIZE 0x40000000 14 14 15 15 /* 16 16 * I2C IO expander
+1 -1
include/configs/ls1021aiot.h
··· 42 42 #define SDRAM_CFG_BI 0x00000001 43 43 44 44 #define CONFIG_SYS_DDR_SDRAM_BASE 0x80000000UL 45 - #define CONFIG_SYS_SDRAM_BASE CONFIG_SYS_DDR_SDRAM_BASE 45 + #define CFG_SYS_SDRAM_BASE CONFIG_SYS_DDR_SDRAM_BASE 46 46 47 47 /* 48 48 * Serial Port
+1 -1
include/configs/ls1021aqds.h
··· 20 20 #define SPD_EEPROM_ADDRESS 0x51 21 21 22 22 #define CONFIG_SYS_DDR_SDRAM_BASE 0x80000000UL 23 - #define CONFIG_SYS_SDRAM_BASE CONFIG_SYS_DDR_SDRAM_BASE 23 + #define CFG_SYS_SDRAM_BASE CONFIG_SYS_DDR_SDRAM_BASE 24 24 25 25 #ifdef CONFIG_DDR_ECC 26 26 #define CONFIG_MEM_INIT_VALUE 0xdeadbeef
+1 -1
include/configs/ls1021atsn.h
··· 57 57 #define PHYS_SDRAM_SIZE (1u * 1024 * 1024 * 1024) 58 58 59 59 #define CONFIG_SYS_DDR_SDRAM_BASE 0x80000000UL 60 - #define CONFIG_SYS_SDRAM_BASE CONFIG_SYS_DDR_SDRAM_BASE 60 + #define CFG_SYS_SDRAM_BASE CONFIG_SYS_DDR_SDRAM_BASE 61 61 62 62 /* Serial Port */ 63 63 #define CFG_SYS_NS16550_CLK get_serial_clock()
+1 -1
include/configs/ls1021atwr.h
··· 60 60 #define PHYS_SDRAM_SIZE (1u * 1024 * 1024 * 1024) 61 61 62 62 #define CONFIG_SYS_DDR_SDRAM_BASE 0x80000000UL 63 - #define CONFIG_SYS_SDRAM_BASE CONFIG_SYS_DDR_SDRAM_BASE 63 + #define CFG_SYS_SDRAM_BASE CONFIG_SYS_DDR_SDRAM_BASE 64 64 65 65 /* 66 66 * IFC Definitions
+1 -1
include/configs/ls1028a_common.h
··· 15 15 #define CONFIG_VERY_BIG_RAM 16 16 #define CONFIG_SYS_DDR_SDRAM_BASE 0x80000000UL 17 17 #define CFG_SYS_FSL_DDR_SDRAM_BASE_PHY 0 18 - #define CONFIG_SYS_SDRAM_BASE CONFIG_SYS_DDR_SDRAM_BASE 18 + #define CFG_SYS_SDRAM_BASE CONFIG_SYS_DDR_SDRAM_BASE 19 19 #define CONFIG_SYS_DDR_BLOCK2_BASE 0x2080000000ULL 20 20 21 21 /*
+1 -1
include/configs/ls1043a_common.h
··· 34 34 #define CONFIG_VERY_BIG_RAM 35 35 #define CONFIG_SYS_DDR_SDRAM_BASE 0x80000000 36 36 #define CFG_SYS_FSL_DDR_SDRAM_BASE_PHY 0 37 - #define CONFIG_SYS_SDRAM_BASE CONFIG_SYS_DDR_SDRAM_BASE 37 + #define CFG_SYS_SDRAM_BASE CONFIG_SYS_DDR_SDRAM_BASE 38 38 #define CONFIG_SYS_DDR_BLOCK2_BASE 0x880000000ULL 39 39 40 40 #define CPU_RELEASE_ADDR secondary_boot_addr
+1 -1
include/configs/ls1046a_common.h
··· 34 34 #define CONFIG_VERY_BIG_RAM 35 35 #define CONFIG_SYS_DDR_SDRAM_BASE 0x80000000 36 36 #define CFG_SYS_FSL_DDR_SDRAM_BASE_PHY 0 37 - #define CONFIG_SYS_SDRAM_BASE CONFIG_SYS_DDR_SDRAM_BASE 37 + #define CFG_SYS_SDRAM_BASE CONFIG_SYS_DDR_SDRAM_BASE 38 38 #define CONFIG_SYS_DDR_BLOCK2_BASE 0x880000000ULL 39 39 40 40 #define CPU_RELEASE_ADDR secondary_boot_addr
+1 -1
include/configs/ls1088a_common.h
··· 32 32 #define CONFIG_VERY_BIG_RAM 33 33 #define CONFIG_SYS_DDR_SDRAM_BASE 0x80000000UL 34 34 #define CFG_SYS_FSL_DDR_SDRAM_BASE_PHY 0 35 - #define CONFIG_SYS_SDRAM_BASE CONFIG_SYS_DDR_SDRAM_BASE 35 + #define CFG_SYS_SDRAM_BASE CONFIG_SYS_DDR_SDRAM_BASE 36 36 #define CONFIG_SYS_DDR_BLOCK2_BASE 0x8080000000ULL 37 37 /* 38 38 * SMP Definitinos
+1 -1
include/configs/ls2080a_common.h
··· 19 19 #define CONFIG_VERY_BIG_RAM 20 20 #define CONFIG_SYS_DDR_SDRAM_BASE 0x80000000UL 21 21 #define CFG_SYS_FSL_DDR_SDRAM_BASE_PHY 0 22 - #define CONFIG_SYS_SDRAM_BASE CONFIG_SYS_DDR_SDRAM_BASE 22 + #define CFG_SYS_SDRAM_BASE CONFIG_SYS_DDR_SDRAM_BASE 23 23 #define CONFIG_SYS_DDR_BLOCK2_BASE 0x8080000000ULL 24 24 25 25 /*
+2 -2
include/configs/lx2160a_common.h
··· 17 17 #define CONFIG_SYS_DDR_SDRAM_BASE 0x80000000UL 18 18 #define CFG_SYS_FSL_DDR_SDRAM_BASE_PHY 0 19 19 #define CONFIG_SYS_DDR_BLOCK2_BASE 0x2080000000ULL 20 - #define CONFIG_SYS_SDRAM_SIZE 0x200000000UL 21 - #define CONFIG_SYS_SDRAM_BASE CONFIG_SYS_DDR_SDRAM_BASE 20 + #define CFG_SYS_SDRAM_SIZE 0x200000000UL 21 + #define CFG_SYS_SDRAM_BASE CONFIG_SYS_DDR_SDRAM_BASE 22 22 #define CONFIG_MEM_INIT_VALUE 0xdeadbeef 23 23 #define SPD_EEPROM_ADDRESS1 0x51 24 24 #define SPD_EEPROM_ADDRESS2 0x52
+1 -1
include/configs/m53menlo.h
··· 20 20 #define PHYS_SDRAM_2_SIZE (gd->bd->bi_dram[1].size) 21 21 #define PHYS_SDRAM_SIZE (gd->ram_size) 22 22 23 - #define CONFIG_SYS_SDRAM_BASE (PHYS_SDRAM_1) 23 + #define CFG_SYS_SDRAM_BASE (PHYS_SDRAM_1) 24 24 #define CONFIG_SYS_INIT_RAM_ADDR (IRAM_BASE_ADDR) 25 25 #define CONFIG_SYS_INIT_RAM_SIZE (IRAM_SIZE) 26 26
+3 -3
include/configs/malta.h
··· 22 22 */ 23 23 24 24 #ifdef CONFIG_64BIT 25 - # define CONFIG_SYS_SDRAM_BASE 0xffffffff80000000 25 + # define CFG_SYS_SDRAM_BASE 0xffffffff80000000 26 26 #else 27 - # define CONFIG_SYS_SDRAM_BASE 0x80000000 27 + # define CFG_SYS_SDRAM_BASE 0x80000000 28 28 #endif 29 - #define CONFIG_SYS_SDRAM_SIZE 0x10000000 /* 256 MiB */ 29 + #define CFG_SYS_SDRAM_SIZE 0x10000000 /* 256 MiB */ 30 30 31 31 #define CONFIG_SYS_INIT_SP_OFFSET 0x400000 32 32
+1 -1
include/configs/maxbcm.h
··· 47 47 */ 48 48 49 49 /* Enable DDR support in SPL (DDR3 training from Marvell bin_hdr) */ 50 - #define CONFIG_SYS_SDRAM_SIZE SZ_1G 50 + #define CFG_SYS_SDRAM_SIZE SZ_1G 51 51 52 52 #endif /* _CONFIG_DB_MV7846MP_GP_H */
+1 -1
include/configs/mccmon6.h
··· 214 214 /* Physical Memory Map */ 215 215 #define PHYS_SDRAM MMDC0_ARB_BASE_ADDR 216 216 217 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM 217 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM 218 218 #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR 219 219 #define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE 220 220
+1 -1
include/configs/meerkat96.h
··· 17 17 /* Physical Memory Map */ 18 18 #define PHYS_SDRAM MMDC0_ARB_BASE_ADDR 19 19 20 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM 20 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM 21 21 #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR 22 22 #define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE 23 23
+2 -2
include/configs/meesc.h
··· 44 44 #define PHYS_SDRAM ATMEL_BASE_CS1 /* 0x20000000 */ 45 45 #define PHYS_SDRAM_SIZE 0x02000000 /* 32 MByte */ 46 46 47 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM 48 - #define CONFIG_SYS_SDRAM_SIZE PHYS_SDRAM_SIZE 47 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM 48 + #define CFG_SYS_SDRAM_SIZE PHYS_SDRAM_SIZE 49 49 50 50 #define CONFIG_SYS_INIT_RAM_ADDR ATMEL_BASE_SRAM0 51 51 #define CONFIG_SYS_INIT_RAM_SIZE (16 * 1024)
+1 -1
include/configs/meson64.h
··· 36 36 #define STDIN_CFG "serial" 37 37 #endif 38 38 39 - #define CONFIG_SYS_SDRAM_BASE 0 39 + #define CFG_SYS_SDRAM_BASE 0 40 40 41 41 /* ROM USB boot support, auto-execute boot.scr at scriptaddr */ 42 42 #define BOOTENV_DEV_ROMUSB(devtypeu, devtypel, instance) \
+1 -1
include/configs/microchip_mpfs_icicle.h
··· 9 9 10 10 #include <linux/sizes.h> 11 11 12 - #define CONFIG_SYS_SDRAM_BASE 0x80000000 12 + #define CFG_SYS_SDRAM_BASE 0x80000000 13 13 14 14 #define CONFIG_STANDALONE_LOAD_ADDR 0x80200000 15 15
+1 -1
include/configs/msc_sm2s_imx8mp.h
··· 49 49 #define CONFIG_SYS_INIT_RAM_ADDR 0x40000000 50 50 #define CONFIG_SYS_INIT_RAM_SIZE 0x80000 51 51 52 - #define CONFIG_SYS_SDRAM_BASE 0x40000000 52 + #define CFG_SYS_SDRAM_BASE 0x40000000 53 53 #define PHYS_SDRAM 0x40000000 54 54 #define PHYS_SDRAM_SIZE 0x80000000 /* 2GB DDR */ 55 55 #define PHYS_SDRAM_2 0xc0000000
+1 -1
include/configs/mt7620.h
··· 8 8 #ifndef __CONFIG_MT7620_H 9 9 #define __CONFIG_MT7620_H 10 10 11 - #define CONFIG_SYS_SDRAM_BASE 0x80000000 11 + #define CFG_SYS_SDRAM_BASE 0x80000000 12 12 13 13 #define CONFIG_SYS_INIT_SP_OFFSET 0x400000 14 14
+1 -1
include/configs/mt7621.h
··· 8 8 #ifndef __CONFIG_MT7621_H 9 9 #define __CONFIG_MT7621_H 10 10 11 - #define CONFIG_SYS_SDRAM_BASE 0x80000000 11 + #define CFG_SYS_SDRAM_BASE 0x80000000 12 12 13 13 #define CONFIG_VERY_BIG_RAM 14 14 #define CONFIG_MAX_MEM_MAPPED 0x1c000000
+1 -1
include/configs/mt7622.h
··· 15 15 /* SPL -> Uboot */ 16 16 #define CONFIG_SYS_UBOOT_START CONFIG_TEXT_BASE 17 17 /* DRAM */ 18 - #define CONFIG_SYS_SDRAM_BASE 0x40000000 18 + #define CFG_SYS_SDRAM_BASE 0x40000000 19 19 20 20 /* Ethernet */ 21 21 #define CONFIG_IPADDR 192.168.1.1
+1 -1
include/configs/mt7623.h
··· 21 21 #define MMC_SUPPORTS_TUNING 22 22 23 23 /* DRAM */ 24 - #define CONFIG_SYS_SDRAM_BASE 0x80000000 24 + #define CFG_SYS_SDRAM_BASE 0x80000000 25 25 26 26 /* This is needed for kernel booting */ 27 27 #define FDT_HIGH "0xac000000"
+1 -1
include/configs/mt7628.h
··· 8 8 #ifndef __CONFIG_MT7628_H 9 9 #define __CONFIG_MT7628_H 10 10 11 - #define CONFIG_SYS_SDRAM_BASE 0x80000000 11 + #define CFG_SYS_SDRAM_BASE 0x80000000 12 12 13 13 #define CONFIG_SYS_INIT_SP_OFFSET 0x80000 14 14
+1 -1
include/configs/mt7629.h
··· 25 25 /* UBoot -> Kernel */ 26 26 27 27 /* DRAM */ 28 - #define CONFIG_SYS_SDRAM_BASE 0x40000000 28 + #define CFG_SYS_SDRAM_BASE 0x40000000 29 29 30 30 /* Ethernet */ 31 31 #define CONFIG_IPADDR 192.168.1.1
+1 -1
include/configs/mt7981.h
··· 16 16 #define CONFIG_SYS_UBOOT_START CONFIG_TEXT_BASE 17 17 18 18 /* DRAM */ 19 - #define CONFIG_SYS_SDRAM_BASE 0x40000000 19 + #define CFG_SYS_SDRAM_BASE 0x40000000 20 20 21 21 #endif
+1 -1
include/configs/mt7986.h
··· 16 16 #define CONFIG_SYS_UBOOT_START CONFIG_TEXT_BASE 17 17 18 18 /* DRAM */ 19 - #define CONFIG_SYS_SDRAM_BASE 0x40000000 19 + #define CFG_SYS_SDRAM_BASE 0x40000000 20 20 21 21 #endif
+2 -2
include/configs/mt8518.h
··· 10 10 #define __MT8518_H 11 11 12 12 /* DRAM definition */ 13 - #define CONFIG_SYS_SDRAM_BASE 0x40000000 14 - #define CONFIG_SYS_SDRAM_SIZE 0x20000000 13 + #define CFG_SYS_SDRAM_BASE 0x40000000 14 + #define CFG_SYS_SDRAM_SIZE 0x20000000 15 15 16 16 /* Uboot definition */ 17 17
+1 -1
include/configs/mv-common.h
··· 27 27 */ 28 28 29 29 /* additions for new ARM relocation support */ 30 - #define CONFIG_SYS_SDRAM_BASE 0x00000000 30 + #define CFG_SYS_SDRAM_BASE 0x00000000 31 31 32 32 /* 33 33 * NS16550 Configuration
+1 -1
include/configs/mvebu_alleycat-5.h
··· 9 9 #include <asm/arch/soc.h> 10 10 11 11 /* additions for new ARM relocation support */ 12 - #define CONFIG_SYS_SDRAM_BASE 0x200000000 12 + #define CFG_SYS_SDRAM_BASE 0x200000000 13 13 14 14 #define CONFIG_SYS_BAUDRATE_TABLE { 9600, 19200, 38400, 57600, \ 15 15 115200, 230400, 460800, 921600 }
+1 -1
include/configs/mvebu_armada-37xx.h
··· 13 13 */ 14 14 15 15 /* additions for new ARM relocation support */ 16 - #define CONFIG_SYS_SDRAM_BASE 0x00000000 16 + #define CFG_SYS_SDRAM_BASE 0x00000000 17 17 18 18 #define CONFIG_SYS_BAUDRATE_TABLE { 300, 600, 1200, 1800, 2400, 4800, \ 19 19 9600, 19200, 38400, 57600, 115200, \
+1 -1
include/configs/mvebu_armada-8k.h
··· 12 12 #define CONFIG_SYS_TCLK 250000000 /* 250MHz */ 13 13 14 14 /* additions for new ARM relocation support */ 15 - #define CONFIG_SYS_SDRAM_BASE 0x00000000 15 + #define CFG_SYS_SDRAM_BASE 0x00000000 16 16 17 17 /* auto boot */ 18 18
+1 -1
include/configs/mx23_olinuxino.h
··· 10 10 /* Memory configuration */ 11 11 #define PHYS_SDRAM_1 0x40000000 /* Base address */ 12 12 #define PHYS_SDRAM_1_SIZE 0x08000000 /* Max 128 MB RAM */ 13 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 13 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM_1 14 14 15 15 /* Status LED */ 16 16
+1 -1
include/configs/mx23evk.h
··· 13 13 /* Memory configuration */ 14 14 #define PHYS_SDRAM_1 0x40000000 /* Base address */ 15 15 #define PHYS_SDRAM_1_SIZE 0x08000000 /* Max 128 MB RAM */ 16 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 16 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM_1 17 17 18 18 /* Extra Environments */ 19 19 #define CONFIG_EXTRA_ENV_SETTINGS \
+1 -1
include/configs/mx28evk.h
··· 13 13 /* Memory configuration */ 14 14 #define PHYS_SDRAM_1 0x40000000 /* Base address */ 15 15 #define PHYS_SDRAM_1_SIZE 0x40000000 /* Max 1 GB RAM */ 16 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 16 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM_1 17 17 18 18 /* UBI and NAND partitioning */ 19 19
+1 -1
include/configs/mx51evk.h
··· 112 112 #define PHYS_SDRAM_1 CSD0_BASE_ADDR 113 113 #define PHYS_SDRAM_1_SIZE (512 * 1024 * 1024) 114 114 115 - #define CONFIG_SYS_SDRAM_BASE (PHYS_SDRAM_1) 115 + #define CFG_SYS_SDRAM_BASE (PHYS_SDRAM_1) 116 116 #define CONFIG_SYS_INIT_RAM_ADDR (IRAM_BASE_ADDR) 117 117 #define CONFIG_SYS_INIT_RAM_SIZE (IRAM_SIZE) 118 118
+1 -1
include/configs/mx53cx9020.h
··· 60 60 #define PHYS_SDRAM_2_SIZE (gd->bd->bi_dram[1].size) 61 61 #define PHYS_SDRAM_SIZE (gd->ram_size) 62 62 63 - #define CONFIG_SYS_SDRAM_BASE (PHYS_SDRAM_1) 63 + #define CFG_SYS_SDRAM_BASE (PHYS_SDRAM_1) 64 64 #define CONFIG_SYS_INIT_RAM_ADDR (IRAM_BASE_ADDR) 65 65 #define CONFIG_SYS_INIT_RAM_SIZE (IRAM_SIZE) 66 66
+1 -1
include/configs/mx53loco.h
··· 95 95 #define PHYS_SDRAM_2_SIZE (gd->bd->bi_dram[1].size) 96 96 #define PHYS_SDRAM_SIZE (gd->ram_size) 97 97 98 - #define CONFIG_SYS_SDRAM_BASE (PHYS_SDRAM_1) 98 + #define CFG_SYS_SDRAM_BASE (PHYS_SDRAM_1) 99 99 #define CONFIG_SYS_INIT_RAM_ADDR (IRAM_BASE_ADDR) 100 100 #define CONFIG_SYS_INIT_RAM_SIZE (IRAM_SIZE) 101 101
+1 -1
include/configs/mx53ppd.h
··· 96 96 #define PHYS_SDRAM_2_SIZE (gd->bd->bi_dram[1].size) 97 97 #define PHYS_SDRAM_SIZE (gd->ram_size) 98 98 99 - #define CONFIG_SYS_SDRAM_BASE (PHYS_SDRAM_1) 99 + #define CFG_SYS_SDRAM_BASE (PHYS_SDRAM_1) 100 100 #define CONFIG_SYS_INIT_RAM_ADDR (IRAM_BASE_ADDR) 101 101 #define CONFIG_SYS_INIT_RAM_SIZE (IRAM_SIZE) 102 102
+1 -1
include/configs/mx6cuboxi.h
··· 85 85 #include <config_distro_bootcmd.h> 86 86 87 87 /* Physical Memory Map */ 88 - #define CONFIG_SYS_SDRAM_BASE MMDC0_ARB_BASE_ADDR 88 + #define CFG_SYS_SDRAM_BASE MMDC0_ARB_BASE_ADDR 89 89 #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR 90 90 #define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE 91 91
+1 -1
include/configs/mx6memcal.h
··· 27 27 /* Physical Memory Map */ 28 28 #define PHYS_SDRAM MMDC0_ARB_BASE_ADDR 29 29 30 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM 30 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM 31 31 #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR 32 32 #define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE 33 33
+1 -1
include/configs/mx6sabre_common.h
··· 139 139 /* Physical Memory Map */ 140 140 #define PHYS_SDRAM MMDC0_ARB_BASE_ADDR 141 141 142 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM 142 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM 143 143 #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR 144 144 #define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE 145 145
+1 -1
include/configs/mx6slevk.h
··· 82 82 /* Physical Memory Map */ 83 83 #define PHYS_SDRAM MMDC0_ARB_BASE_ADDR 84 84 85 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM 85 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM 86 86 #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR 87 87 #define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE 88 88
+1 -1
include/configs/mx6sllevk.h
··· 82 82 #define PHYS_SDRAM MMDC0_ARB_BASE_ADDR 83 83 #define PHYS_SDRAM_SIZE SZ_2G 84 84 85 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM 85 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM 86 86 #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR 87 87 #define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE 88 88
+1 -1
include/configs/mx6sxsabreauto.h
··· 78 78 /* Physical Memory Map */ 79 79 #define PHYS_SDRAM MMDC0_ARB_BASE_ADDR 80 80 81 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM 81 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM 82 82 #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR 83 83 #define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE 84 84
+1 -1
include/configs/mx6sxsabresd.h
··· 106 106 /* Physical Memory Map */ 107 107 #define PHYS_SDRAM MMDC0_ARB_BASE_ADDR 108 108 109 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM 109 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM 110 110 #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR 111 111 #define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE 112 112
+1 -1
include/configs/mx6ul_14x14_evk.h
··· 108 108 /* Physical Memory Map */ 109 109 #define PHYS_SDRAM MMDC0_ARB_BASE_ADDR 110 110 111 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM 111 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM 112 112 #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR 113 113 #define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE 114 114
+1 -1
include/configs/mx6ullevk.h
··· 102 102 /* Physical Memory Map */ 103 103 #define PHYS_SDRAM MMDC0_ARB_BASE_ADDR 104 104 105 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM 105 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM 106 106 #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR 107 107 #define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE 108 108
+1 -1
include/configs/mx7dsabresd.h
··· 81 81 /* Physical Memory Map */ 82 82 #define PHYS_SDRAM MMDC0_ARB_BASE_ADDR 83 83 84 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM 84 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM 85 85 #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR 86 86 #define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE 87 87
+1 -1
include/configs/mx7ulp_com.h
··· 26 26 /* Physical Memory Map */ 27 27 28 28 #define PHYS_SDRAM 0x60000000 29 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM 29 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM 30 30 31 31 #define CONFIG_EXTRA_ENV_SETTINGS \ 32 32 "image=zImage\0" \
+1 -1
include/configs/mx7ulp_evk.h
··· 26 26 27 27 #define PHYS_SDRAM 0x60000000 28 28 #define PHYS_SDRAM_SIZE SZ_1G 29 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM 29 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM 30 30 31 31 #define CONFIG_EXTRA_ENV_SETTINGS \ 32 32 "script=boot.scr\0" \
+1 -1
include/configs/mys_6ulx.h
··· 22 22 #define PHYS_SDRAM MMDC0_ARB_BASE_ADDR 23 23 #define PHYS_SDRAM_SIZE SZ_256M 24 24 25 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM 25 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM 26 26 #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR 27 27 #define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE 28 28
+1 -1
include/configs/nitrogen6x.h
··· 90 90 /* Physical Memory Map */ 91 91 #define PHYS_SDRAM MMDC0_ARB_BASE_ADDR 92 92 93 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM 93 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM 94 94 #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR 95 95 #define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE 96 96
+2 -2
include/configs/nokia_rx51.h
··· 161 161 * FLASH and environment organization 162 162 */ 163 163 164 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 164 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM_1 165 165 #define CONFIG_SYS_INIT_RAM_ADDR 0x4020f800 166 166 #define CONFIG_SYS_INIT_RAM_SIZE 0x800 167 167 ··· 170 170 */ 171 171 172 172 #define SDRAM_SIZE 0x10000000 /* 256 MB */ 173 - #define SDRAM_END (CONFIG_SYS_SDRAM_BASE + SDRAM_SIZE) 173 + #define SDRAM_END (CFG_SYS_SDRAM_BASE + SDRAM_SIZE) 174 174 175 175 #define IMAGE_MAXSIZE 0x1FF800 /* 2 MB - 2 kB */ 176 176 #define KERNEL_OFFSET 0x40000 /* 256 kB */
+1 -1
include/configs/novena.h
··· 30 30 /* Physical Memory Map */ 31 31 #define PHYS_SDRAM MMDC0_ARB_BASE_ADDR 32 32 33 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM 33 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM 34 34 #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR 35 35 #define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE 36 36
+1 -1
include/configs/npi_imx6ull.h
··· 23 23 /* Physical Memory Map */ 24 24 #define PHYS_SDRAM MMDC0_ARB_BASE_ADDR 25 25 26 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM 26 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM 27 27 #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR 28 28 #define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE 29 29
+2 -2
include/configs/nsim.h
··· 13 13 */ 14 14 15 15 #define CONFIG_SYS_DDR_SDRAM_BASE 0x80000000 16 - #define CONFIG_SYS_SDRAM_BASE CONFIG_SYS_DDR_SDRAM_BASE 17 - #define CONFIG_SYS_SDRAM_SIZE SZ_256M 16 + #define CFG_SYS_SDRAM_BASE CONFIG_SYS_DDR_SDRAM_BASE 17 + #define CFG_SYS_SDRAM_SIZE SZ_256M 18 18 19 19 /* 20 20 * Console configuration
+1 -1
include/configs/o4-imx6ull-nano.h
··· 7 7 #include "mx6_common.h" 8 8 9 9 #define PHYS_SDRAM MMDC0_ARB_BASE_ADDR 10 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM 10 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM 11 11 #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR 12 12 #define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE 13 13
+1 -1
include/configs/octeon_common.h
··· 14 14 #define CONFIG_SYS_INIT_SP_OFFSET 0x00180000 15 15 #endif 16 16 17 - #define CONFIG_SYS_SDRAM_BASE 0xffffffff80000000 17 + #define CFG_SYS_SDRAM_BASE 0xffffffff80000000 18 18 19 19 #endif /* __OCTEON_COMMON_H__ */
+1 -1
include/configs/octeontx2_common.h
··· 10 10 /** Maximum size of image supported for bootm (and bootable FIT images) */ 11 11 12 12 /** Memory base address */ 13 - #define CONFIG_SYS_SDRAM_BASE CONFIG_TEXT_BASE 13 + #define CFG_SYS_SDRAM_BASE CONFIG_TEXT_BASE 14 14 15 15 /** Stack starting address */ 16 16
+1 -1
include/configs/octeontx_common.h
··· 36 36 /** Maximum size of image supported for bootm (and bootable FIT images) */ 37 37 38 38 /** Memory base address */ 39 - #define CONFIG_SYS_SDRAM_BASE CONFIG_TEXT_BASE 39 + #define CFG_SYS_SDRAM_BASE CONFIG_TEXT_BASE 40 40 41 41 /** Stack starting address */ 42 42
+2 -2
include/configs/odroid.h
··· 17 17 #define CONFIG_SYS_PL310_BASE 0x10502000 18 18 #endif 19 19 20 - #define CONFIG_SYS_SDRAM_BASE 0x40000000 20 + #define CFG_SYS_SDRAM_BASE 0x40000000 21 21 #define SDRAM_BANK_SIZE (256 << 20) /* 256 MB */ 22 - #define PHYS_SDRAM_1 CONFIG_SYS_SDRAM_BASE 22 + #define PHYS_SDRAM_1 CFG_SYS_SDRAM_BASE 23 23 24 24 #include <linux/sizes.h> 25 25
+1 -1
include/configs/odroid_xu3.h
··· 10 10 #include <configs/exynos5420-common.h> 11 11 #include <configs/exynos5-common.h> 12 12 13 - #define CONFIG_SYS_SDRAM_BASE 0x40000000 13 + #define CFG_SYS_SDRAM_BASE 0x40000000 14 14 15 15 #define TZPC_BASE_OFFSET 0x10000 16 16
+1 -1
include/configs/omapl138_lcdk.h
··· 154 154 /* defines for SPL */ 155 155 156 156 /* additions for new relocation code, must added to all boards */ 157 - #define CONFIG_SYS_SDRAM_BASE 0xc0000000 157 + #define CFG_SYS_SDRAM_BASE 0xc0000000 158 158 159 159 #include <asm/arch/hardware.h> 160 160
+1 -1
include/configs/openpiton-riscv64.h
··· 14 14 #include <linux/sizes.h> 15 15 16 16 /* Environment options */ 17 - #define CONFIG_SYS_SDRAM_BASE 0x80000000 17 + #define CFG_SYS_SDRAM_BASE 0x80000000 18 18 19 19 /* --------------------------------------------------------------------- 20 20 * Board boot configuration
+1 -1
include/configs/opos6uldev.h
··· 14 14 #define CONFIG_STANDALONE_LOAD_ADDR CONFIG_SYS_LOAD_ADDR 15 15 16 16 /* Physical Memory Map */ 17 - #define CONFIG_SYS_SDRAM_BASE MMDC0_ARB_BASE_ADDR 17 + #define CFG_SYS_SDRAM_BASE MMDC0_ARB_BASE_ADDR 18 18 #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR 19 19 #define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE 20 20
+2 -2
include/configs/origen.h
··· 11 11 #include <configs/exynos4-common.h> 12 12 13 13 /* ORIGEN has 4 bank of DRAM */ 14 - #define CONFIG_SYS_SDRAM_BASE 0x40000000 15 - #define PHYS_SDRAM_1 CONFIG_SYS_SDRAM_BASE 14 + #define CFG_SYS_SDRAM_BASE 0x40000000 15 + #define PHYS_SDRAM_1 CFG_SYS_SDRAM_BASE 16 16 #define SDRAM_BANK_SIZE (256 << 20) /* 256 MB */ 17 17 18 18 /* Power Down Modes */
+1 -1
include/configs/owl-common.h
··· 11 11 #define _OWL_COMMON_CONFIG_H_ 12 12 13 13 /* SDRAM Definitions */ 14 - #define CONFIG_SYS_SDRAM_BASE 0x0 14 + #define CFG_SYS_SDRAM_BASE 0x0 15 15 16 16 /* Some commands use this as the default load address */ 17 17
+4 -4
include/configs/p1_p2_rdb_pc.h
··· 125 125 #define SPD_EEPROM_ADDRESS 0x52 126 126 127 127 #if defined(CONFIG_TARGET_P1020RDB_PD) 128 - #define CONFIG_SYS_SDRAM_SIZE_LAW LAW_SIZE_2G 128 + #define CFG_SYS_SDRAM_SIZE_LAW LAW_SIZE_2G 129 129 #else 130 - #define CONFIG_SYS_SDRAM_SIZE_LAW LAW_SIZE_1G 130 + #define CFG_SYS_SDRAM_SIZE_LAW LAW_SIZE_1G 131 131 #endif 132 - #define CONFIG_SYS_SDRAM_SIZE (1u << (CONFIG_SYS_SDRAM_SIZE_LAW - 19)) 132 + #define CFG_SYS_SDRAM_SIZE (1u << (CFG_SYS_SDRAM_SIZE_LAW - 19)) 133 133 #define CONFIG_SYS_DDR_SDRAM_BASE 0x00000000 134 - #define CONFIG_SYS_SDRAM_BASE CONFIG_SYS_DDR_SDRAM_BASE 134 + #define CFG_SYS_SDRAM_BASE CONFIG_SYS_DDR_SDRAM_BASE 135 135 136 136 /* Default settings for DDR3 */ 137 137 #ifndef CONFIG_TARGET_P2020RDB
+1 -1
include/configs/pcl063.h
··· 34 34 #define PHYS_SDRAM MMDC0_ARB_BASE_ADDR 35 35 #define PHYS_SDRAM_SIZE SZ_256M 36 36 37 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM 37 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM 38 38 #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR 39 39 #define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE 40 40
+1 -1
include/configs/pcl063_ull.h
··· 36 36 #define PHYS_SDRAM MMDC0_ARB_BASE_ADDR 37 37 #define PHYS_SDRAM_SIZE SZ_256M 38 38 39 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM 39 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM 40 40 #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR 41 41 #define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE 42 42
+1 -1
include/configs/pcm052.h
··· 118 118 #define PHYS_SDRAM (0x80000000) 119 119 #define PHYS_SDRAM_SIZE (CONFIG_PCM052_DDR_SIZE * SZ_1M) 120 120 121 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM 121 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM 122 122 #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR 123 123 #define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE 124 124
+1 -1
include/configs/pcm058.h
··· 15 15 /* Physical Memory Map */ 16 16 #define PHYS_SDRAM MMDC0_ARB_BASE_ADDR 17 17 18 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM 18 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM 19 19 #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR 20 20 #define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE 21 21
+1 -1
include/configs/peach-pi.h
··· 20 20 #include <configs/exynos5-dt-common.h> 21 21 #include <configs/exynos5-common.h> 22 22 23 - #define CONFIG_SYS_SDRAM_BASE 0x20000000 23 + #define CFG_SYS_SDRAM_BASE 0x20000000 24 24 25 25 #define CONFIG_POWER_TPS65090_EC 26 26
+1 -1
include/configs/peach-pit.h
··· 20 20 #include <configs/exynos5-dt-common.h> 21 21 #include <configs/exynos5-common.h> 22 22 23 - #define CONFIG_SYS_SDRAM_BASE 0x20000000 23 + #define CFG_SYS_SDRAM_BASE 0x20000000 24 24 25 25 /* DRAM Memory Banks */ 26 26 #define SDRAM_BANK_SIZE (512UL << 20UL) /* 512 MB */
+1 -1
include/configs/phycore_imx8mm.h
··· 64 64 #define CONFIG_SYS_INIT_RAM_SIZE SZ_512K 65 65 66 66 67 - #define CONFIG_SYS_SDRAM_BASE 0x40000000 67 + #define CFG_SYS_SDRAM_BASE 0x40000000 68 68 69 69 #define PHYS_SDRAM 0x40000000 70 70 #define PHYS_SDRAM_SIZE SZ_2G /* 2GB DDR */
+1 -1
include/configs/phycore_imx8mp.h
··· 63 63 #define CONFIG_SYS_INIT_RAM_SIZE SZ_512K 64 64 65 65 66 - #define CONFIG_SYS_SDRAM_BASE 0x40000000 66 + #define CFG_SYS_SDRAM_BASE 0x40000000 67 67 68 68 #define PHYS_SDRAM 0x40000000 69 69 #define PHYS_SDRAM_SIZE 0x80000000
+1 -1
include/configs/pic32mzdask.h
··· 23 23 (CONFIG_SYS_SRAM_BASE + CONFIG_SYS_SRAM_SIZE - CONFIG_SYS_INIT_RAM_SIZE) 24 24 25 25 /* SDRAM Configuration (for final code, data, stack, heap) */ 26 - #define CONFIG_SYS_SDRAM_BASE 0x88000000 26 + #define CFG_SYS_SDRAM_BASE 0x88000000 27 27 28 28 /* Memory Test */ 29 29
+1 -1
include/configs/pico-imx6.h
··· 91 91 /* Physical Memory Map */ 92 92 #define PHYS_SDRAM MMDC0_ARB_BASE_ADDR 93 93 94 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM 94 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM 95 95 #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR 96 96 #define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE 97 97
+1 -1
include/configs/pico-imx6ul.h
··· 91 91 /* Physical Memory Map */ 92 92 #define PHYS_SDRAM MMDC0_ARB_BASE_ADDR 93 93 94 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM 94 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM 95 95 #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR 96 96 #define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE 97 97
+1 -1
include/configs/pico-imx7d.h
··· 93 93 /* Physical Memory Map */ 94 94 #define PHYS_SDRAM MMDC0_ARB_BASE_ADDR 95 95 96 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM 96 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM 97 97 #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR 98 98 #define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE 99 99
+1 -1
include/configs/pico-imx8mq.h
··· 67 67 #define CONFIG_SYS_INIT_RAM_SIZE 0x80000 68 68 69 69 70 - #define CONFIG_SYS_SDRAM_BASE 0x40000000 70 + #define CFG_SYS_SDRAM_BASE 0x40000000 71 71 #define PHYS_SDRAM 0x40000000 72 72 #define PHYS_SDRAM_SIZE 0x80000000 /* 2 GiB DDR */ 73 73
+13 -13
include/configs/pm9261.h
··· 78 78 /* Memory Device Register -> SDRAM */ 79 79 #define CONFIG_SYS_SDRC_MDR_VAL AT91_SDRAMC_MD_SDRAM 80 80 #define CONFIG_SYS_SDRC_MR_VAL2 AT91_SDRAMC_MODE_PRECHARGE 81 - #define CONFIG_SYS_SDRAM_VAL1 0 /* SDRAM_BASE */ 81 + #define CFG_SYS_SDRAM_VAL1 0 /* SDRAM_BASE */ 82 82 #define CONFIG_SYS_SDRC_MR_VAL3 AT91_SDRAMC_MODE_REFRESH 83 - #define CONFIG_SYS_SDRAM_VAL2 0 /* SDRAM_BASE */ 84 - #define CONFIG_SYS_SDRAM_VAL3 0 /* SDRAM_BASE */ 85 - #define CONFIG_SYS_SDRAM_VAL4 0 /* SDRAM_BASE */ 86 - #define CONFIG_SYS_SDRAM_VAL5 0 /* SDRAM_BASE */ 87 - #define CONFIG_SYS_SDRAM_VAL6 0 /* SDRAM_BASE */ 88 - #define CONFIG_SYS_SDRAM_VAL7 0 /* SDRAM_BASE */ 89 - #define CONFIG_SYS_SDRAM_VAL8 0 /* SDRAM_BASE */ 90 - #define CONFIG_SYS_SDRAM_VAL9 0 /* SDRAM_BASE */ 83 + #define CFG_SYS_SDRAM_VAL2 0 /* SDRAM_BASE */ 84 + #define CFG_SYS_SDRAM_VAL3 0 /* SDRAM_BASE */ 85 + #define CFG_SYS_SDRAM_VAL4 0 /* SDRAM_BASE */ 86 + #define CFG_SYS_SDRAM_VAL5 0 /* SDRAM_BASE */ 87 + #define CFG_SYS_SDRAM_VAL6 0 /* SDRAM_BASE */ 88 + #define CFG_SYS_SDRAM_VAL7 0 /* SDRAM_BASE */ 89 + #define CFG_SYS_SDRAM_VAL8 0 /* SDRAM_BASE */ 90 + #define CFG_SYS_SDRAM_VAL9 0 /* SDRAM_BASE */ 91 91 #define CONFIG_SYS_SDRC_MR_VAL4 AT91_SDRAMC_MODE_LMR 92 - #define CONFIG_SYS_SDRAM_VAL10 0 /* SDRAM_BASE */ 92 + #define CFG_SYS_SDRAM_VAL10 0 /* SDRAM_BASE */ 93 93 #define CONFIG_SYS_SDRC_MR_VAL5 AT91_SDRAMC_MODE_NORMAL 94 - #define CONFIG_SYS_SDRAM_VAL11 0 /* SDRAM_BASE */ 94 + #define CFG_SYS_SDRAM_VAL11 0 /* SDRAM_BASE */ 95 95 #define CONFIG_SYS_SDRC_TR_VAL2 1200 /* SDRAM_TR */ 96 - #define CONFIG_SYS_SDRAM_VAL12 0 /* SDRAM_BASE */ 96 + #define CFG_SYS_SDRAM_VAL12 0 /* SDRAM_BASE */ 97 97 98 98 /* setup SMC0, CS0 (NOR Flash) - 16-bit, 15 WS */ 99 99 #define CONFIG_SYS_SMC0_SETUP0_VAL \ ··· 160 160 "flashboot=run ramargs;run addip;bootm 0x10050000\0" \ 161 161 "" 162 162 163 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM 163 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM 164 164 165 165 #endif
+13 -13
include/configs/pm9263.h
··· 90 90 /* Memory Device Register -> SDRAM */ 91 91 #define CONFIG_SYS_SDRC_MDR_VAL AT91_SDRAMC_MD_SDRAM 92 92 #define CONFIG_SYS_SDRC_MR_VAL2 AT91_SDRAMC_MODE_PRECHARGE 93 - #define CONFIG_SYS_SDRAM_VAL1 0 /* SDRAM_BASE */ 93 + #define CFG_SYS_SDRAM_VAL1 0 /* SDRAM_BASE */ 94 94 #define CONFIG_SYS_SDRC_MR_VAL3 AT91_SDRAMC_MODE_REFRESH 95 - #define CONFIG_SYS_SDRAM_VAL2 0 /* SDRAM_BASE */ 96 - #define CONFIG_SYS_SDRAM_VAL3 0 /* SDRAM_BASE */ 97 - #define CONFIG_SYS_SDRAM_VAL4 0 /* SDRAM_BASE */ 98 - #define CONFIG_SYS_SDRAM_VAL5 0 /* SDRAM_BASE */ 99 - #define CONFIG_SYS_SDRAM_VAL6 0 /* SDRAM_BASE */ 100 - #define CONFIG_SYS_SDRAM_VAL7 0 /* SDRAM_BASE */ 101 - #define CONFIG_SYS_SDRAM_VAL8 0 /* SDRAM_BASE */ 102 - #define CONFIG_SYS_SDRAM_VAL9 0 /* SDRAM_BASE */ 95 + #define CFG_SYS_SDRAM_VAL2 0 /* SDRAM_BASE */ 96 + #define CFG_SYS_SDRAM_VAL3 0 /* SDRAM_BASE */ 97 + #define CFG_SYS_SDRAM_VAL4 0 /* SDRAM_BASE */ 98 + #define CFG_SYS_SDRAM_VAL5 0 /* SDRAM_BASE */ 99 + #define CFG_SYS_SDRAM_VAL6 0 /* SDRAM_BASE */ 100 + #define CFG_SYS_SDRAM_VAL7 0 /* SDRAM_BASE */ 101 + #define CFG_SYS_SDRAM_VAL8 0 /* SDRAM_BASE */ 102 + #define CFG_SYS_SDRAM_VAL9 0 /* SDRAM_BASE */ 103 103 #define CONFIG_SYS_SDRC_MR_VAL4 AT91_SDRAMC_MODE_LMR 104 - #define CONFIG_SYS_SDRAM_VAL10 0 /* SDRAM_BASE */ 104 + #define CFG_SYS_SDRAM_VAL10 0 /* SDRAM_BASE */ 105 105 #define CONFIG_SYS_SDRC_MR_VAL5 AT91_SDRAMC_MODE_NORMAL 106 - #define CONFIG_SYS_SDRAM_VAL11 0 /* SDRAM_BASE */ 106 + #define CFG_SYS_SDRAM_VAL11 0 /* SDRAM_BASE */ 107 107 #define CONFIG_SYS_SDRC_TR_VAL2 1200 /* SDRAM_TR */ 108 - #define CONFIG_SYS_SDRAM_VAL12 0 /* SDRAM_BASE */ 108 + #define CFG_SYS_SDRAM_VAL12 0 /* SDRAM_BASE */ 109 109 110 110 /* setup SMC0, CS0 (NOR Flash) - 16-bit, 15 WS */ 111 111 #define CONFIG_SYS_SMC0_SETUP0_VAL \ ··· 184 184 "flashboot=run ramargs;run addip;bootm 0x10050000\0" \ 185 185 "" 186 186 187 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM 187 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM 188 188 189 189 #endif
+2 -2
include/configs/pm9g45.h
··· 20 20 #define CONFIG_SYS_AT91_MAIN_CLOCK 12000000 /* from 12 MHz crystal */ 21 21 22 22 /* SDRAM */ 23 - #define CONFIG_SYS_SDRAM_BASE 0x70000000 24 - #define CONFIG_SYS_SDRAM_SIZE 0x08000000 23 + #define CFG_SYS_SDRAM_BASE 0x70000000 24 + #define CFG_SYS_SDRAM_SIZE 0x08000000 25 25 26 26 /* NAND flash */ 27 27 #ifdef CONFIG_CMD_NAND
+1 -1
include/configs/poleg.h
··· 11 11 #endif 12 12 13 13 #define CONFIG_SYS_BOOTMAPSZ (0x30 << 20) 14 - #define CONFIG_SYS_SDRAM_BASE 0x0 14 + #define CFG_SYS_SDRAM_BASE 0x0 15 15 16 16 /* Default environemnt variables */ 17 17 #define CONFIG_SERVERIP 192.168.0.1
+1 -1
include/configs/pomelo.h
··· 9 9 #define __POMELO_CONFIG_H__ 10 10 11 11 /* SDRAM Bank #1 start address */ 12 - #define CONFIG_SYS_SDRAM_BASE 0x80000000 12 + #define CFG_SYS_SDRAM_BASE 0x80000000 13 13 14 14 /* SIZE of malloc pool */ 15 15
+1 -1
include/configs/presidio_asic.h
··· 36 36 #define DDR_BASE 0x00000000 37 37 #define PHYS_SDRAM_1 DDR_BASE 38 38 #define PHYS_SDRAM_1_SIZE 0x80000000 /* 2GB */ 39 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 39 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM_1 40 40 41 41 /* Console I/O Buffer Size */ 42 42
+1 -1
include/configs/px30_common.h
··· 14 14 #define GICD_BASE 0xff131000 15 15 #define GICC_BASE 0xff132000 16 16 17 - #define CONFIG_SYS_SDRAM_BASE 0 17 + #define CFG_SYS_SDRAM_BASE 0 18 18 #define SDRAM_MAX_SIZE 0xff000000 19 19 #define SDRAM_BANK_SIZE (2UL << 30) 20 20
+1 -1
include/configs/qemu-arm.h
··· 10 10 11 11 /* Physical memory map */ 12 12 13 - #define CONFIG_SYS_SDRAM_BASE 0x40000000 13 + #define CFG_SYS_SDRAM_BASE 0x40000000 14 14 15 15 /* GUIDs for capsule updatable firmware images */ 16 16 #define QEMU_ARM_UBOOT_IMAGE_GUID \
+1 -1
include/configs/qemu-ppce500.h
··· 31 31 */ 32 32 #define CONFIG_VERY_BIG_RAM 33 33 #define CONFIG_SYS_DDR_SDRAM_BASE 0x00000000 34 - #define CONFIG_SYS_SDRAM_BASE CONFIG_SYS_DDR_SDRAM_BASE 34 + #define CFG_SYS_SDRAM_BASE CONFIG_SYS_DDR_SDRAM_BASE 35 35 36 36 #define CONFIG_HWCONFIG 37 37
+1 -1
include/configs/qemu-riscv.h
··· 8 8 9 9 #include <linux/sizes.h> 10 10 11 - #define CONFIG_SYS_SDRAM_BASE 0x80000000 11 + #define CFG_SYS_SDRAM_BASE 0x80000000 12 12 13 13 #define CONFIG_STANDALONE_LOAD_ADDR 0x80200000 14 14
+2 -2
include/configs/r2dplus.h
··· 6 6 /* SCIF */ 7 7 8 8 /* SDRAM */ 9 - #define CONFIG_SYS_SDRAM_BASE 0x8C000000 10 - #define CONFIG_SYS_SDRAM_SIZE 0x04000000 9 + #define CFG_SYS_SDRAM_BASE 0x8C000000 10 + #define CFG_SYS_SDRAM_SIZE 0x04000000 11 11 12 12 /* Address of u-boot image in Flash */ 13 13 #define CONFIG_SYS_BOOTMAPSZ (8 * 1024 * 1024)
+2 -2
include/configs/rcar-gen2-common.h
··· 17 17 /* console */ 18 18 #define CONFIG_SYS_BAUDRATE_TABLE { 38400, 115200 } 19 19 20 - #define CONFIG_SYS_SDRAM_BASE (RCAR_GEN2_SDRAM_BASE) 21 - #define CONFIG_SYS_SDRAM_SIZE (RCAR_GEN2_UBOOT_SDRAM_SIZE) 20 + #define CFG_SYS_SDRAM_BASE (RCAR_GEN2_SDRAM_BASE) 21 + #define CFG_SYS_SDRAM_SIZE (RCAR_GEN2_UBOOT_SDRAM_SIZE) 22 22 23 23 /* Timer */ 24 24 #define CONFIG_TMU_TIMER
+2 -2
include/configs/rcar-gen3-common.h
··· 26 26 /* MEMORY */ 27 27 28 28 #define DRAM_RSV_SIZE 0x08000000 29 - #define CONFIG_SYS_SDRAM_BASE (0x40000000 + DRAM_RSV_SIZE) 30 - #define CONFIG_SYS_SDRAM_SIZE (0x80000000u - DRAM_RSV_SIZE) 29 + #define CFG_SYS_SDRAM_BASE (0x40000000 + DRAM_RSV_SIZE) 30 + #define CFG_SYS_SDRAM_SIZE (0x80000000u - DRAM_RSV_SIZE) 31 31 #define CONFIG_VERY_BIG_RAM 32 32 #define CONFIG_MAX_MEM_MAPPED (0x80000000u - DRAM_RSV_SIZE) 33 33
+1 -1
include/configs/rk3036_common.h
··· 10 10 11 11 #define CONFIG_SYS_HZ_CLOCK 24000000 12 12 13 - #define CONFIG_SYS_SDRAM_BASE 0x60000000 13 + #define CFG_SYS_SDRAM_BASE 0x60000000 14 14 #define SDRAM_BANK_SIZE (512UL << 20UL) 15 15 #define SDRAM_MAX_SIZE (CONFIG_NR_DRAM_BANKS * SDRAM_BANK_SIZE) 16 16
+1 -1
include/configs/rk3066_common.h
··· 11 11 12 12 #define CONFIG_IRAM_BASE 0x10080000 13 13 14 - #define CONFIG_SYS_SDRAM_BASE 0x60000000 14 + #define CFG_SYS_SDRAM_BASE 0x60000000 15 15 #define SDRAM_BANK_SIZE (1024UL << 20UL) 16 16 #define SDRAM_MAX_SIZE CONFIG_NR_DRAM_BANKS * SDRAM_BANK_SIZE 17 17
+1 -1
include/configs/rk3128_common.h
··· 14 14 15 15 /* RAW SD card / eMMC locations. */ 16 16 17 - #define CONFIG_SYS_SDRAM_BASE 0x60000000 17 + #define CFG_SYS_SDRAM_BASE 0x60000000 18 18 #define SDRAM_MAX_SIZE 0x80000000 19 19 20 20 /* usb mass storage */
+1 -1
include/configs/rk3188_common.h
··· 13 13 14 14 /* spl size 32kb sram - 2kb bootrom */ 15 15 16 - #define CONFIG_SYS_SDRAM_BASE 0x60000000 16 + #define CFG_SYS_SDRAM_BASE 0x60000000 17 17 #define SDRAM_BANK_SIZE (2UL << 30) 18 18 #define SDRAM_MAX_SIZE 0x80000000 19 19
+1 -1
include/configs/rk322x_common.h
··· 12 12 13 13 #define CONFIG_IRAM_BASE 0x10080000 14 14 15 - #define CONFIG_SYS_SDRAM_BASE 0x60000000 15 + #define CFG_SYS_SDRAM_BASE 0x60000000 16 16 #define SDRAM_BANK_SIZE (512UL << 20UL) 17 17 #define SDRAM_MAX_SIZE 0x80000000 18 18
+1 -1
include/configs/rk3288_common.h
··· 15 15 16 16 /* RAW SD card / eMMC locations. */ 17 17 18 - #define CONFIG_SYS_SDRAM_BASE 0 18 + #define CFG_SYS_SDRAM_BASE 0 19 19 #define SDRAM_BANK_SIZE (2UL << 30) 20 20 #define SDRAM_MAX_SIZE 0xfe000000 21 21
+1 -1
include/configs/rk3308_common.h
··· 10 10 11 11 #define CONFIG_IRAM_BASE 0xfff80000 12 12 13 - #define CONFIG_SYS_SDRAM_BASE 0 13 + #define CFG_SYS_SDRAM_BASE 0 14 14 #define SDRAM_MAX_SIZE 0xff000000 15 15 #define SDRAM_BANK_SIZE (2UL << 30) 16 16
+1 -1
include/configs/rk3328_common.h
··· 11 11 #define CONFIG_IRAM_BASE 0xff090000 12 12 13 13 /* FAT sd card locations. */ 14 - #define CONFIG_SYS_SDRAM_BASE 0 14 + #define CFG_SYS_SDRAM_BASE 0 15 15 #define SDRAM_MAX_SIZE 0xff000000 16 16 17 17 #define ENV_MEM_LAYOUT_SETTINGS \
+1 -1
include/configs/rk3368_common.h
··· 11 11 #include <asm/arch-rockchip/hardware.h> 12 12 #include <linux/sizes.h> 13 13 14 - #define CONFIG_SYS_SDRAM_BASE 0 14 + #define CFG_SYS_SDRAM_BASE 0 15 15 #define SDRAM_MAX_SIZE 0xff000000 16 16 17 17 #define CONFIG_IRAM_BASE 0xff8c0000
+1 -1
include/configs/rk3399_common.h
··· 21 21 /* RAW SD card / eMMC locations. */ 22 22 23 23 /* FAT sd card locations. */ 24 - #define CONFIG_SYS_SDRAM_BASE 0 24 + #define CFG_SYS_SDRAM_BASE 0 25 25 #define SDRAM_MAX_SIZE 0xf8000000 26 26 27 27 #ifndef CONFIG_SPL_BUILD
+1 -1
include/configs/rk3568_common.h
··· 10 10 11 11 #define CONFIG_IRAM_BASE 0xfdcc0000 12 12 13 - #define CONFIG_SYS_SDRAM_BASE 0 13 + #define CFG_SYS_SDRAM_BASE 0 14 14 #define SDRAM_MAX_SIZE 0xf0000000 15 15 16 16 #define ENV_MEM_LAYOUT_SETTINGS \
+2 -2
include/configs/rpi.h
··· 23 23 #endif 24 24 25 25 /* Memory layout */ 26 - #define CONFIG_SYS_SDRAM_BASE 0x00000000 26 + #define CFG_SYS_SDRAM_BASE 0x00000000 27 27 #define CONFIG_SYS_UBOOT_BASE CONFIG_TEXT_BASE 28 28 /* 29 29 * The board really has 256M. However, the VC (VideoCore co-processor) shares ··· 31 31 * smaller amount of RAM is present in order to avoid stomping on the area 32 32 * the VC uses. 33 33 */ 34 - #define CONFIG_SYS_SDRAM_SIZE SZ_128M 34 + #define CFG_SYS_SDRAM_SIZE SZ_128M 35 35 36 36 /* Devices */ 37 37 /* LCD */
+1 -1
include/configs/rv1108_common.h
··· 15 15 #define CONFIG_SYS_TIMER_BASE 0x10350020 16 16 #define CONFIG_SYS_TIMER_COUNTER (CONFIG_SYS_TIMER_BASE + 8) 17 17 18 - #define CONFIG_SYS_SDRAM_BASE 0x60000000 18 + #define CFG_SYS_SDRAM_BASE 0x60000000 19 19 20 20 /* rockchip ohci host driver */ 21 21
+2 -2
include/configs/s5p4418_nanopi2.h
··· 18 18 /*----------------------------------------------------------------------- 19 19 * System memory Configuration 20 20 */ 21 - #define CONFIG_SYS_SDRAM_BASE 0x71000000 21 + #define CFG_SYS_SDRAM_BASE 0x71000000 22 22 23 23 /* 24 24 * "(0x40000000 - CONFIG_SYS_RESERVE_MEM_SIZE)" has been used in ··· 55 55 * Starting kernel ... 56 56 * ... 57 57 */ 58 - #define CONFIG_SYS_SDRAM_SIZE (0xb0000000 - CONFIG_SYS_SDRAM_BASE) 58 + #define CFG_SYS_SDRAM_SIZE (0xb0000000 - CFG_SYS_SDRAM_BASE) 59 59 60 60 #define BMP_LOAD_ADDR 0x78000000 61 61
+2 -2
include/configs/s5p_goni.h
··· 14 14 #include <asm/arch/cpu.h> /* get chip and board defs */ 15 15 16 16 /* DRAM Base */ 17 - #define CONFIG_SYS_SDRAM_BASE 0x30000000 17 + #define CFG_SYS_SDRAM_BASE 0x30000000 18 18 19 19 /* Text Base */ 20 20 ··· 114 114 "dfu_alt_info=" CONFIG_DFU_ALT "\0" 115 115 116 116 /* Goni has 3 banks of DRAM, but swap the bank */ 117 - #define PHYS_SDRAM_1 CONFIG_SYS_SDRAM_BASE /* OneDRAM Bank #0 */ 117 + #define PHYS_SDRAM_1 CFG_SYS_SDRAM_BASE /* OneDRAM Bank #0 */ 118 118 #define PHYS_SDRAM_1_SIZE (80 << 20) /* 80 MB in Bank #0 */ 119 119 #define PHYS_SDRAM_2 0x40000000 /* mDDR DMC1 Bank #1 */ 120 120 #define PHYS_SDRAM_2_SIZE (256 << 20) /* 256 MB in Bank #1 */
+2 -2
include/configs/s5pc210_universal.h
··· 14 14 /* Keep L2 Cache Disabled */ 15 15 16 16 /* Universal has 2 banks of DRAM */ 17 - #define CONFIG_SYS_SDRAM_BASE 0x40000000 18 - #define PHYS_SDRAM_1 CONFIG_SYS_SDRAM_BASE 17 + #define CFG_SYS_SDRAM_BASE 0x40000000 18 + #define PHYS_SDRAM_1 CFG_SYS_SDRAM_BASE 19 19 20 20 #define SDRAM_BANK_SIZE (256 << 20) /* 256 MB */ 21 21
+2 -2
include/configs/sam9x60_curiosity.h
··· 17 17 #define CONFIG_USART_ID 0 /* ignored in arm */ 18 18 19 19 /* SDRAM */ 20 - #define CONFIG_SYS_SDRAM_BASE 0x20000000 21 - #define CONFIG_SYS_SDRAM_SIZE 0x8000000 /* 128 MB */ 20 + #define CFG_SYS_SDRAM_BASE 0x20000000 21 + #define CFG_SYS_SDRAM_SIZE 0x8000000 /* 128 MB */ 22 22 23 23 #endif
+2 -2
include/configs/sam9x60ek.h
··· 23 23 */ 24 24 25 25 /* SDRAM */ 26 - #define CONFIG_SYS_SDRAM_BASE 0x20000000 27 - #define CONFIG_SYS_SDRAM_SIZE 0x10000000 /* 256 megs */ 26 + #define CFG_SYS_SDRAM_BASE 0x20000000 27 + #define CFG_SYS_SDRAM_SIZE 0x10000000 /* 256 megs */ 28 28 29 29 /* NAND flash */ 30 30 #ifdef CONFIG_CMD_NAND
+2 -2
include/configs/sama5d27_wlsom1_ek.h
··· 16 16 #define CONFIG_SYS_AT91_MAIN_CLOCK 24000000 /* from 24 MHz crystal */ 17 17 18 18 /* SDRAM */ 19 - #define CONFIG_SYS_SDRAM_BASE 0x20000000 20 - #define CONFIG_SYS_SDRAM_SIZE 0x10000000 19 + #define CFG_SYS_SDRAM_BASE 0x20000000 20 + #define CFG_SYS_SDRAM_SIZE 0x10000000 21 21 22 22 /* SPL */ 23 23
+2 -2
include/configs/sama5d2_icp.h
··· 15 15 #define CONFIG_SYS_AT91_MAIN_CLOCK 12000000 /* from 12 MHz crystal */ 16 16 17 17 /* SDRAM */ 18 - #define CONFIG_SYS_SDRAM_BASE 0x20000000 19 - #define CONFIG_SYS_SDRAM_SIZE 0x20000000 18 + #define CFG_SYS_SDRAM_BASE 0x20000000 19 + #define CFG_SYS_SDRAM_SIZE 0x20000000 20 20 21 21 #ifdef CONFIG_SD_BOOT 22 22 /* u-boot env in sd/mmc card */
+2 -2
include/configs/sama5d2_ptc_ek.h
··· 16 16 #define CONFIG_SYS_AT91_MAIN_CLOCK 24000000 /* from 24 MHz crystal */ 17 17 18 18 /* SDRAM */ 19 - #define CONFIG_SYS_SDRAM_BASE 0x20000000 20 - #define CONFIG_SYS_SDRAM_SIZE 0x20000000 19 + #define CFG_SYS_SDRAM_BASE 0x20000000 20 + #define CFG_SYS_SDRAM_SIZE 0x20000000 21 21 22 22 /* NAND Flash */ 23 23 #ifdef CONFIG_CMD_NAND
+2 -2
include/configs/sama5d3_xplained.h
··· 24 24 #define ATMEL_PMC_UHP (1 << 6) 25 25 26 26 /* SDRAM */ 27 - #define CONFIG_SYS_SDRAM_BASE 0x20000000 28 - #define CONFIG_SYS_SDRAM_SIZE 0x10000000 27 + #define CFG_SYS_SDRAM_BASE 0x20000000 28 + #define CFG_SYS_SDRAM_SIZE 0x10000000 29 29 30 30 /* NAND flash */ 31 31 #ifdef CONFIG_CMD_NAND
+2 -2
include/configs/sama5d3xek.h
··· 31 31 #endif 32 32 33 33 /* SDRAM */ 34 - #define CONFIG_SYS_SDRAM_BASE 0x20000000 35 - #define CONFIG_SYS_SDRAM_SIZE 0x20000000 34 + #define CFG_SYS_SDRAM_BASE 0x20000000 35 + #define CFG_SYS_SDRAM_SIZE 0x20000000 36 36 37 37 /* SerialFlash */ 38 38
+2 -2
include/configs/sama5d4_xplained.h
··· 12 12 #include "at91-sama5_common.h" 13 13 14 14 /* SDRAM */ 15 - #define CONFIG_SYS_SDRAM_BASE 0x20000000 16 - #define CONFIG_SYS_SDRAM_SIZE 0x20000000 15 + #define CFG_SYS_SDRAM_BASE 0x20000000 16 + #define CFG_SYS_SDRAM_SIZE 0x20000000 17 17 18 18 /* NAND flash */ 19 19 #ifdef CONFIG_CMD_NAND
+2 -2
include/configs/sama5d4ek.h
··· 12 12 #include "at91-sama5_common.h" 13 13 14 14 /* SDRAM */ 15 - #define CONFIG_SYS_SDRAM_BASE 0x20000000 16 - #define CONFIG_SYS_SDRAM_SIZE 0x20000000 15 + #define CFG_SYS_SDRAM_BASE 0x20000000 16 + #define CFG_SYS_SDRAM_SIZE 0x20000000 17 17 18 18 /* NAND flash */ 19 19 #ifdef CONFIG_CMD_NAND
+2 -2
include/configs/sama7g5ek.h
··· 12 12 #define CONFIG_SYS_AT91_SLOW_CLOCK 32768 13 13 #define CONFIG_SYS_AT91_MAIN_CLOCK 24000000 /* from 24 MHz crystal */ 14 14 /* SDRAM */ 15 - #define CONFIG_SYS_SDRAM_BASE 0x60000000 16 - #define CONFIG_SYS_SDRAM_SIZE 0x20000000 15 + #define CFG_SYS_SDRAM_BASE 0x60000000 16 + #define CFG_SYS_SDRAM_SIZE 0x20000000 17 17 18 18 #endif
+2 -2
include/configs/sandbox.h
··· 13 13 /* Size of our emulated memory */ 14 14 #define SB_CONCAT(x, y) x ## y 15 15 #define SB_TO_UL(s) SB_CONCAT(s, UL) 16 - #define CONFIG_SYS_SDRAM_BASE 0 17 - #define CONFIG_SYS_SDRAM_SIZE \ 16 + #define CFG_SYS_SDRAM_BASE 0 17 + #define CFG_SYS_SDRAM_SIZE \ 18 18 (SB_TO_UL(CONFIG_SANDBOX_RAM_SIZE_MB) << 20) 19 19 20 20 #define CONFIG_SYS_BAUDRATE_TABLE {4800, 9600, 19200, 38400, 57600,\
+1 -1
include/configs/siemens-am33x-common.h
··· 33 33 /* Physical Memory Map */ 34 34 #define PHYS_DRAM_1 0x80000000 /* DRAM Bank #1 */ 35 35 36 - #define CONFIG_SYS_SDRAM_BASE PHYS_DRAM_1 36 + #define CFG_SYS_SDRAM_BASE PHYS_DRAM_1 37 37 /* Platform/Board specific defs */ 38 38 #define CONFIG_SYS_TIMERBASE 0x48040000 /* Use Timer2 */ 39 39
+1 -1
include/configs/sifive-unleashed.h
··· 11 11 12 12 #include <linux/sizes.h> 13 13 14 - #define CONFIG_SYS_SDRAM_BASE 0x80000000 14 + #define CFG_SYS_SDRAM_BASE 0x80000000 15 15 16 16 #define CONFIG_STANDALONE_LOAD_ADDR 0x80200000 17 17
+1 -1
include/configs/sifive-unmatched.h
··· 11 11 12 12 #include <linux/sizes.h> 13 13 14 - #define CONFIG_SYS_SDRAM_BASE 0x80000000 14 + #define CFG_SYS_SDRAM_BASE 0x80000000 15 15 16 16 #define CONFIG_STANDALONE_LOAD_ADDR 0x80200000 17 17
+2 -2
include/configs/sipeed-maix.h
··· 8 8 9 9 #include <linux/sizes.h> 10 10 11 - #define CONFIG_SYS_SDRAM_BASE 0x80000000 12 - #define CONFIG_SYS_SDRAM_SIZE SZ_8M 11 + #define CFG_SYS_SDRAM_BASE 0x80000000 12 + #define CFG_SYS_SDRAM_SIZE SZ_8M 13 13 14 14 #ifndef CONFIG_EXTRA_ENV_SETTINGS 15 15 #define CONFIG_EXTRA_ENV_SETTINGS \
+2 -2
include/configs/smartweb.h
··· 45 45 * SDRAM: 1 bank, 64 MB, base address 0x20000000 46 46 * Already initialized before u-boot gets started. 47 47 */ 48 - #define CONFIG_SYS_SDRAM_BASE ATMEL_BASE_CS1 49 - #define CONFIG_SYS_SDRAM_SIZE (64 * SZ_1M) 48 + #define CFG_SYS_SDRAM_BASE ATMEL_BASE_CS1 49 + #define CFG_SYS_SDRAM_SIZE (64 * SZ_1M) 50 50 51 51 /* 52 52 * Perform a SDRAM Memtest from the start of SDRAM
+1 -1
include/configs/smdk5420.h
··· 14 14 15 15 #define CONFIG_SMDK5420 /* which is in a SMDK5420 */ 16 16 17 - #define CONFIG_SYS_SDRAM_BASE 0x20000000 17 + #define CFG_SYS_SDRAM_BASE 0x20000000 18 18 19 19 /* DRAM Memory Banks */ 20 20 #define SDRAM_BANK_SIZE (512UL << 20UL) /* 512 MB */
+2 -2
include/configs/smdkc100.h
··· 16 16 /* input clock of PLL: SMDKC100 has 12MHz input clock */ 17 17 18 18 /* DRAM Base */ 19 - #define CONFIG_SYS_SDRAM_BASE 0x30000000 19 + #define CFG_SYS_SDRAM_BASE 0x30000000 20 20 21 21 /* Text Base */ 22 22 ··· 77 77 */ 78 78 79 79 /* SMDKC100 has 1 banks of DRAM, we use only one in U-Boot */ 80 - #define PHYS_SDRAM_1 CONFIG_SYS_SDRAM_BASE /* SDRAM Bank #1 */ 80 + #define PHYS_SDRAM_1 CFG_SYS_SDRAM_BASE /* SDRAM Bank #1 */ 81 81 #define PHYS_SDRAM_1_SIZE (128 << 20) /* 0x8000000, 128 MB Bank #1 */ 82 82 83 83 /*-----------------------------------------------------------------------
+5 -5
include/configs/smdkv310.h
··· 11 11 #include "exynos4-common.h" 12 12 13 13 /* High Level Configuration Options */ 14 - #define CONFIG_SYS_SDRAM_BASE 0x40000000 14 + #define CFG_SYS_SDRAM_BASE 0x40000000 15 15 16 16 /* Handling Sleep Mode*/ 17 17 #define S5P_CHECK_SLEEP 0x00000BAD ··· 23 23 24 24 /* SMDKV310 has 4 bank of DRAM */ 25 25 #define SDRAM_BANK_SIZE (512UL << 20UL) /* 512 MB */ 26 - #define PHYS_SDRAM_1 CONFIG_SYS_SDRAM_BASE 26 + #define PHYS_SDRAM_1 CFG_SYS_SDRAM_BASE 27 27 #define PHYS_SDRAM_1_SIZE SDRAM_BANK_SIZE 28 - #define PHYS_SDRAM_2 (CONFIG_SYS_SDRAM_BASE + SDRAM_BANK_SIZE) 28 + #define PHYS_SDRAM_2 (CFG_SYS_SDRAM_BASE + SDRAM_BANK_SIZE) 29 29 #define PHYS_SDRAM_2_SIZE SDRAM_BANK_SIZE 30 - #define PHYS_SDRAM_3 (CONFIG_SYS_SDRAM_BASE + (2 * SDRAM_BANK_SIZE)) 30 + #define PHYS_SDRAM_3 (CFG_SYS_SDRAM_BASE + (2 * SDRAM_BANK_SIZE)) 31 31 #define PHYS_SDRAM_3_SIZE SDRAM_BANK_SIZE 32 - #define PHYS_SDRAM_4 (CONFIG_SYS_SDRAM_BASE + (3 * SDRAM_BANK_SIZE)) 32 + #define PHYS_SDRAM_4 (CFG_SYS_SDRAM_BASE + (3 * SDRAM_BANK_SIZE)) 33 33 #define PHYS_SDRAM_4_SIZE SDRAM_BANK_SIZE 34 34 35 35 /* FLASH and environment organization */
+1 -1
include/configs/smegw01.h
··· 38 38 /* Physical Memory Map */ 39 39 #define PHYS_SDRAM MMDC0_ARB_BASE_ADDR 40 40 41 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM 41 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM 42 42 #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR 43 43 #define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE 44 44
+2 -2
include/configs/snapper9g45.h
··· 21 21 /* CPU */ 22 22 23 23 /* SDRAM */ 24 - #define CONFIG_SYS_SDRAM_BASE ATMEL_BASE_CS6 25 - #define CONFIG_SYS_SDRAM_SIZE (128 * 1024 * 1024) /* 64MB */ 24 + #define CFG_SYS_SDRAM_BASE ATMEL_BASE_CS6 25 + #define CFG_SYS_SDRAM_SIZE (128 * 1024 * 1024) /* 64MB */ 26 26 #define CONFIG_SYS_INIT_RAM_SIZE 0x1000 27 27 #define CONFIG_SYS_INIT_RAM_ADDR ATMEL_BASE_SRAM 28 28
+1 -1
include/configs/sniper.h
··· 32 32 * Memory 33 33 */ 34 34 35 - #define CONFIG_SYS_SDRAM_BASE 0x80000000 35 + #define CFG_SYS_SDRAM_BASE 0x80000000 36 36 37 37 /* 38 38 * I2C
+1 -1
include/configs/socfpga_common.h
··· 38 38 * in U-Boot pre-reloc is higher than in SPL. 39 39 */ 40 40 41 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 41 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM_1 42 42 43 43 /* 44 44 * U-Boot general configurations
+1 -1
include/configs/socfpga_soc64_common.h
··· 70 70 */ 71 71 #define PHYS_SDRAM_1 0x0 72 72 #define PHYS_SDRAM_1_SIZE (1 * 1024 * 1024 * 1024) 73 - #define CONFIG_SYS_SDRAM_BASE 0 73 + #define CFG_SYS_SDRAM_BASE 0 74 74 75 75 /* 76 76 * Serial / UART configurations
+2 -2
include/configs/socrates.h
··· 55 55 #define CONFIG_MEM_INIT_VALUE 0xDeadBeef 56 56 57 57 #define CONFIG_SYS_DDR_SDRAM_BASE 0x00000000 58 - #define CONFIG_SYS_SDRAM_BASE CONFIG_SYS_DDR_SDRAM_BASE 58 + #define CFG_SYS_SDRAM_BASE CONFIG_SYS_DDR_SDRAM_BASE 59 59 #define CONFIG_VERY_BIG_RAM 60 60 61 61 /* I2C addresses of SPD EEPROMs */ ··· 73 73 #define CONFIG_SYS_DDR_CONFIG_2 0x04400000 74 74 #define CONFIG_SYS_DDR_CONFIG 0xC3008000 75 75 #define CONFIG_SYS_DDR_CLK_CONTROL 0x03800000 76 - #define CONFIG_SYS_SDRAM_SIZE 256 /* in Megs */ 76 + #define CFG_SYS_SDRAM_SIZE 256 /* in Megs */ 77 77 78 78 /* 79 79 * Flash on the LocalBus
+1 -1
include/configs/somlabs_visionsom_6ull.h
··· 53 53 /* Physical Memory Map */ 54 54 #define PHYS_SDRAM MMDC0_ARB_BASE_ADDR 55 55 56 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM 56 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM 57 57 #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR 58 58 #define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE 59 59
+1 -1
include/configs/stih410-b2260.h
··· 11 11 12 12 /* ram memory-related information */ 13 13 #define PHYS_SDRAM_1 0x40000000 14 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 14 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM_1 15 15 #define PHYS_SDRAM_1_SIZE 0x3E000000 16 16 17 17 #define CONFIG_SYS_HZ_CLOCK 750000000 /* 750 MHz */
+1 -1
include/configs/stm32mp13_common.h
··· 13 13 /* 14 14 * Configuration of the external SRAM memory used by U-Boot 15 15 */ 16 - #define CONFIG_SYS_SDRAM_BASE STM32_DDR_BASE 16 + #define CFG_SYS_SDRAM_BASE STM32_DDR_BASE 17 17 18 18 /* 19 19 * For booting Linux, use the first 256 MB of memory, since this is
+1 -1
include/configs/stm32mp15_common.h
··· 13 13 /* 14 14 * Configuration of the external SRAM memory used by U-Boot 15 15 */ 16 - #define CONFIG_SYS_SDRAM_BASE STM32_DDR_BASE 16 + #define CFG_SYS_SDRAM_BASE STM32_DDR_BASE 17 17 18 18 /* 19 19 * For booting Linux, use the first 256 MB of memory, since this is
+7 -7
include/configs/stmark2.h
··· 56 56 /* 57 57 * Start addresses for the final memory configuration 58 58 * (Set up by the startup code) 59 - * Please note that CONFIG_SYS_SDRAM_BASE _must_ start at 0 59 + * Please note that CFG_SYS_SDRAM_BASE _must_ start at 0 60 60 */ 61 - #define CONFIG_SYS_SDRAM_BASE 0x40000000 62 - #define CONFIG_SYS_SDRAM_SIZE 128 /* SDRAM size in MB */ 61 + #define CFG_SYS_SDRAM_BASE 0x40000000 62 + #define CFG_SYS_SDRAM_SIZE 128 /* SDRAM size in MB */ 63 63 64 64 #define CONFIG_SYS_DRAM_TEST 65 65 ··· 75 75 * the maximum mapped by the Linux kernel during initialization ?? 76 76 */ 77 77 /* Initial Memory map for Linux */ 78 - #define CONFIG_SYS_BOOTMAPSZ (CONFIG_SYS_SDRAM_BASE + \ 79 - (CONFIG_SYS_SDRAM_SIZE << 20)) 78 + #define CONFIG_SYS_BOOTMAPSZ (CFG_SYS_SDRAM_BASE + \ 79 + (CFG_SYS_SDRAM_SIZE << 20)) 80 80 81 81 /* Configuration for environment 82 82 * Environment is embedded in u-boot in the second sector of the flash ··· 89 89 CONFIG_SYS_INIT_RAM_SIZE - 4) 90 90 #define CONFIG_SYS_ICACHE_INV (CF_CACR_BCINVA + CF_CACR_ICINVA) 91 91 #define CONFIG_SYS_DCACHE_INV (CF_CACR_DCINVA) 92 - #define CONFIG_SYS_CACHE_ACR2 (CONFIG_SYS_SDRAM_BASE | \ 93 - CF_ADDRMASK(CONFIG_SYS_SDRAM_SIZE) | \ 92 + #define CONFIG_SYS_CACHE_ACR2 (CFG_SYS_SDRAM_BASE | \ 93 + CF_ADDRMASK(CFG_SYS_SDRAM_SIZE) | \ 94 94 CF_ACR_EN | CF_ACR_SM_ALL) 95 95 #define CONFIG_SYS_CACHE_ICACR (CF_CACR_BEC | CF_CACR_IEC | \ 96 96 CF_CACR_ICINVA | CF_CACR_EUSP)
+1 -1
include/configs/stv0991.h
··· 10 10 11 11 /* ram memory-related information */ 12 12 #define PHYS_SDRAM_1 0x00000000 13 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 13 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM_1 14 14 #define PHYS_SDRAM_1_SIZE 0x00198000 15 15 16 16 /* user interface */
+4 -4
include/configs/sunxi-common.h
··· 42 42 */ 43 43 #ifdef CONFIG_MACH_SUN9I 44 44 #define SDRAM_OFFSET(x) 0x2##x 45 - #define CONFIG_SYS_SDRAM_BASE 0x20000000 45 + #define CFG_SYS_SDRAM_BASE 0x20000000 46 46 #elif defined(CONFIG_MACH_SUNIV) 47 47 #define SDRAM_OFFSET(x) 0x8##x 48 - #define CONFIG_SYS_SDRAM_BASE 0x80000000 48 + #define CFG_SYS_SDRAM_BASE 0x80000000 49 49 #else 50 50 #define SDRAM_OFFSET(x) 0x4##x 51 - #define CONFIG_SYS_SDRAM_BASE 0x40000000 51 + #define CFG_SYS_SDRAM_BASE 0x40000000 52 52 /* V3s do not have enough memory to place code at 0x4a000000 */ 53 53 #endif 54 54 ··· 66 66 /* FIXME: this may be larger on some SoCs */ 67 67 #define CONFIG_SYS_INIT_RAM_SIZE 0x8000 /* 32 KiB */ 68 68 69 - #define PHYS_SDRAM_0 CONFIG_SYS_SDRAM_BASE 69 + #define PHYS_SDRAM_0 CFG_SYS_SDRAM_BASE 70 70 #define PHYS_SDRAM_0_SIZE 0x80000000 /* 2 GiB */ 71 71 72 72 /* mmc config */
+1 -1
include/configs/synquacer.h
··· 11 11 /* 12 12 * SDRAM (for initialize) 13 13 */ 14 - #define CONFIG_SYS_SDRAM_BASE (0x80000000) /* Start address of DDR3 */ 14 + #define CFG_SYS_SDRAM_BASE (0x80000000) /* Start address of DDR3 */ 15 15 #define PHYS_SDRAM_SIZE (0x7c000000) /* Default size (2GB - Secure memory) */ 16 16 17 17 #define CONFIG_VERY_BIG_RAM /* SynQuacer supports up to 64GB */
+2 -2
include/configs/taurus.h
··· 41 41 * SDRAM: 1 bank, min 32, max 128 MB 42 42 * Initialized before u-boot gets started. 43 43 */ 44 - #define CONFIG_SYS_SDRAM_BASE ATMEL_BASE_CS1 45 - #define CONFIG_SYS_SDRAM_SIZE (128 * SZ_1M) 44 + #define CFG_SYS_SDRAM_BASE ATMEL_BASE_CS1 45 + #define CFG_SYS_SDRAM_SIZE (128 * SZ_1M) 46 46 47 47 /* 48 48 * Initial stack pointer: 4k - GENERATED_GBL_DATA_SIZE in internal SRAM,
+2 -2
include/configs/tb100.h
··· 13 13 */ 14 14 15 15 #define CONFIG_SYS_DDR_SDRAM_BASE 0x80000000 16 - #define CONFIG_SYS_SDRAM_BASE CONFIG_SYS_DDR_SDRAM_BASE 17 - #define CONFIG_SYS_SDRAM_SIZE SZ_128M 16 + #define CFG_SYS_SDRAM_BASE CONFIG_SYS_DDR_SDRAM_BASE 17 + #define CFG_SYS_SDRAM_SIZE SZ_128M 18 18 19 19 /* 20 20 * UART configuration
+1 -1
include/configs/tbs2910.h
··· 13 13 /* General configuration */ 14 14 15 15 /* Physical Memory Map */ 16 - #define CONFIG_SYS_SDRAM_BASE MMDC0_ARB_BASE_ADDR 16 + #define CFG_SYS_SDRAM_BASE MMDC0_ARB_BASE_ADDR 17 17 18 18 #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR 19 19 #define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE
+1 -1
include/configs/tegra-common.h
··· 40 40 #define PHYS_SDRAM_1 NV_PA_SDRC_CS0 41 41 #define PHYS_SDRAM_1_SIZE 0x20000000 /* 512M */ 42 42 43 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 43 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM_1 44 44 45 45 #define CONFIG_SYS_BOOTMAPSZ (256 << 20) /* 256M */ 46 46
+1 -1
include/configs/theadorable.h
··· 68 68 /* Defines for SPL */ 69 69 70 70 /* Enable DDR support in SPL (DDR3 training from Marvell bin_hdr) */ 71 - #define CONFIG_SYS_SDRAM_SIZE SZ_2G 71 + #define CFG_SYS_SDRAM_SIZE SZ_2G 72 72 73 73 #endif /* _CONFIG_THEADORABLE_H */
+2 -2
include/configs/thunderx_88xx.h
··· 13 13 /* Link Definitions */ 14 14 15 15 /* SMP Spin Table Definitions */ 16 - #define CPU_RELEASE_ADDR (CONFIG_SYS_SDRAM_BASE + 0x7fff0) 16 + #define CPU_RELEASE_ADDR (CFG_SYS_SDRAM_BASE + 0x7fff0) 17 17 18 18 /* PL011 Serial Configuration */ 19 19 ··· 30 30 /* Physical Memory Map */ 31 31 #define PHYS_SDRAM_1 (MEM_BASE) /* SDRAM Bank #1 */ 32 32 #define PHYS_SDRAM_1_SIZE (0x80000000-MEM_BASE) /* 2048 MB */ 33 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 33 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM_1 34 34 35 35 /* Initial environment variables */ 36 36 #define UBOOT_IMG_HEAD_SIZE 0x40
+1 -1
include/configs/ti814x_evm.h
··· 69 69 #define PHYS_DRAM_1_SIZE 0x20000000 /* 512MB */ 70 70 #define CONFIG_MAX_RAM_BANK_SIZE (1024 << 20) /* 1024MB */ 71 71 72 - #define CONFIG_SYS_SDRAM_BASE 0x80000000 72 + #define CFG_SYS_SDRAM_BASE 0x80000000 73 73 74 74 /** 75 75 * Platform/Board specific defs
+1 -1
include/configs/ti816x_evm.h
··· 20 20 #define V_SCLK (V_OSCK >> 1) 21 21 22 22 #define CONFIG_MAX_RAM_BANK_SIZE (2048 << 20) /* 2048MB */ 23 - #define CONFIG_SYS_SDRAM_BASE 0x80000000 23 + #define CFG_SYS_SDRAM_BASE 0x80000000 24 24 25 25 /** 26 26 * Platform/Board specific defs
+1 -1
include/configs/ti_armv7_common.h
··· 64 64 * initial stack pointer in our SRAM. Otherwise, we can define 65 65 * CONFIG_NR_DRAM_BANKS before including this file. 66 66 */ 67 - #define CONFIG_SYS_SDRAM_BASE 0x80000000 67 + #define CFG_SYS_SDRAM_BASE 0x80000000 68 68 69 69 /* If DM_I2C, enable non-DM I2C support */ 70 70
+1 -1
include/configs/total_compute.h
··· 23 23 /* Top 48MB reserved for secure world use */ 24 24 #define DRAM_SEC_SIZE 0x03000000 25 25 #define PHYS_SDRAM_1_SIZE 0x80000000 - DRAM_SEC_SIZE 26 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 26 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM_1 27 27 28 28 #define PHYS_SDRAM_2 0x8080000000 29 29 #define PHYS_SDRAM_2_SIZE 0x180000000
+1 -1
include/configs/tqma6.h
··· 268 268 /* Physical Memory Map */ 269 269 #define PHYS_SDRAM MMDC0_ARB_BASE_ADDR 270 270 271 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM 271 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM 272 272 #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR 273 273 #define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE 274 274
+2 -2
include/configs/trats.h
··· 16 16 #endif 17 17 18 18 /* TRATS has 4 banks of DRAM */ 19 - #define CONFIG_SYS_SDRAM_BASE 0x40000000 20 - #define PHYS_SDRAM_1 CONFIG_SYS_SDRAM_BASE 19 + #define CFG_SYS_SDRAM_BASE 0x40000000 20 + #define PHYS_SDRAM_1 CFG_SYS_SDRAM_BASE 21 21 #define SDRAM_BANK_SIZE (256 << 20) /* 256 MB */ 22 22 23 23 /* Tizen - partitions definitions */
+2 -2
include/configs/trats2.h
··· 17 17 #endif 18 18 19 19 /* TRATS2 has 4 banks of DRAM */ 20 - #define CONFIG_SYS_SDRAM_BASE 0x40000000 21 - #define PHYS_SDRAM_1 CONFIG_SYS_SDRAM_BASE 20 + #define CFG_SYS_SDRAM_BASE 0x40000000 21 + #define PHYS_SDRAM_1 CFG_SYS_SDRAM_BASE 22 22 #define SDRAM_BANK_SIZE (256 << 20) /* 256 MB */ 23 23 24 24 /* Tizen - partitions definitions */
+1 -1
include/configs/turris_mox.h
··· 8 8 #ifndef _CONFIG_TURRIS_MOX_H 9 9 #define _CONFIG_TURRIS_MOX_H 10 10 11 - #define CONFIG_SYS_SDRAM_BASE 0x00000000 11 + #define CFG_SYS_SDRAM_BASE 0x00000000 12 12 #define CONFIG_SYS_BAUDRATE_TABLE { 300, 600, 1200, 1800, 2400, 4800, \ 13 13 9600, 19200, 38400, 57600, 115200, \ 14 14 230400, 460800, 500000, 576000, \
+1 -1
include/configs/udoo.h
··· 49 49 /* Physical Memory Map */ 50 50 #define PHYS_SDRAM MMDC0_ARB_BASE_ADDR 51 51 52 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM 52 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM 53 53 #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR 54 54 #define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE 55 55
+1 -1
include/configs/udoo_neo.h
··· 57 57 58 58 /* Physical Memory Map */ 59 59 #define PHYS_SDRAM MMDC0_ARB_BASE_ADDR 60 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM 60 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM 61 61 #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR 62 62 #define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE 63 63
+2 -2
include/configs/usb_a9263.h
··· 25 25 */ 26 26 27 27 /* SDRAM */ 28 - #define CONFIG_SYS_SDRAM_BASE ATMEL_BASE_CS1 29 - #define CONFIG_SYS_SDRAM_SIZE 0x04000000 28 + #define CFG_SYS_SDRAM_BASE ATMEL_BASE_CS1 29 + #define CFG_SYS_SDRAM_SIZE 0x04000000 30 30 31 31 #define CONFIG_SYS_INIT_RAM_SIZE (16 * 1024) 32 32 #define CONFIG_SYS_INIT_RAM_ADDR ATMEL_BASE_SRAM1
+1 -1
include/configs/usbarmory.h
··· 60 60 #define PHYS_SDRAM CSD0_BASE_ADDR 61 61 #define PHYS_SDRAM_SIZE (gd->ram_size) 62 62 63 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM 63 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM 64 64 #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR 65 65 #define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE 66 66
+4 -4
include/configs/vcoreiii.h
··· 14 14 15 15 #define CFG_SYS_NS16550_CLK CONFIG_SYS_MIPS_TIMER_FREQ 16 16 17 - #define CONFIG_SYS_SDRAM_BASE 0x80000000 17 + #define CFG_SYS_SDRAM_BASE 0x80000000 18 18 #if defined(CONFIG_DDRTYPE_H5TQ1G63BFA) || defined(CONFIG_DDRTYPE_MT47H128M8HQ) 19 - #define CONFIG_SYS_SDRAM_SIZE (128 * SZ_1M) 19 + #define CFG_SYS_SDRAM_SIZE (128 * SZ_1M) 20 20 #elif defined(CONFIG_DDRTYPE_MT41J128M16HA) || defined(CONFIG_DDRTYPE_MT41K128M16JT) 21 - #define CONFIG_SYS_SDRAM_SIZE (256 * SZ_1M) 21 + #define CFG_SYS_SDRAM_SIZE (256 * SZ_1M) 22 22 #elif defined(CONFIG_DDRTYPE_H5TQ4G63MFR) || defined(CONFIG_DDRTYPE_MT41K256M16) 23 - #define CONFIG_SYS_SDRAM_SIZE (512 * SZ_1M) 23 + #define CFG_SYS_SDRAM_SIZE (512 * SZ_1M) 24 24 #else 25 25 #error Unknown DDR size - please add! 26 26 #endif
+1 -1
include/configs/verdin-imx8mm.h
··· 60 60 /* Environment in eMMC, before config block at the end of 1st "boot sector" */ 61 61 #endif 62 62 63 - #define CONFIG_SYS_SDRAM_BASE 0x40000000 63 + #define CFG_SYS_SDRAM_BASE 0x40000000 64 64 65 65 /* SDRAM configuration */ 66 66 #define PHYS_SDRAM 0x40000000
+1 -1
include/configs/verdin-imx8mp.h
··· 69 69 #define CONFIG_SYS_INIT_RAM_SIZE SZ_512K 70 70 71 71 /* i.MX 8M Plus supports max. 8GB memory in two albeit concecutive banks */ 72 - #define CONFIG_SYS_SDRAM_BASE 0x40000000 72 + #define CFG_SYS_SDRAM_BASE 0x40000000 73 73 #define PHYS_SDRAM 0x40000000 74 74 #define PHYS_SDRAM_SIZE (SZ_2G + SZ_1G) 75 75 #define PHYS_SDRAM_2 0x100000000
+1 -1
include/configs/vexpress_aemv8.h
··· 96 96 /* Top 16MB reserved for secure world use */ 97 97 #define DRAM_SEC_SIZE 0x01000000 98 98 #define PHYS_SDRAM_1_SIZE 0x80000000 - DRAM_SEC_SIZE 99 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 99 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM_1 100 100 101 101 #ifdef CONFIG_TARGET_VEXPRESS64_JUNO 102 102 #define PHYS_SDRAM_2 (0x880000000)
+1 -1
include/configs/vexpress_common.h
··· 135 135 #define PHYS_SDRAM_2_SIZE 0x20000000 /* 512 MB */ 136 136 137 137 /* additions for new relocation code */ 138 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 138 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM_1 139 139 #define CONFIG_SYS_INIT_RAM_SIZE 0x1000 140 140 141 141 /* Basic environment settings */
+1 -1
include/configs/vf610twr.h
··· 123 123 #define PHYS_SDRAM (0x80000000) 124 124 #define PHYS_SDRAM_SIZE (128 * 1024 * 1024) 125 125 126 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM 126 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM 127 127 #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR 128 128 #define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE 129 129
+2 -2
include/configs/vinco.h
··· 24 24 #define CONFIG_SYS_TIMER_COUNTER 0xfc06863c 25 25 26 26 /* SDRAM */ 27 - #define CONFIG_SYS_SDRAM_BASE 0x20000000 28 - #define CONFIG_SYS_SDRAM_SIZE 0x4000000 27 + #define CFG_SYS_SDRAM_BASE 0x20000000 28 + #define CFG_SYS_SDRAM_SIZE 0x4000000 29 29 30 30 /* MMC */ 31 31
+1 -1
include/configs/vining_2000.h
··· 23 23 /* Physical Memory Map */ 24 24 #define PHYS_SDRAM MMDC0_ARB_BASE_ADDR 25 25 26 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM 26 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM 27 27 #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR 28 28 #define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE 29 29
+1 -1
include/configs/vocore2.h
··· 7 7 #define __VOCORE2_CONFIG_H__ 8 8 9 9 /* RAM */ 10 - #define CONFIG_SYS_SDRAM_BASE 0x80000000 10 + #define CFG_SYS_SDRAM_BASE 0x80000000 11 11 12 12 #define CONFIG_SYS_INIT_SP_OFFSET 0x400000 13 13
+1 -1
include/configs/wandboard.h
··· 89 89 /* Physical Memory Map */ 90 90 #define PHYS_SDRAM MMDC0_ARB_BASE_ADDR 91 91 92 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM 92 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM 93 93 #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR 94 94 #define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE 95 95
+1 -1
include/configs/warp7.h
··· 84 84 /* Physical Memory Map */ 85 85 #define PHYS_SDRAM MMDC0_ARB_BASE_ADDR 86 86 87 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM 87 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM 88 88 #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR 89 89 #define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE 90 90
+2 -2
include/configs/work_92105.h
··· 16 16 /* 17 17 * Memory configurations 18 18 */ 19 - #define CONFIG_SYS_SDRAM_BASE EMC_DYCS0_BASE 20 - #define CONFIG_SYS_SDRAM_SIZE SZ_128M 19 + #define CFG_SYS_SDRAM_BASE EMC_DYCS0_BASE 20 + #define CFG_SYS_SDRAM_SIZE SZ_128M 21 21 22 22 #define CONFIG_RTC_DS1374 23 23
+1 -1
include/configs/xea.h
··· 23 23 /* Memory configuration */ 24 24 #define PHYS_SDRAM_1 0x40000000 /* Base address */ 25 25 #define PHYS_SDRAM_1_SIZE 0x10000000 /* Max 256 MB RAM */ 26 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 26 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM_1 27 27 28 28 /* Extra Environment */ 29 29 #define CONFIG_HOSTNAME "xea"
+1 -1
include/configs/xenguest_arm64.h
··· 11 11 12 12 #define CONFIG_EXTRA_ENV_SETTINGS 13 13 14 - #undef CONFIG_SYS_SDRAM_BASE 14 + #undef CFG_SYS_SDRAM_BASE 15 15 16 16 #undef CONFIG_EXTRA_ENV_SETTINGS 17 17 #define CONFIG_EXTRA_ENV_SETTINGS \
+2 -2
include/configs/xilinx_zynqmp_mini_nand.h
··· 12 12 13 13 #include <configs/xilinx_zynqmp_mini.h> 14 14 15 - #define CONFIG_SYS_SDRAM_SIZE 0x1000000 16 - #define CONFIG_SYS_SDRAM_BASE 0x0 15 + #define CFG_SYS_SDRAM_SIZE 0x1000000 16 + #define CFG_SYS_SDRAM_BASE 0x0 17 17 18 18 #endif /* __CONFIG_ZYNQMP_MINI_NAND_H */
+1 -1
include/configs/xpress.h
··· 21 21 #define PHYS_SDRAM MMDC0_ARB_BASE_ADDR 22 22 #define PHYS_SDRAM_SIZE (128 << 20) 23 23 24 - #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM 24 + #define CFG_SYS_SDRAM_BASE PHYS_SDRAM 25 25 #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR 26 26 #define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE 27 27
+5 -5
include/configs/xtfpga.h
··· 42 42 */ 43 43 44 44 #if XCHAL_HAVE_PTP_MMU || CONFIG_BOARD_SDRAM_SIZE < 0x10000000 45 - #define CONFIG_SYS_SDRAM_SIZE CONFIG_BOARD_SDRAM_SIZE 45 + #define CFG_SYS_SDRAM_SIZE CONFIG_BOARD_SDRAM_SIZE 46 46 #else 47 - #define CONFIG_SYS_SDRAM_SIZE 0x10000000 47 + #define CFG_SYS_SDRAM_SIZE 0x10000000 48 48 #endif 49 49 50 - #define CONFIG_SYS_SDRAM_BASE MEMADDR(0x00000000) 50 + #define CFG_SYS_SDRAM_BASE MEMADDR(0x00000000) 51 51 52 52 /* Lx60 can only map 128kb memory (instead of 256kb) when running under OCD */ 53 53 ··· 70 70 #endif 71 71 72 72 #if defined(CONFIG_MAX_MEM_MAPPED) && \ 73 - CONFIG_MAX_MEM_MAPPED < CONFIG_SYS_SDRAM_SIZE 73 + CONFIG_MAX_MEM_MAPPED < CFG_SYS_SDRAM_SIZE 74 74 #define XTENSA_SYS_TEXT_ADDR \ 75 75 (MEMADDR(CONFIG_MAX_MEM_MAPPED) - CONFIG_SYS_MONITOR_LEN) 76 76 #else 77 77 #define XTENSA_SYS_TEXT_ADDR \ 78 - (MEMADDR(CONFIG_SYS_SDRAM_SIZE) - CONFIG_SYS_MONITOR_LEN) 78 + (MEMADDR(CFG_SYS_SDRAM_SIZE) - CONFIG_SYS_MONITOR_LEN) 79 79 #endif 80 80 81 81 /*==============================*/
+2 -2
include/init.h
··· 90 90 * 91 91 * If this is not provided, a default implementation will try to set up a 92 92 * single bank. It will do this if CONFIG_NR_DRAM_BANKS and 93 - * CONFIG_SYS_SDRAM_BASE are set. The bank will have a start address of 94 - * CONFIG_SYS_SDRAM_BASE and the size will be determined by a call to 93 + * CFG_SYS_SDRAM_BASE are set. The bank will have a start address of 94 + * CFG_SYS_SDRAM_BASE and the size will be determined by a call to 95 95 * get_effective_memsize(). 96 96 * 97 97 * Return: 0 if OK, -ve on error
+1 -1
include/system-constants.h
··· 12 12 #define SYS_INIT_SP_ADDR CONFIG_CUSTOM_SYS_INIT_SP_ADDR 13 13 #else 14 14 #ifdef CONFIG_MIPS 15 - #define SYS_INIT_SP_ADDR (CONFIG_SYS_SDRAM_BASE + CONFIG_SYS_INIT_SP_OFFSET) 15 + #define SYS_INIT_SP_ADDR (CFG_SYS_SDRAM_BASE + CONFIG_SYS_INIT_SP_OFFSET) 16 16 #else 17 17 #define SYS_INIT_SP_ADDR \ 18 18 (CONFIG_SYS_INIT_RAM_ADDR + CONFIG_SYS_INIT_RAM_SIZE - GENERATED_GBL_DATA_SIZE)
+1 -1
post/drivers/memory.c
··· 467 467 { 468 468 struct bd_info *bd = gd->bd; 469 469 470 - *vstart = CONFIG_SYS_SDRAM_BASE; 470 + *vstart = CFG_SYS_SDRAM_BASE; 471 471 *size = (gd->ram_size >= 256 << 20 ? 472 472 256 << 20 : gd->ram_size) - (1 << 20); 473 473
+3 -3
test/dm/remoteproc.c
··· 208 208 * at SDRAM_BASE *device* address (p_paddr field). 209 209 * Its size is defined by the p_filesz field. 210 210 */ 211 - phdr->p_paddr = CONFIG_SYS_SDRAM_BASE; 211 + phdr->p_paddr = CFG_SYS_SDRAM_BASE; 212 212 loaded_firmware_size = phdr->p_filesz; 213 213 214 214 /* ··· 231 231 unmap_physmem(loaded_firmware, MAP_NOCACHE); 232 232 233 233 /* Resource table */ 234 - shdr->sh_addr = CONFIG_SYS_SDRAM_BASE; 234 + shdr->sh_addr = CFG_SYS_SDRAM_BASE; 235 235 rsc_table_size = shdr->sh_size; 236 236 237 237 loaded_rsc_table_paddr = shdr->sh_addr + DEVICE_TO_PHYSICAL_OFFSET; ··· 243 243 /* Load and verify */ 244 244 ut_assertok(rproc_elf32_load_rsc_table(dev, (ulong)valid_elf32, size, 245 245 &rsc_addr, &rsc_size)); 246 - ut_asserteq(rsc_addr, CONFIG_SYS_SDRAM_BASE); 246 + ut_asserteq(rsc_addr, CFG_SYS_SDRAM_BASE); 247 247 ut_asserteq(rsc_size, rsc_table_size); 248 248 ut_asserteq_mem(loaded_firmware, valid_elf32 + shdr->sh_offset, 249 249 shdr->sh_size);