diff options
author | Simon Glass <sjg@chromium.org> | 2023-02-05 15:36:33 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-02-09 16:32:25 -0500 |
commit | d01bf20ea654f659404f744c4db284b82e4c68ad (patch) | |
tree | fdf4cb47815c0b0ab6ab4e241d5530bdfe853471 /disk | |
parent | bdb133ade217085574b04b6d5a841a98801f6578 (diff) | |
download | u-boot-d01bf20ea654f659404f744c4db284b82e4c68ad.tar.gz u-boot-d01bf20ea654f659404f744c4db284b82e4c68ad.tar.bz2 u-boot-d01bf20ea654f659404f744c4db284b82e4c68ad.zip |
Correct SPL use of CMD_MBR
This converts 1 usage of this option to the non-SPL form, since there is
no SPL_CMD_MBR defined in Kconfig
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'disk')
-rw-r--r-- | disk/part_dos.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/disk/part_dos.c b/disk/part_dos.c index a94702c5f3..56e61884de 100644 --- a/disk/part_dos.c +++ b/disk/part_dos.c @@ -318,7 +318,7 @@ int is_valid_dos_buf(void *buf) return test_block_type(buf) == DOS_MBR ? 0 : -1; } -#if CONFIG_IS_ENABLED(CMD_MBR) +#if IS_ENABLED(CONFIG_CMD_MBR) static void lba_to_chs(lbaint_t lba, unsigned char *rc, unsigned char *rh, unsigned char *rs) { |