Lines Matching defs:size
191 NOTICE("BL2: Cannot append FCNL reg size prop (ret=%i)\n", ret);
434 fdt_setprop_u32(dt, 0, "#size-cells", 2);
496 static int bl2_add_memory_node(uint64_t start, uint64_t size)
502 fdtsize = cpu_to_fdt64(size);
526 uint64_t start, size;
531 size = dram_config[2 * chan + 1];
532 if (size == 0U) {
537 chan, start, start + size - 1U,
538 (size >> 30) ? : size >> 20,
539 (size >> 30) ? "G" : "M");
550 size = dram_config[2 * chan + 1];
551 if (size == 0U) {
561 * Maximum DDR size in Channel 0 for 32 bit space is 2GB, Add DT node
564 if (size > MAX_DRAM_SIZE_CH0_32BIT_ADDR_SPACE) {
566 size -= MAX_DRAM_SIZE_CH0_32BIT_ADDR_SPACE;
567 ret = bl2_add_memory_node(start, size);
573 size -= 0x8000000U;
576 ret = bl2_add_memory_node(start, size);