diff options
author | Baruch Siach <baruch@tkos.co.il> | 2019-07-14 17:54:21 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-07-24 14:15:36 -0400 |
commit | 60ca969a7a1cbab6e43c5f97ffe99a9630257d08 (patch) | |
tree | f6900687696cd0bbb85f0fec554c1c65fbb86f57 /common/spl/Kconfig | |
parent | 146ce6474d0355a45fbd289981ecc8d2d15ff993 (diff) | |
download | u-boot-60ca969a7a1cbab6e43c5f97ffe99a9630257d08.tar.gz |
spl: sata: support U-Boot load from raw sata disk
Support load of the U-Boot image from raw SATA disk sector. This is
equivalent to load from MMC raw sector.
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Diffstat (limited to 'common/spl/Kconfig')
-rw-r--r-- | common/spl/Kconfig | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/common/spl/Kconfig b/common/spl/Kconfig index 5978fb2934..5d6da5db89 100644 --- a/common/spl/Kconfig +++ b/common/spl/Kconfig @@ -918,6 +918,20 @@ config SPL_SATA_SUPPORT expense and power consumption. This enables loading from SATA using a configured device. +config SPL_SATA_RAW_U_BOOT_USE_SECTOR + bool "SATA raw mode: by sector" + depends on SPL_SATA_SUPPORT + help + Use sector number for specifying U-Boot location on SATA disk in + raw mode. + +config SPL_SATA_RAW_U_BOOT_SECTOR + hex "Sector on the SATA disk to load U-Boot from" + depends on SPL_SATA_RAW_U_BOOT_USE_SECTOR + help + Sector on the SATA disk to load U-Boot from, when the SATA disk is being + used in raw mode. Units: SATA disk sectors (1 sector = 512 bytes). + config SPL_SERIAL_SUPPORT bool "Support serial" select SPL_PRINTF |