Merge branch 'next'
Bring in the assorted changes that have been staged in the 'next' branch prior to release. Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
@@ -17,7 +17,7 @@ unsigned long do_go_exec(ulong (*entry)(int, char * const []),
|
||||
* whole SDRAM area, since we don't know the size of the image
|
||||
* that was loaded.
|
||||
*/
|
||||
flush_cache(gd->bd->bi_memstart, gd->ram_top - gd->bd->bi_memstart);
|
||||
flush_cache(gd->ram_base, gd->ram_top - gd->ram_base);
|
||||
|
||||
return entry(argc, argv);
|
||||
}
|
||||
|
||||
@@ -242,7 +242,7 @@ static int boot_reloc_fdt(bootm_headers_t *images)
|
||||
#if CONFIG_IS_ENABLED(MIPS_BOOT_FDT) && CONFIG_IS_ENABLED(OF_LIBFDT)
|
||||
int arch_fixup_fdt(void *blob)
|
||||
{
|
||||
u64 mem_start = virt_to_phys((void *)gd->bd->bi_memstart);
|
||||
u64 mem_start = virt_to_phys((void *)gd->ram_base);
|
||||
u64 mem_size = gd->ram_size;
|
||||
|
||||
return fdt_fixup_memory_banks(blob, &mem_start, &mem_size, 1);
|
||||
|
||||
Reference in New Issue
Block a user