commit | 8b1b943a7aa3c2d071982b99220cdee49ed2c5fb | [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 | c94a331061741fab44aeeca3d17caafdadeb4543 [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>