commit | 61317289ce435bfeb3bc73dd1bc938a70a72803d | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Tue Apr 25 10:54:41 2023 -0600 |
committer | Tom Rini <trini@konsulko.com> | Thu Apr 27 13:51:06 2023 -0400 |
tree | b4a9582e9aeb51df0c3925dc57877c8fae9e1ca6 | |
parent | 8e42dfa7a155f74089d419010e20db57fce3b220 [diff] |
ide: Avoid preprocessor for CONFIG_LBA48 Use IS_ENABLED() instead for all conditions. Add the 'lba48' flag into struct blk_desc always, since it uses very little space. Use a bool so the meaning is clearer. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>