mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-19 13:41:31 +00:00
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>
This commit is contained in:
parent
ef8b7e045e
commit
a4c61ffde3
1 changed files with 8 additions and 0 deletions
|
@ -17,6 +17,14 @@
|
||||||
#include <fat.h>
|
#include <fat.h>
|
||||||
#include <image.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,
|
static int spl_sata_load_image(struct spl_image_info *spl_image,
|
||||||
struct spl_boot_device *bootdev)
|
struct spl_boot_device *bootdev)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue