diff options
author | Tom Rini | 2022-06-10 22:59:28 -0400 |
---|---|---|
committer | Tom Rini | 2022-06-28 17:03:32 -0400 |
commit | aca1f6789aa2e384a58909fa7a9696db9d607675 (patch) | |
tree | 32c2afad0ddf30c2fa84b2c104540d207f896174 /drivers/block/Kconfig | |
parent | 0a816d92d581749341c0c725816efe930e56e2a4 (diff) |
Convert CONFIG_LBA48 et al to Kconfig
This converts the following to Kconfig:
CONFIG_LBA48
CONFIG_SYS_64BIT_LBA
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers/block/Kconfig')
-rw-r--r-- | drivers/block/Kconfig | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/block/Kconfig b/drivers/block/Kconfig index d6d1c6e32cc..b5b482086af 100644 --- a/drivers/block/Kconfig +++ b/drivers/block/Kconfig @@ -218,3 +218,19 @@ config IDE_RESET must be defined in a board-specific file. endif # IDE + +config LBA48 + bool "Enable LBA support for disks larger than 137GB" + depends on HAVE_BLOCK_DEVICE + help + Set this to enable support for disks larger than 137GB. + Also look at CONFIG_SYS_64BIT_LBA. Without both of these, LBA48 + support uses 32bit variables and will 'only' support disks up to + 2.1TB. + +config SYS_64BIT_LBA + bool "Enable 64bit number of blocks on a block device" + depends on HAVE_BLOCK_DEVICE + help + Make the block subsystem use 64bit sector addresses, rather than the + default of 32bit. |