mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
Merge branch 'next'
Merge the outstanding changes from the 'next' branch to master.
This commit is contained in:
@@ -1056,7 +1056,7 @@ config SYS_BOOTM_LEN
|
||||
hex "Maximum size of a decompresed OS image"
|
||||
depends on CMD_BOOTM || CMD_BOOTI || CMD_BOOTZ || \
|
||||
LEGACY_IMAGE_FORMAT || SPL_LEGACY_IMAGE_FORMAT
|
||||
default 0x4000000 if PPC || ARM64 || RISCV
|
||||
default 0x8000000 if PPC || ARM64 || RISCV
|
||||
default 0x1000000 if X86 || ARCH_MX6 || ARCH_MX7
|
||||
default 0x800000
|
||||
help
|
||||
@@ -1162,6 +1162,7 @@ config DISTRO_DEFAULTS
|
||||
select CMD_SYSBOOT
|
||||
select HUSH_PARSER
|
||||
select SYS_LONGHELP
|
||||
select LEGACY_IMAGE_FORMAT
|
||||
help
|
||||
Note: These scripts have been replaced by Standard Boot. Do not use
|
||||
them on new boards. See 'Migrating from distro_boot' at
|
||||
|
||||
@@ -107,7 +107,12 @@ static void android_vendor_boot_image_v3_v4_parse_hdr(const struct andr_vnd_boot
|
||||
data->dtb_load_addr = hdr->dtb_addr;
|
||||
data->bootconfig_size = hdr->bootconfig_size;
|
||||
end = (ulong)hdr;
|
||||
end += hdr->page_size;
|
||||
|
||||
if (hdr->header_version > 3)
|
||||
end += ALIGN(ANDR_VENDOR_BOOT_V4_SIZE, hdr->page_size);
|
||||
else
|
||||
end += ALIGN(ANDR_VENDOR_BOOT_V3_SIZE, hdr->page_size);
|
||||
|
||||
if (hdr->vendor_ramdisk_size) {
|
||||
data->vendor_ramdisk_ptr = end;
|
||||
data->vendor_ramdisk_size = hdr->vendor_ramdisk_size;
|
||||
|
||||
Reference in New Issue
Block a user