projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bdb133a
)
Correct SPL use of CMD_MBR
author
Simon Glass
<sjg@chromium.org>
Sun, 5 Feb 2023 22:36:33 +0000
(15:36 -0700)
committer
Tom 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
patch
|
blob
|
history
diff --git
a/disk/part_dos.c
b/disk/part_dos.c
index
a94702c
..
56e6188
100644
(file)
--- 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)
{