Home
last modified time | relevance | path

Searched refs:dram_size (Results 1 – 25 of 52) sorted by relevance

123

/external/u-boot/board/keymile/kmp204x/
Dddr.c54 phys_size_t dram_size = 0; in dram_init() local
58 dram_size = fsl_ddr_sdram(); in dram_init()
60 dram_size = setup_ddr_tlbs(dram_size / 0x100000); in dram_init()
61 dram_size *= 0x100000; in dram_init()
64 gd->ram_size = dram_size; in dram_init()
/external/u-boot/board/freescale/t4rdb/
Dddr.c109 phys_size_t dram_size; in dram_init() local
114 dram_size = fsl_ddr_sdram(); in dram_init()
117 dram_size = fsl_ddr_sdram_size(); in dram_init()
119 dram_size = setup_ddr_tlbs(dram_size / 0x100000); in dram_init()
120 dram_size *= 0x100000; in dram_init()
122 gd->ram_size = dram_size; in dram_init()
/external/u-boot/board/freescale/t208xrdb/
Dddr.c101 phys_size_t dram_size; in dram_init() local
105 dram_size = fsl_ddr_sdram(); in dram_init()
108 dram_size = fsl_ddr_sdram_size(); in dram_init()
110 dram_size = setup_ddr_tlbs(dram_size / 0x100000); in dram_init()
111 dram_size *= 0x100000; in dram_init()
113 gd->ram_size = dram_size; in dram_init()
/external/u-boot/board/freescale/t208xqds/
Dddr.c108 phys_size_t dram_size; in dram_init() local
112 dram_size = fsl_ddr_sdram(); in dram_init()
115 dram_size = fsl_ddr_sdram_size(); in dram_init()
117 dram_size = setup_ddr_tlbs(dram_size / 0x100000); in dram_init()
118 dram_size *= 0x100000; in dram_init()
120 gd->ram_size = dram_size; in dram_init()
/external/u-boot/board/freescale/t104xrdb/
Dddr.c124 phys_size_t dram_size; in dram_init() local
128 dram_size = fsl_ddr_sdram(); in dram_init()
130 dram_size = fsl_ddr_sdram_size(); in dram_init()
132 dram_size = setup_ddr_tlbs(dram_size / 0x100000); in dram_init()
133 dram_size *= 0x100000; in dram_init()
139 gd->ram_size = dram_size; in dram_init()
/external/u-boot/board/freescale/t4qds/
Dddr.c116 phys_size_t dram_size; in dram_init() local
121 dram_size = fsl_ddr_sdram(); in dram_init()
124 dram_size = fsl_ddr_sdram_size(); in dram_init()
126 dram_size = setup_ddr_tlbs(dram_size / 0x100000); in dram_init()
127 dram_size *= 0x100000; in dram_init()
129 gd->ram_size = dram_size; in dram_init()
/external/u-boot/board/freescale/p2041rdb/
Dddr.c122 phys_size_t dram_size = 0; in dram_init() local
128 dram_size = fsl_ddr_sdram(); in dram_init()
134 dram_size = setup_ddr_tlbs(dram_size / 0x100000); in dram_init()
135 dram_size *= 0x100000; in dram_init()
138 gd->ram_size = dram_size; in dram_init()
/external/u-boot/board/freescale/t102xqds/
Dddr.c173 phys_size_t dram_size; in dram_init() local
177 dram_size = fsl_ddr_sdram(); in dram_init()
180 dram_size = fsl_ddr_sdram_size(); in dram_init()
182 dram_size = setup_ddr_tlbs(dram_size / 0x100000); in dram_init()
183 dram_size *= 0x100000; in dram_init()
189 gd->ram_size = dram_size; in dram_init()
/external/u-boot/board/varisys/cyrus/
Dddr.c172 phys_size_t dram_size; in dram_init() local
180 dram_size = fsl_ddr_sdram(); in dram_init()
182 dram_size = setup_ddr_tlbs(dram_size / 0x100000); in dram_init()
183 dram_size *= 0x100000; in dram_init()
186 gd->ram_size = dram_size; in dram_init()
/external/u-boot/board/freescale/t1040qds/
Dddr.c121 phys_size_t dram_size; in dram_init() local
125 dram_size = fsl_ddr_sdram(); in dram_init()
127 dram_size = setup_ddr_tlbs(dram_size / 0x100000); in dram_init()
128 dram_size *= 0x100000; in dram_init()
136 gd->ram_size = dram_size; in dram_init()
/external/u-boot/board/freescale/corenet_ds/
Dddr.c264 phys_size_t dram_size; in dram_init() local
270 dram_size = fsl_ddr_sdram(); in dram_init()
273 dram_size = fixed_sdram(); in dram_init()
276 dram_size = setup_ddr_tlbs(dram_size / 0x100000); in dram_init()
277 dram_size *= 0x100000; in dram_init()
280 gd->ram_size = dram_size; in dram_init()
/external/u-boot/board/freescale/t102xrdb/
Dddr.c233 phys_size_t dram_size; in dram_init() local
239 dram_size = fsl_ddr_sdram(); in dram_init()
242 dram_size = fsl_ddr_sdram_size(); in dram_init()
244 dram_size = setup_ddr_tlbs(dram_size / 0x100000); in dram_init()
245 dram_size *= 0x100000; in dram_init()
251 gd->ram_size = dram_size; in dram_init()
/external/u-boot/board/freescale/b4860qds/
Dddr.c180 phys_size_t dram_size; in dram_init() local
184 dram_size = fsl_ddr_sdram(); in dram_init()
186 dram_size = fsl_ddr_sdram_size(); in dram_init()
188 dram_size = setup_ddr_tlbs(dram_size / 0x100000); in dram_init()
189 dram_size *= 0x100000; in dram_init()
191 gd->ram_size = dram_size; in dram_init()
/external/u-boot/board/cavium/thunderx/
Dthunderx.c84 ssize_t dram_size; in dram_init() local
92 dram_size = atf_dram_size(node); in dram_init()
93 printf("Node %d: %zd MBytes of DRAM\n", node, dram_size >> 20); in dram_init()
94 gd->ram_size += dram_size; in dram_init()
/external/u-boot/board/atmel/common/
Dvideo_display.c21 ulong dram_size, nand_size; in at91_video_show_board_info() local
38 dram_size = 0; in at91_video_show_board_info()
40 dram_size += gd->bd->bi_dram[i].size; in at91_video_show_board_info()
49 dram_size >> 20, nand_size >> 20); in at91_video_show_board_info()
/external/u-boot/board/freescale/mpc8641hpcn/
Dmpc8641hpcn.c43 phys_size_t dram_size = 0; in dram_init() local
46 dram_size = fsl_ddr_sdram(); in dram_init()
48 dram_size = fixed_sdram(); in dram_init()
51 setup_ddr_bat(dram_size); in dram_init()
54 gd->ram_size = dram_size; in dram_init()
/external/u-boot/board/freescale/ls1043ardb/
Dddr.c210 phys_size_t dram_size; in fsl_initdram() local
215 dram_size = fsl_ddr_sdram(); in fsl_initdram()
217 dram_size = fsl_ddr_sdram_size(); in fsl_initdram()
222 dram_size = fixed_sdram(); in fsl_initdram()
235 gd->ram_size = dram_size; in fsl_initdram()
/external/u-boot/board/xes/xpedite517x/
Dxpedite517x.c62 phys_size_t dram_size = fsl_ddr_sdram(); in dram_init() local
66 ddr_enable_ecc(dram_size); in dram_init()
69 gd->ram_size = dram_size; in dram_init()
/external/u-boot/board/freescale/mpc8610hpcd/
Dmpc8610hpcd.c122 phys_size_t dram_size = 0; in dram_init() local
125 dram_size = fsl_ddr_sdram(); in dram_init()
127 dram_size = fixed_sdram(); in dram_init()
130 setup_ddr_bat(dram_size); in dram_init()
133 gd->ram_size = dram_size; in dram_init()
/external/u-boot/arch/powerpc/cpu/mpc86xx/
Dcpu.c188 void setup_ddr_bat(phys_addr_t dram_size) in setup_ddr_bat() argument
192 bl = TO_BATU_BL(min(dram_size, CONFIG_MAX_MEM_MAPPED)); in setup_ddr_bat()
194 if (BATU_SIZE(bl) != dram_size) { in setup_ddr_bat()
195 u64 sz = (u64)dram_size - BATU_SIZE(bl); in setup_ddr_bat()
/external/u-boot/board/atmel/at91sam9rlek/
Dat91sam9rlek.c135 ulong dram_size, nand_size; in lcd_show_board_info() local
146 dram_size = 0; in lcd_show_board_info()
148 dram_size += gd->bd->bi_dram[i].size; in lcd_show_board_info()
153 dram_size >> 20, in lcd_show_board_info()
/external/u-boot/board/atmel/at91sam9263ek/
Dat91sam9263ek.c143 ulong dram_size, nand_size; in lcd_show_board_info() local
157 dram_size = 0; in lcd_show_board_info()
159 dram_size += gd->bd->bi_dram[i].size; in lcd_show_board_info()
169 dram_size >> 20, in lcd_show_board_info()
/external/u-boot/board/freescale/ls1021aqds/
Dddr.c169 phys_size_t dram_size; in fsl_initdram() local
173 dram_size = fsl_ddr_sdram(); in fsl_initdram()
175 dram_size = fsl_ddr_sdram_size(); in fsl_initdram()
182 gd->ram_size = dram_size; in fsl_initdram()
/external/u-boot/arch/arm/mach-sunxi/
Ddram_sun4i.c694 unsigned long dram_size, actual_density; in dramc_init() local
715 dram_size = dramc_init_helper(para); in dramc_init()
716 if (!dram_size) { in dramc_init()
719 dram_size = dramc_init_helper(para); in dramc_init()
720 if (!dram_size) { in dramc_init()
722 return dram_size; in dramc_init()
727 actual_density = (dram_size >> 17) * para->io_width / para->bus_width; in dramc_init()
732 dram_size = dramc_init_helper(para); in dramc_init()
735 return dram_size; in dramc_init()
/external/u-boot/arch/powerpc/cpu/mpc85xx/
Dcpu.c418 phys_size_t dram_size = 0; in dram_init() local
445 dram_size = fsl_ddr_sdram(); in dram_init()
447 dram_size = fixed_sdram(); in dram_init()
449 dram_size = setup_ddr_tlbs(dram_size / 0x100000); in dram_init()
450 dram_size *= 0x100000; in dram_init()
456 ddr_enable_ecc(dram_size); in dram_init()
465 gd->ram_size = dram_size; in dram_init()

123