string "Core version number"
default "7.10.d"
+config BOOT_SCRIPT_OFFSET
+ hex "Boot script offset"
+ default 0xFC0000
+ help
+ Specifies distro boot script offset in NAND/QSPI flash.
endif
lowmem_size));
status |= env_set_addr("fdt_high", (void *)min_t(ulong, max_size,
lowmem_size));
+
+ status |= env_set_hex("scriptaddr", max_size + SZ_2M);
+
+ status |= env_set_hex("pxefile_addr_r", max_size + SZ_1M);
+
+ status |= env_set_hex("kernel_addr_r", gd->ram_base + SZ_32M);
+
+ status |= env_set_hex("fdt_addr_r", gd->ram_base + SZ_32M - SZ_1M);
+
+ status |= env_set_hex("ramdisk_addr_r",
+ gd->ram_base + SZ_32M + SZ_4M + SZ_2M);
+
+ status |= env_set_hex("script_offset_f", CONFIG_BOOT_SCRIPT_OFFSET);
+
if (status)
printf("%s: Saving run time variables FAILED\n", __func__);