Home
last modified time | relevance | path

Searched refs:ddr_size_log2 (Results 1 – 6 of 6) sorted by relevance

/openbmc/u-boot/board/freescale/mpc832xemds/
H A Dmpc832xemds.c119 u32 ddr_size_log2; in fixed_sdram() local
122 for (ddr_size = msize << 20, ddr_size_log2 = 0; in fixed_sdram()
123 (ddr_size > 1); ddr_size = ddr_size >> 1, ddr_size_log2++) { in fixed_sdram()
129 LAWAR_EN | ((ddr_size_log2 - 1) & LAWAR_SIZE); in fixed_sdram()
/openbmc/u-boot/board/freescale/mpc8323erdb/
H A Dmpc8323erdb.c100 u32 ddr_size_log2; in fixed_sdram() local
103 for (ddr_size = msize << 20, ddr_size_log2 = 0; in fixed_sdram()
104 (ddr_size > 1); ddr_size = ddr_size >> 1, ddr_size_log2++) { in fixed_sdram()
110 LAWAR_EN | ((ddr_size_log2 - 1) & LAWAR_SIZE); in fixed_sdram()
/openbmc/u-boot/board/keymile/km83xx/
H A Dkm83xx.c294 u32 ddr_size_log2; in fixed_sdram() local
318 for (ddr_size = msize << 20, ddr_size_log2 = 0; in fixed_sdram()
320 ddr_size = ddr_size >> 1, ddr_size_log2++) in fixed_sdram()
324 (LAWAR_EN | ((ddr_size_log2 - 1) & LAWAR_SIZE))); in fixed_sdram()
/openbmc/u-boot/board/sbc8349/
H A Dsbc8349.c80 u32 ddr_size_log2 = __ilog2(msize); in fixed_sdram() local
83 im->sysconf.ddrlaw[0].ar = LAWAR_EN | ((ddr_size_log2 - 1) & LAWAR_SIZE); in fixed_sdram()
/openbmc/u-boot/board/freescale/mpc8349emds/
H A Dmpc8349emds.c92 u32 ddr_size_log2 = __ilog2(ddr_size); in fixed_sdram() local
95 im->sysconf.ddrlaw[0].ar = LAWAR_EN | ((ddr_size_log2 - 1) & LAWAR_SIZE); in fixed_sdram()
/openbmc/u-boot/board/freescale/mpc8349itx/
H A Dmpc8349itx.c33 u32 ddr_size_log2 = __ilog2(ddr_size); in fixed_sdram() local
36 LAWAR_EN | ((ddr_size_log2 - 1) & LAWAR_SIZE); in fixed_sdram()