[ar71xx] fix up dump space a la what jhb@ did elsewhere a while ago.

This commit is contained in:
adrian 2017-05-21 23:55:58 +00:00
parent 5a0cdf1daa
commit b08cb8c265

View File

@ -383,8 +383,8 @@ platform_start(__register_t a0 __unused, __register_t a1 __unused,
phys_avail[0] = MIPS_KSEG0_TO_PHYS(kernel_kseg0_end);
phys_avail[1] = ctob(realmem);
dump_avail[0] = phys_avail[0];
dump_avail[1] = phys_avail[1] - phys_avail[0];
dump_avail[0] = 0;
dump_avail[1] = phys_avail[1];
physmem = realmem;