/openbmc/u-boot/arch/arm/mach-tegra/ |
H A D | board2.c | 215 if (gd->bd->bi_dram[1].start) { in board_late_init() 221 efi_add_memory_map(gd->bd->bi_dram[1].start, in board_late_init() 222 gd->bd->bi_dram[1].size >> EFI_PAGE_SHIFT, in board_late_init() 330 gd->bd->bi_dram[0].start = CONFIG_SYS_SDRAM_BASE; in dram_init_banksize() 331 gd->bd->bi_dram[0].size = usable_ram_size_below_4g(); in dram_init_banksize() 334 gd->pci_ram_top = gd->bd->bi_dram[0].start + gd->bd->bi_dram[0].size; in dram_init_banksize() 339 gd->bd->bi_dram[1].start = 0x100000000; in dram_init_banksize() 340 gd->bd->bi_dram[1].size = gd->ram_size - SZ_2G; in dram_init_banksize() 344 gd->bd->bi_dram[1].start = 0; in dram_init_banksize() 345 gd->bd->bi_dram[1].size = 0; in dram_init_banksize()
|
/openbmc/u-boot/arch/arm/cpu/armv8/fsl-layerscape/ |
H A D | cpu.c | 1347 if (gd->bd->bi_dram[2].size >= in tfa_dram_init_banksize() 1350 gd->bd->bi_dram[2].size - in tfa_dram_init_banksize() 1355 if (gd->bd->bi_dram[1].size >= in tfa_dram_init_banksize() 1358 gd->bd->bi_dram[1].size - in tfa_dram_init_banksize() 1363 gd->bd->bi_dram[0].size - in tfa_dram_init_banksize() 1410 gd->bd->bi_dram[2].size = gd->bd->bi_dram[1].size - in dram_init_banksize() 1419 if (gd->bd->bi_dram[0].size > in dram_init_banksize() 1421 gd->bd->bi_dram[0].size -= in dram_init_banksize() 1433 if (gd->bd->bi_dram[2].size >= in dram_init_banksize() 1444 gd->bd->bi_dram[1].size - in dram_init_banksize() [all …]
|
/openbmc/u-boot/board/freescale/ls2080a/ |
H A D | ls2080a.c | 40 print_size(gd->bd->bi_dram[0].size + gd->bd->bi_dram[1].size, ""); in detail_board_ddr_info() 43 if (soc_has_dp_ddr() && gd->bd->bi_dram[2].size) { in detail_board_ddr_info() 45 print_size(gd->bd->bi_dram[2].size, ""); in detail_board_ddr_info() 114 base[0] = gd->bd->bi_dram[0].start; in ft_board_setup() 115 size[0] = gd->bd->bi_dram[0].size; in ft_board_setup() 116 base[1] = gd->bd->bi_dram[1].start; in ft_board_setup() 117 size[1] = gd->bd->bi_dram[1].size; in ft_board_setup()
|
/openbmc/u-boot/arch/arm/mach-rockchip/ |
H A D | rk3128-board.c | 49 gd->bd->bi_dram[0].start = CONFIG_SYS_SDRAM_BASE; in dram_init_banksize() 50 gd->bd->bi_dram[0].size = 0x8400000; in dram_init_banksize() 52 gd->bd->bi_dram[1].start = CONFIG_SYS_SDRAM_BASE in dram_init_banksize() 53 + gd->bd->bi_dram[0].size + 0xe00000; in dram_init_banksize() 54 gd->bd->bi_dram[1].size = gd->bd->bi_dram[0].start in dram_init_banksize() 55 + gd->ram_size - gd->bd->bi_dram[1].start; in dram_init_banksize()
|
H A D | rk322x-board.c | 77 gd->bd->bi_dram[0].start = CONFIG_SYS_SDRAM_BASE; in dram_init_banksize() 78 gd->bd->bi_dram[0].size = 0x8400000; in dram_init_banksize() 80 gd->bd->bi_dram[1].start = CONFIG_SYS_SDRAM_BASE in dram_init_banksize() 81 + gd->bd->bi_dram[0].size + 0x200000; in dram_init_banksize() 82 gd->bd->bi_dram[1].size = gd->bd->bi_dram[0].start in dram_init_banksize() 83 + gd->ram_size - gd->bd->bi_dram[1].start; in dram_init_banksize()
|
/openbmc/u-boot/board/samsung/smdkv310/ |
H A D | smdkv310.c | 56 gd->bd->bi_dram[0].start = PHYS_SDRAM_1; in dram_init_banksize() 57 gd->bd->bi_dram[0].size = get_ram_size((long *)PHYS_SDRAM_1, in dram_init_banksize() 59 gd->bd->bi_dram[1].start = PHYS_SDRAM_2; in dram_init_banksize() 60 gd->bd->bi_dram[1].size = get_ram_size((long *)PHYS_SDRAM_2, in dram_init_banksize() 62 gd->bd->bi_dram[2].start = PHYS_SDRAM_3; in dram_init_banksize() 63 gd->bd->bi_dram[2].size = get_ram_size((long *)PHYS_SDRAM_3, in dram_init_banksize() 65 gd->bd->bi_dram[3].start = PHYS_SDRAM_4; in dram_init_banksize() 66 gd->bd->bi_dram[3].size = get_ram_size((long *)PHYS_SDRAM_4, in dram_init_banksize()
|
/openbmc/u-boot/arch/arm/cpu/arm926ejs/armada100/ |
H A D | dram.c | 80 gd->bd->bi_dram[i].start = armd1_sdram_base(i); in dram_init() 81 gd->bd->bi_dram[i].size = armd1_sdram_size(i); in dram_init() 88 if (gd->bd->bi_dram[i].start != gd->ram_size) in dram_init() 91 gd->ram_size += gd->bd->bi_dram[i].size; in dram_init() 100 gd->bd->bi_dram[i].start = 0; in dram_init() 101 gd->bd->bi_dram[i].size = 0; in dram_init()
|
/openbmc/u-boot/arch/arm/mach-imx/imx8/ |
H A D | cpu.c | 297 gd->bd->bi_dram[current_bank].start) { in dram_bank_sort() 301 gd->bd->bi_dram[current_bank - 1].start = in dram_bank_sort() 302 gd->bd->bi_dram[current_bank].start; in dram_bank_sort() 303 gd->bd->bi_dram[current_bank - 1].size = in dram_bank_sort() 304 gd->bd->bi_dram[current_bank].size; in dram_bank_sort() 331 gd->bd->bi_dram[i].start = start; in dram_init_banksize() 334 gd->bd->bi_dram[i].size = in dram_init_banksize() 342 gd->bd->bi_dram[i].start = start; in dram_init_banksize() 345 gd->bd->bi_dram[i].size = in dram_init_banksize() 358 gd->bd->bi_dram[0].start = PHYS_SDRAM_1; in dram_init_banksize() [all …]
|
/openbmc/u-boot/board/hisilicon/hikey/ |
H A D | hikey.c | 463 gd->bd->bi_dram[0].size = 0x05e00000; in dram_init_banksize() 465 gd->bd->bi_dram[1].start = 0x05f00000; in dram_init_banksize() 466 gd->bd->bi_dram[1].size = 0x00001000; in dram_init_banksize() 468 gd->bd->bi_dram[2].start = 0x05f02000; in dram_init_banksize() 469 gd->bd->bi_dram[2].size = 0x00efd000; in dram_init_banksize() 471 gd->bd->bi_dram[3].start = 0x06e00000; in dram_init_banksize() 472 gd->bd->bi_dram[3].size = 0x0060f000; in dram_init_banksize() 474 gd->bd->bi_dram[4].start = 0x07410000; in dram_init_banksize() 475 gd->bd->bi_dram[4].size = 0x1aaf0000; in dram_init_banksize() 477 gd->bd->bi_dram[5].start = 0x22000000; in dram_init_banksize() [all …]
|
/openbmc/u-boot/arch/arm/mach-imx/mx5/ |
H A D | mx53_dram.c | 37 gd->bd->bi_dram[0].start = PHYS_SDRAM_1; in dram_init_banksize() 38 gd->bd->bi_dram[0].size = get_ram_size((void *)PHYS_SDRAM_1, 1 << 30); in dram_init_banksize() 40 gd->bd->bi_dram[1].start = PHYS_SDRAM_2; in dram_init_banksize() 41 gd->bd->bi_dram[1].size = get_ram_size((void *)PHYS_SDRAM_2, 1 << 30); in dram_init_banksize()
|
/openbmc/u-boot/arch/arm/mach-mvebu/ |
H A D | arm64-common.c | 74 gd->bd->bi_dram[0].start = CONFIG_SYS_SDRAM_BASE; in a8k_dram_init_banksize() 76 gd->bd->bi_dram[0].size = gd->ram_size; in a8k_dram_init_banksize() 80 gd->bd->bi_dram[0].size = max_bank0_size; in a8k_dram_init_banksize() 82 gd->bd->bi_dram[1].start = SZ_4G; in a8k_dram_init_banksize() 83 gd->bd->bi_dram[1].size = gd->ram_size - max_bank0_size; in a8k_dram_init_banksize()
|
/openbmc/u-boot/board/ti/am65x/ |
H A D | evm.c | 46 gd->bd->bi_dram[0].start = CONFIG_SYS_SDRAM_BASE; in dram_init_banksize() 47 gd->bd->bi_dram[0].size = 0x80000000; in dram_init_banksize() 51 gd->bd->bi_dram[1].start = CONFIG_SYS_SDRAM_BASE1; in dram_init_banksize() 52 gd->bd->bi_dram[1].size = 0x80000000; in dram_init_banksize()
|
/openbmc/u-boot/board/broadcom/bcmns2/ |
H A D | northstar2.c | 47 gd->bd->bi_dram[0].start = CONFIG_SYS_SDRAM_BASE; in dram_init_banksize() 48 gd->bd->bi_dram[0].size = PHYS_SDRAM_1_SIZE; in dram_init_banksize() 50 gd->bd->bi_dram[1].start = CONFIG_SYS_SDRAM_BASE + PHYS_SDRAM_1_SIZE; in dram_init_banksize() 51 gd->bd->bi_dram[1].size = PHYS_SDRAM_2_SIZE; in dram_init_banksize()
|
/openbmc/u-boot/arch/arm/mach-uniphier/ |
H A D | fdt-fixup.c | 31 for (i = 0; i < ARRAY_SIZE(bd->bi_dram); i++) { in uniphier_ld20_fdt_mem_rsv() 32 if (!bd->bi_dram[i].size) in uniphier_ld20_fdt_mem_rsv() 35 rsv_addr = bd->bi_dram[i].start + bd->bi_dram[i].size; in uniphier_ld20_fdt_mem_rsv()
|
/openbmc/u-boot/common/init/ |
H A D | handoff.c | 22 ho->ram_bank[i].start = bd->bi_dram[i].start; in handoff_save_dram() 23 ho->ram_bank[i].size = bd->bi_dram[i].size; in handoff_save_dram() 42 bd->bi_dram[i].start = ho->ram_bank[i].start; in handoff_load_dram_banks() 43 bd->bi_dram[i].size = ho->ram_bank[i].size; in handoff_load_dram_banks()
|
/openbmc/u-boot/board/freescale/ls2080aqds/ |
H A D | ls2080aqds.c | 263 print_size(gd->bd->bi_dram[0].size + gd->bd->bi_dram[1].size, ""); in detail_board_ddr_info() 266 if (soc_has_dp_ddr() && gd->bd->bi_dram[2].size) { in detail_board_ddr_info() 268 print_size(gd->bd->bi_dram[2].size, ""); in detail_board_ddr_info() 319 base[0] = gd->bd->bi_dram[0].start; in ft_board_setup() 320 size[0] = gd->bd->bi_dram[0].size; in ft_board_setup() 321 base[1] = gd->bd->bi_dram[1].start; in ft_board_setup() 322 size[1] = gd->bd->bi_dram[1].size; in ft_board_setup()
|
/openbmc/u-boot/board/AndesTech/adp-ag101p/ |
H A D | adp-ag101p.c | 57 gd->bd->bi_dram[0].start = PHYS_SDRAM_0; in dram_init_banksize() 58 gd->bd->bi_dram[0].size = PHYS_SDRAM_0_SIZE; in dram_init_banksize() 59 gd->bd->bi_dram[1].start = PHYS_SDRAM_1; in dram_init_banksize() 60 gd->bd->bi_dram[1].size = PHYS_SDRAM_1_SIZE; in dram_init_banksize()
|
/openbmc/u-boot/board/AndesTech/adp-ae3xx/ |
H A D | adp-ae3xx.c | 50 gd->bd->bi_dram[0].start = PHYS_SDRAM_0; in dram_init_banksize() 51 gd->bd->bi_dram[0].size = PHYS_SDRAM_0_SIZE; in dram_init_banksize() 52 gd->bd->bi_dram[1].start = PHYS_SDRAM_1; in dram_init_banksize() 53 gd->bd->bi_dram[1].size = PHYS_SDRAM_1_SIZE; in dram_init_banksize()
|
/openbmc/u-boot/board/samsung/goni/ |
H A D | goni.c | 57 gd->bd->bi_dram[0].start = PHYS_SDRAM_1; in dram_init_banksize() 58 gd->bd->bi_dram[0].size = PHYS_SDRAM_1_SIZE; in dram_init_banksize() 59 gd->bd->bi_dram[1].start = PHYS_SDRAM_2; in dram_init_banksize() 60 gd->bd->bi_dram[1].size = PHYS_SDRAM_2_SIZE; in dram_init_banksize() 61 gd->bd->bi_dram[2].start = PHYS_SDRAM_3; in dram_init_banksize() 62 gd->bd->bi_dram[2].size = PHYS_SDRAM_3_SIZE; in dram_init_banksize()
|
/openbmc/u-boot/board/armltd/vexpress64/ |
H A D | vexpress64.c | 74 gd->bd->bi_dram[0].start = PHYS_SDRAM_1; in dram_init_banksize() 75 gd->bd->bi_dram[0].size = PHYS_SDRAM_1_SIZE; in dram_init_banksize() 77 gd->bd->bi_dram[1].start = PHYS_SDRAM_2; in dram_init_banksize() 78 gd->bd->bi_dram[1].size = PHYS_SDRAM_2_SIZE; in dram_init_banksize()
|
/openbmc/u-boot/board/AndesTech/ax25-ae350/ |
H A D | ax25-ae350.c | 48 gd->bd->bi_dram[0].start = PHYS_SDRAM_0; in dram_init_banksize() 49 gd->bd->bi_dram[0].size = PHYS_SDRAM_0_SIZE; in dram_init_banksize() 50 gd->bd->bi_dram[1].start = PHYS_SDRAM_1; in dram_init_banksize() 51 gd->bd->bi_dram[1].size = PHYS_SDRAM_1_SIZE; in dram_init_banksize()
|
/openbmc/u-boot/arch/arm/mach-rockchip/rk3328/ |
H A D | rk3328.c | 40 gd->bd->bi_dram[0].start = 0x200000; in dram_init_banksize() 41 gd->bd->bi_dram[0].size = max_size - gd->bd->bi_dram[0].start; in dram_init_banksize()
|
/openbmc/u-boot/board/compulab/cm_fx6/ |
H A D | cm_fx6.c | 665 gd->bd->bi_dram[0].size = 0x10000000; in dram_init_banksize() 666 gd->bd->bi_dram[1].size = 0; in dram_init_banksize() 669 gd->bd->bi_dram[0].size = 0x20000000; in dram_init_banksize() 670 gd->bd->bi_dram[1].size = 0; in dram_init_banksize() 674 gd->bd->bi_dram[0].size = 0x20000000; in dram_init_banksize() 675 gd->bd->bi_dram[1].size = 0x20000000; in dram_init_banksize() 678 gd->bd->bi_dram[1].size = 0; in dram_init_banksize() 682 gd->bd->bi_dram[0].size = 0x40000000; in dram_init_banksize() 683 gd->bd->bi_dram[1].size = 0x40000000; in dram_init_banksize() 686 gd->bd->bi_dram[0].size = 0x70000000; in dram_init_banksize() [all …]
|
/openbmc/u-boot/arch/arm/mach-rockchip/rk3399/ |
H A D | rk3399.c | 42 gd->bd->bi_dram[0].start = 0x200000; in dram_init_banksize() 43 gd->bd->bi_dram[0].size = max_size - gd->bd->bi_dram[0].start; in dram_init_banksize()
|
/openbmc/u-boot/arch/arm/mach-orion5x/ |
H A D | dram.c | 49 gd->bd->bi_dram[i].start = orion5x_sdram_bar(i); in dram_init_banksize() 50 gd->bd->bi_dram[i].size = get_ram_size( in dram_init_banksize() 51 (long *) (gd->bd->bi_dram[i].start), in dram_init_banksize()
|