• Rob Herring's avatar
    h8300: switch to NO_BOOTMEM · c489dfef
    Rob Herring authored
    Commit 0fa1c579 ("of/fdt: use memblock_virt_alloc for early alloc")
    inadvertently switched the DT unflattening allocations from memblock to
    bootmem which doesn't work because the unflattening happens before
    bootmem is initialized. Swapping the order of bootmem init and
    unflattening could also fix this, but removing bootmem is desired. So
    enable NO_BOOTMEM on h8300 like other architectures have done.
    
    Fixes: 0fa1c579 ("of/fdt: use memblock_virt_alloc for early alloc")
    Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
    Cc: uclinux-h8-devel@lists.sourceforge.jp
    Signed-off-by: default avatarRob Herring <robh@kernel.org>
    Signed-off-by: default avatarYoshinori Sato <ysato@users.sourceforge.jp>
    c489dfef
Kconfig 1.28 KB