OSDN Git Service

h8300: switch to NO_BOOTMEM
authorRob Herring <robh@kernel.org>
Fri, 16 Mar 2018 21:33:06 +0000 (16:33 -0500)
committerYoshinori Sato <ysato@users.sourceforge.jp>
Wed, 22 Aug 2018 10:14:18 +0000 (19:14 +0900)
commitc489dfefe739d37dde1cd7b26cd324607cedd934
treef275a760a55cf3e9f6972dbf56fbafa48a66735e
parent811d1b0e65bed442050d62a48c39263f4c5b2d68
h8300: switch to NO_BOOTMEM

Commit 0fa1c579349f ("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: 0fa1c579349f ("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: Rob Herring <robh@kernel.org>
Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
arch/h8300/Kconfig
arch/h8300/kernel/setup.c