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>
This commit is contained in:
parent
bdb133ade2
commit
d01bf20ea6
1 changed files with 1 additions and 1 deletions
|
@ -318,7 +318,7 @@ int is_valid_dos_buf(void *buf)
|
||||||
return test_block_type(buf) == DOS_MBR ? 0 : -1;
|
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,
|
static void lba_to_chs(lbaint_t lba, unsigned char *rc, unsigned char *rh,
|
||||||
unsigned char *rs)
|
unsigned char *rs)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue