/u-boot/board/gateworks/venice/ |
A D | imx8mm_venice.c | 23 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 D | mpc832xemds.c | 122 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 D | ddr.c | 34 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 D | pico-imx8mq.c | 57 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 D | ddr.c | 85 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 D | mpc8323erdb.c | 106 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 D | presidio.c | 111 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 D | km83xx.c | 123 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 D | ddr.c | 81 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 D | ddr.c | 210 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 D | ddr.c | 181 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 D | fu540_ddr.c | 238 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 D | mpc8349emds.c | 96 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 D | mpc8349itx.c | 41 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 D | sbc8349.c | 84 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 D | dart_6ul.c | 177 u8 ddr_size; member 257 DART6UL_DDRSIZE(info->ddr_size) / SZ_1M, in checkboard()
|
/u-boot/board/freescale/lx2160a/ |
A D | lx2160a.c | 634 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()
|