Home
last modified time | relevance | path

Searched refs:bi_dram (Results 1 – 25 of 138) sorted by relevance

123456

/openbmc/u-boot/arch/arm/mach-tegra/
H A Dboard2.c215 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 Dcpu.c1347 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 Dls2080a.c40 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 Drk3128-board.c49 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 Drk322x-board.c77 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 Dsmdkv310.c56 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 Ddram.c80 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 Dcpu.c297 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 Dhikey.c463 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 Dmx53_dram.c37 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 Darm64-common.c74 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 Devm.c46 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 Dnorthstar2.c47 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 Dfdt-fixup.c31 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 Dhandoff.c22 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 Dls2080aqds.c263 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 Dadp-ag101p.c57 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 Dadp-ae3xx.c50 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 Dgoni.c57 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 Dvexpress64.c74 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 Dax25-ae350.c48 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 Drk3328.c40 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 Dcm_fx6.c665 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 Drk3399.c42 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 Ddram.c49 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()

123456