Home
last modified time | relevance | path

Searched refs:dram_size (Results 1 – 25 of 57) 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.c265 phys_size_t dram_size; in dram_init() local
271 dram_size = fsl_ddr_sdram(); in dram_init()
274 dram_size = fixed_sdram(); in dram_init()
277 dram_size = setup_ddr_tlbs(dram_size / 0x100000); in dram_init()
278 dram_size *= 0x100000; in dram_init()
281 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.c85 ssize_t dram_size; in dram_init() local
93 dram_size = atf_dram_size(node); in dram_init()
94 printf("Node %d: %zd MBytes of DRAM\n", node, dram_size >> 20); in dram_init()
95 gd->ram_size += dram_size; in dram_init()
/external/u-boot/board/atmel/common/
Dvideo_display.c23 ulong dram_size, nand_size; in at91_video_show_board_info() local
40 dram_size = 0; in at91_video_show_board_info()
42 dram_size += gd->bd->bi_dram[i].size; in at91_video_show_board_info()
51 dram_size >> 20, nand_size >> 20); in at91_video_show_board_info()
/external/u-boot/board/freescale/mpc8641hpcn/
Dmpc8641hpcn.c44 phys_size_t dram_size = 0; in dram_init() local
47 dram_size = fsl_ddr_sdram(); in dram_init()
49 dram_size = fixed_sdram(); in dram_init()
52 setup_ddr_bat(dram_size); in dram_init()
55 gd->ram_size = dram_size; in dram_init()
/external/u-boot/board/xes/xpedite517x/
Dxpedite517x.c63 phys_size_t dram_size = fsl_ddr_sdram(); in dram_init() local
67 ddr_enable_ecc(dram_size); in dram_init()
70 gd->ram_size = dram_size; in dram_init()
/external/u-boot/board/freescale/ls1043ardb/
Dddr.c224 phys_size_t dram_size; in fsl_initdram() local
229 dram_size = fsl_ddr_sdram(); in fsl_initdram()
231 dram_size = fsl_ddr_sdram_size(); in fsl_initdram()
236 dram_size = fixed_sdram(); in fsl_initdram()
249 gd->ram_size = dram_size; in fsl_initdram()
/external/u-boot/board/atmel/at91sam9rlek/
Dat91sam9rlek.c136 ulong dram_size, nand_size; in lcd_show_board_info() local
147 dram_size = 0; in lcd_show_board_info()
149 dram_size += gd->bd->bi_dram[i].size; in lcd_show_board_info()
154 dram_size >> 20, in lcd_show_board_info()
/external/u-boot/arch/powerpc/cpu/mpc86xx/
Dcpu.c190 void setup_ddr_bat(phys_addr_t dram_size) in setup_ddr_bat() argument
194 bl = TO_BATU_BL(min(dram_size, CONFIG_MAX_MEM_MAPPED)); in setup_ddr_bat()
196 if (BATU_SIZE(bl) != dram_size) { in setup_ddr_bat()
197 u64 sz = (u64)dram_size - BATU_SIZE(bl); in setup_ddr_bat()
/external/u-boot/board/freescale/mpc8610hpcd/
Dmpc8610hpcd.c123 phys_size_t dram_size = 0; in dram_init() local
126 dram_size = fsl_ddr_sdram(); in dram_init()
128 dram_size = fixed_sdram(); in dram_init()
131 setup_ddr_bat(dram_size); in dram_init()
134 gd->ram_size = dram_size; in dram_init()
/external/u-boot/board/atmel/at91sam9263ek/
Dat91sam9263ek.c144 ulong dram_size, nand_size; in lcd_show_board_info() local
158 dram_size = 0; in lcd_show_board_info()
160 dram_size += gd->bd->bi_dram[i].size; in lcd_show_board_info()
170 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()
184 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/board/freescale/ls1046ardb/
Dddr.c113 phys_size_t dram_size; in fsl_initdram() local
122 dram_size = fsl_ddr_sdram(); in fsl_initdram()
127 gd->ram_size = dram_size; in fsl_initdram()

123