• Jiaxun Yang's avatar
    MIPS: init: Drop boot_mem_map · a94e4f24
    Jiaxun Yang authored
    boot_mem_map was introduced very early and cannot handle memory maps
    with nid. Nowadays, memblock can exactly replace boot_mem_map.
    
    Detect pfn info and setup resources with memblock maps.
    Signed-off-by: default avatarJiaxun Yang <jiaxun.yang@flygoat.com>
    [paul.burton@mips.com: Fix size calculation in check_kernel_sections_mem]
    Signed-off-by: default avatarPaul Burton <paul.burton@mips.com>
    Cc: linux-mips@vger.kernel.org
    Cc: yasha.che3@gmail.com
    Cc: aurelien@aurel32.net
    Cc: sfr@canb.auug.org.au
    Cc: fancer.lancer@gmail.com
    Cc: matt.redfearn@mips.com
    Cc: chenhc@lemote.com
    a94e4f24
bootinfo.h 4.85 KB