]> git.baikalelectronics.ru Git - kernel.git/commit
microblaze: Add support for reserved memory defined by DT
authorMichal Simek <michal.simek@xilinx.com>
Fri, 25 Feb 2022 13:17:31 +0000 (14:17 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 21 Apr 2022 08:54:57 +0000 (10:54 +0200)
commit9d450f6f505c7cf77a21478af961dd8c91fcb278
treefe9aabd16ff55330cc93c59ccf6c47ba460d83b4
parent8ed520fdba92a00928aca342d0afcfad5913491d
microblaze: Add support for reserved memory defined by DT

In DT reserved memory nodes can be added as is described by
Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt
but Microblaze didn't have a support for it. The similar change was done
for ARC by commit 578ca1b551c8 ("ARC: add support for reserved memory
defined by device tree"). It is pretty much enough to call
early_init_fdt_scan_reserved_mem().
Microblaze is not using initial_boot_params that's why there is no need to
call early_init_fdt_reserve_self().

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Link: https://lore.kernel.org/r/da4395776bf0de7207767abcc8a5df05bf411816.1645795048.git.michal.simek@xilinx.com
arch/microblaze/mm/init.c