Lines Matching defs:memory
63 /* This may be in read-only memory, so can't be manipulated directly. */
71 /* This won't be set if FDT is loaded from disk or memory. */
217 command_errmsg = "can't allocate memory for device tree copy";
244 command_errmsg = "can't allocate memory for device tree copy";
296 /* If we were given the address of a valid blob in memory, use it. */
299 printf("Using DTB from memory address 0x%08X.\n",
468 int err, i, len, memory, root;
480 memory = fdt_path_offset(fdtp, "/memory");
481 if (memory <= 0) {
482 /* Create proper '/memory' node. */
483 memory = fdt_add_subnode(fdtp, root, "memory");
484 if (memory <= 0) {
485 sprintf(command_errbuf, "Could not fixup '/memory' "
486 "node, error code : %d!\n", memory);
490 err = fdt_setprop(fdtp, memory, "device_type", "memory",
491 sizeof("memory"));
502 sprintf(command_errbuf, "Could not fixup '/memory' node : "
557 /* Count valid memory regions entries in sysinfo. */
564 sprintf(command_errbuf, "Could not fixup '/memory' node : "
565 "sysinfo doesn't contain valid memory regions info!\n");
600 if ((err = fdt_setprop(fdtp, memory, "reg", sb, len)) < 0)
601 sprintf(command_errbuf, "Could not fixup '/memory' node.\n");
980 * Calculate the length for the string and allocate memory.
1047 * Calculate the length for the string and allocate memory.
1098 * Calculate the length for the string and allocate memory.
1556 pager_output("Reserved memory regions:\n");
1564 pager_output("No reserved memory regions\n");