]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2b7a260883876532b2efc18d757c0b3e22d15f21
treef275a760a55cf3e9f6972dbf56fbafa48a66735e
parent4d1ab035388ca67a63285d1a6701930926c7a634
h8300: switch to NO_BOOTMEM

Commit 8afc609efdbd ("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: 8afc609efdbd ("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