From: Simon Glass Date: Sun, 5 Feb 2023 22:36:33 +0000 (-0700) Subject: Correct SPL use of CMD_MBR X-Git-Tag: v2025.01-rc5-pxa1908~1114^2~97 X-Git-Url: http://git.dujemihanovic.xyz/html/%7B%7B%20%24image.RelPermalink%20%7D%7D?a=commitdiff_plain;h=d01bf20ea654f659404f744c4db284b82e4c68ad;p=u-boot.git 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 --- 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) {