]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
Correct SPL use of CMD_MBR
authorSimon Glass <sjg@chromium.org>
Sun, 5 Feb 2023 22:36:33 +0000 (15:36 -0700)
committerTom Rini <trini@konsulko.com>
Thu, 9 Feb 2023 21:32:25 +0000 (16:32 -0500)
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>
disk/part_dos.c

index a94702c5f34ed0752a0614b8e3413909cf19cbd8..56e61884deff6137d2df0feb6f894f3d0cb9c78c 100644 (file)
@@ -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)
 {