mirror of
https://github.com/vivier/EMILE.git
synced 2025-01-02 21:30:29 +00:00
disable cache early (resolve bad ramdisk detection
This commit is contained in:
parent
e56b1b94fd
commit
dd44e86f5e
@ -180,9 +180,12 @@ int start(struct first_level_info* info)
|
||||
ramdisk_start = 0;
|
||||
printf("no RAMDISK\n");
|
||||
}
|
||||
|
||||
ret = logical2physical((unsigned long)kernel, &physImage);
|
||||
|
||||
/* disable and flush cache */
|
||||
|
||||
disable_cache();
|
||||
|
||||
/* initialize bootinfo structure */
|
||||
|
||||
bootinfo_init(info->command_line,
|
||||
@ -229,10 +232,6 @@ int start(struct first_level_info* info)
|
||||
printf("Physical address of kernel will be 0x%08lx\n", start_mem);
|
||||
printf("Ok, booting the kernel.\n");
|
||||
|
||||
/* disable and flush cache */
|
||||
|
||||
disable_cache();
|
||||
|
||||
/* kick off */
|
||||
|
||||
entry(physImage, uncompressed_size + BI_ALLOC_SIZE, start_mem);
|
||||
|
Loading…
Reference in New Issue
Block a user