aboutsummaryrefslogtreecommitdiff
path: root/common/spl/Kconfig
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-11-16 13:10:35 -0500
committerTom Rini <trini@konsulko.com>2022-12-05 16:06:07 -0500
commitf16b1a6c0082fc29371776096986d56c21851565 (patch)
tree1f651f15cc34ea148e1066a07e2e8941e9aeb5da /common/spl/Kconfig
parent2db82bf2bd8fa5de2b55ad7c4c1c0afa58f171c2 (diff)
downloadu-boot-f16b1a6c0082fc29371776096986d56c21851565.zip
u-boot-f16b1a6c0082fc29371776096986d56c21851565.tar.gz
u-boot-f16b1a6c0082fc29371776096986d56c21851565.tar.bz2
spl: Migrate SYS_SATA_FAT_BOOT_PARTITION to Kconfig
This moves SYS_SATA_FAT_BOOT_PARTITION to Kconfig and enforces the current default via Kconfig rather than C code. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/spl/Kconfig')
-rw-r--r--common/spl/Kconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index fef01bd..c6da4a4 100644
--- a/common/spl/Kconfig
+++ b/common/spl/Kconfig
@@ -1232,6 +1232,11 @@ config SPL_SATA
expense and power consumption. This enables loading from SATA
using a configured device.
+config SYS_SATA_FAT_BOOT_PARTITION
+ int "Partition on the SATA disk to load U-Boot from"
+ depends on SPL_SATA && SPL_FS_FAT
+ default 1
+
config SPL_SATA_RAW_U_BOOT_USE_SECTOR
bool "SATA raw mode: by sector"
depends on SPL_SATA