Commit 3ddc0dd0011ea1448191ecb2461ed9a0ff7bf387
1 parent
18aff32789
Exists in
smarc-imx-l5.0.0_1.0.0-ga
MA-5830 Align Fastboot NAND config with bootloader partition 64M
Align the "MLK-9918: Reserve more space in uboot partition for NAND boot configurations" to enlarge the bootloader partition to be 64M Signed-off-by: guoyin.chen <guoyin.chen@freescale.com>
Showing 4 changed files with 10 additions and 4 deletions Side-by-side Diff
board/freescale/mx6qsabreauto/mx6qsabreauto.c
... | ... | @@ -1007,8 +1007,7 @@ |
1007 | 1007 | if (!getenv("fastboot_dev")) |
1008 | 1008 | setenv("fastboot_dev", "nand"); |
1009 | 1009 | if (!getenv("fbparts")) |
1010 | - setenv("fbparts", | |
1011 | - "16m@16m(boot) 16m@32m(recovery) 810m@48m(android_root)ubifs"); | |
1010 | + setenv("fbparts", ANDROID_FASTBOOT_NAND_PARTS); | |
1012 | 1011 | if (!getenv("bootcmd")) |
1013 | 1012 | setenv("bootcmd", |
1014 | 1013 | "nand read ${loadaddr} ${boot_nand_offset} " |
board/freescale/mx6sxsabreauto/mx6sxsabreauto.c
... | ... | @@ -964,8 +964,7 @@ |
964 | 964 | if (!getenv("fastboot_dev")) |
965 | 965 | setenv("fastboot_dev", "nand"); |
966 | 966 | if (!getenv("fbparts")) |
967 | - setenv("fbparts", | |
968 | - "16m@16m(boot) 16m@32m(recovery) 810m@48m(android_root)ubifs"); | |
967 | + setenv("fbparts", ANDROID_FASTBOOT_NAND_PARTS); | |
969 | 968 | if (!getenv("bootcmd")) |
970 | 969 | setenv("bootcmd", |
971 | 970 | "nand read ${loadaddr} ${boot_nand_offset} " |
include/configs/mx6sabreandroid_common.h
... | ... | @@ -54,5 +54,9 @@ |
54 | 54 | "fdt_high=0xffffffff\0" \ |
55 | 55 | "initrd_high=0xffffffff\0" \ |
56 | 56 | |
57 | +#if defined(CONFIG_FASTBOOT_STORAGE_NAND) | |
58 | +#define ANDROID_FASTBOOT_NAND_PARTS "16m@64m(boot) 16m@80m(recovery) 810m@96m(android_root)ubifs" | |
59 | +#endif | |
60 | + | |
57 | 61 | #endif /* MX6_SABRE_ANDROID_COMMON_H */ |
include/configs/mx6sxsabreautoandroid.h