Home
last modified time | relevance | path

Searched refs:ddr_size (Results 1 – 17 of 17) sorted by relevance

/u-boot/board/gateworks/venice/
A Dimx8mm_venice.c23 int ddr_size = readl(M4_BOOTROM_BASE_ADDR); in board_phys_sdram_size() local
25 if (ddr_size == 0x4) { in board_phys_sdram_size()
27 } else if (ddr_size == 0x3) { in board_phys_sdram_size()
29 } else if (ddr_size == 0x2) { in board_phys_sdram_size()
31 } else if (ddr_size == 0x1) { in board_phys_sdram_size()
/u-boot/board/freescale/mpc832xemds/
A Dmpc832xemds.c122 u32 ddr_size; in fixed_sdram() local
126 for (ddr_size = msize << 20, ddr_size_log2 = 0; in fixed_sdram()
127 (ddr_size > 1); ddr_size = ddr_size >> 1, ddr_size_log2++) { in fixed_sdram()
128 if (ddr_size & 1) { in fixed_sdram()
/u-boot/board/freescale/corenet_ds/
A Dddr.c34 phys_size_t ddr_size; in fixed_sdram() local
58 ddr_size = (phys_size_t) CONFIG_SYS_SDRAM_SIZE * 1024 * 1024; in fixed_sdram()
76 ddr_size, in fixed_sdram()
86 ddr_size / 2, in fixed_sdram()
92 if (set_ddr_laws(CONFIG_SYS_DDR_SDRAM_BASE + ddr_size / 2, in fixed_sdram()
93 ddr_size / 2, in fixed_sdram()
101 ddr_size, in fixed_sdram()
108 return ddr_size; in fixed_sdram()
/u-boot/board/technexion/pico-imx8mq/
A Dpico-imx8mq.c57 int ddr_size = readl(M4_BOOTROM_BASE_ADDR); in board_phys_sdram_size() local
59 if (ddr_size == 0x4) { in board_phys_sdram_size()
61 } else if (ddr_size == 0x3) { in board_phys_sdram_size()
63 } else if (ddr_size == 0x2) { in board_phys_sdram_size()
65 } else if (ddr_size == 0x1) { in board_phys_sdram_size()
/u-boot/board/freescale/p1010rdb/
A Dddr.c85 phys_size_t ddr_size; in get_sdram_size() local
90 ddr_size = (CONFIG_SYS_DRAM_SIZE / 2); in get_sdram_size()
92 ddr_size = CONFIG_SYS_DRAM_SIZE; in get_sdram_size()
94 return ddr_size; in get_sdram_size()
105 phys_size_t ddr_size; in fixed_sdram() local
142 ddr_size = (phys_size_t) CONFIG_SYS_SDRAM_SIZE * 1024 * 1024; in fixed_sdram()
145 if (set_ddr_laws(CONFIG_SYS_DDR_SDRAM_BASE, ddr_size, in fixed_sdram()
151 return ddr_size; in fixed_sdram()
/u-boot/board/freescale/mpc8323erdb/
A Dmpc8323erdb.c106 u32 ddr_size; in fixed_sdram() local
110 for (ddr_size = msize << 20, ddr_size_log2 = 0; in fixed_sdram()
111 (ddr_size > 1); ddr_size = ddr_size >> 1, ddr_size_log2++) { in fixed_sdram()
112 if (ddr_size & 1) { in fixed_sdram()
/u-boot/board/cortina/presidio-asic/
A Dpresidio.c111 unsigned int ddr_size; in dram_init() local
113 ddr_size = readl(0x111100c); in dram_init()
114 gd->ram_size = ddr_size * 0x100000; in dram_init()
/u-boot/board/keymile/km83xx/
A Dkm83xx.c123 u32 ddr_size; in fixed_sdram() local
148 for (ddr_size = msize << 20, ddr_size_log2 = 0; in fixed_sdram()
149 (ddr_size > 1); in fixed_sdram()
150 ddr_size = ddr_size >> 1, ddr_size_log2++) in fixed_sdram()
151 if (ddr_size & 1) in fixed_sdram()
/u-boot/board/Arcturus/ucp1020/
A Dddr.c81 size_t ddr_size; in fixed_sdram() local
118 ddr_size = CONFIG_SYS_SDRAM_SIZE * 1024 * 1024; in fixed_sdram()
123 ddr_size, LAW_TRGT_IF_DDR_1) < 0) { in fixed_sdram()
128 return ddr_size; in fixed_sdram()
/u-boot/board/freescale/p1_p2_rdb_pc/
A Dddr.c210 size_t ddr_size; in fixed_sdram() local
247 ddr_size = CONFIG_SYS_SDRAM_SIZE * 1024 * 1024; in fixed_sdram()
252 ddr_size, LAW_TRGT_IF_DDR_1) < 0) { in fixed_sdram()
257 return ddr_size; in fixed_sdram()
/u-boot/board/freescale/ls1043ardb/
A Dddr.c181 phys_size_t ddr_size; in fixed_sdram() local
204 ddr_size = (phys_size_t)2048 * 1024 * 1024; in fixed_sdram()
207 return ddr_size; in fixed_sdram()
/u-boot/drivers/ram/sifive/
A Dfu540_ddr.c238 const u64 ddr_size = priv->info.size; in fu540_ddr_setup() local
239 const u64 ddr_end = priv->info.base + ddr_size; in fu540_ddr_setup()
317 ddr_size); in fu540_ddr_setup()
322 if (priv->info.size != ddr_size) { in fu540_ddr_setup()
324 (uintptr_t)priv->info.size, (uintptr_t)ddr_size); in fu540_ddr_setup()
/u-boot/board/freescale/mpc8349emds/
A Dmpc8349emds.c96 u32 ddr_size = msize << 20; /* DDR size in bytes */ in fixed_sdram() local
97 u32 ddr_size_log2 = __ilog2(ddr_size); in fixed_sdram()
125 (((CONFIG_SYS_SDRAM_BASE + ddr_size - 1) >> in fixed_sdram()
/u-boot/board/freescale/mpc8349itx/
A Dmpc8349itx.c41 u32 ddr_size = CONFIG_SYS_DDR_SIZE << 20; in fixed_sdram() local
42 u32 ddr_size_log2 = __ilog2(ddr_size); in fixed_sdram()
53 (((CONFIG_SYS_SDRAM_BASE + ddr_size - 1) >> in fixed_sdram()
/u-boot/board/sbc8349/
A Dsbc8349.c84 u32 ddr_size = msize << 20; /* DDR size in bytes */ in fixed_sdram() local
99 (((CONFIG_SYS_SDRAM_BASE + ddr_size - 1) >> in fixed_sdram()
/u-boot/board/variscite/dart_6ul/
A Ddart_6ul.c177 u8 ddr_size; member
257 DART6UL_DDRSIZE(info->ddr_size) / SZ_1M, in checkboard()
/u-boot/board/freescale/lx2160a/
A Dlx2160a.c634 u64 ddr_size = 0; in detail_board_ddr_info() local
638 ddr_size += gd->bd->bi_dram[i].size; in detail_board_ddr_info()
639 print_size(ddr_size, ""); in detail_board_ddr_info()

Completed in 14 milliseconds