diff options
author | Baruch Siach <baruch@tkos.co.il> | 2019-05-16 13:03:53 +0300 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2019-07-11 07:01:18 +0200 |
commit | a4c61ffde3ae4f1b7228d2ecd40fbb8f3703d76c (patch) | |
tree | c36673b1585fd494f966dd0990e600a6b84722e4 /common/spl | |
parent | ef8b7e045ec744dce385cac4b1438c9be6e2bbc8 (diff) | |
download | u-boot-a4c61ffde3ae4f1b7228d2ecd40fbb8f3703d76c.tar.gz u-boot-a4c61ffde3ae4f1b7228d2ecd40fbb8f3703d76c.tar.bz2 u-boot-a4c61ffde3ae4f1b7228d2ecd40fbb8f3703d76c.zip |
spl: sata: add default partition and image name
Add sensible defaults for the FAT partition selection and the main
U-Boot image file name. This allows spl_sata to build when the board
headers does not select them explicitly.
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'common/spl')
-rw-r--r-- | common/spl/spl_sata.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/common/spl/spl_sata.c b/common/spl/spl_sata.c index adfce1d527..b08efc8419 100644 --- a/common/spl/spl_sata.c +++ b/common/spl/spl_sata.c @@ -17,6 +17,14 @@ #include <fat.h> #include <image.h> +#ifndef CONFIG_SYS_SATA_FAT_BOOT_PARTITION +#define CONFIG_SYS_SATA_FAT_BOOT_PARTITION 1 +#endif + +#ifndef CONFIG_SPL_FS_LOAD_PAYLOAD_NAME +#define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME "u-boot.img" +#endif + static int spl_sata_load_image(struct spl_image_info *spl_image, struct spl_boot_device *bootdev) { |