4 * This is the maximum size the U-Boot binary can be, which is basically
5 * the start of the environment, minus the start of the U-Boot binary in
6 * the MMC. This makes the assumption that the MMC is using 512-bytes
7 * blocks, but devices using something other than that remains to be
10 #define UBOOT_MMC_MAX_SIZE (CONFIG_ENV_OFFSET - (CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR * 512))
14 filename = "u-boot-sunxi-with-spl.bin";
17 filename = "spl/sunxi-spl.bin";
21 size = <UBOOT_MMC_MAX_SIZE>;
23 pos = <CONFIG_SPL_PAD_TO>;