mirror of
https://github.com/linux-sunxi/u-boot-sunxi.git
synced 2024-02-12 11:16:03 +08:00
x86: Provide more configuration granularity
Planned future ports requires more granularity for some options Signed-off-by: Graeme Russ <graeme.russ@gmail.com>
This commit is contained in:
@ -35,7 +35,7 @@
|
||||
int do_bootm_linux(int flag, int argc, char * const argv[],
|
||||
bootm_headers_t *images)
|
||||
{
|
||||
void *base_ptr;
|
||||
void *base_ptr = NULL;
|
||||
ulong os_data, os_len;
|
||||
image_header_t *hdr;
|
||||
|
||||
@ -73,8 +73,10 @@ int do_bootm_linux(int flag, int argc, char * const argv[],
|
||||
goto error;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_CMD_ZBOOT
|
||||
base_ptr = load_zimage((void *)os_data, os_len,
|
||||
images->rd_start, images->rd_end - images->rd_start, 0);
|
||||
#endif
|
||||
|
||||
if (NULL == base_ptr) {
|
||||
printf("## Kernel loading failed ...\n");
|
||||
|
Reference in New Issue
Block a user