// SPDX-License-Identifier: GPL-2.0-or-later1/*2* OpenRISC prom.c3*4* Linux architectural port borrowing liberally from similar works of5* others. All original copyrights apply as per the original source6* declaration.7*8* Modifications for the OpenRISC architecture:9* Copyright (C) 2010-2011 Jonas Bonn <[email protected]>10*11* Architecture specific procedures for creating, accessing and12* interpreting the device tree.13*/1415#include <linux/init.h>16#include <linux/types.h>17#include <linux/memblock.h>18#include <linux/of_fdt.h>1920#include <asm/page.h>2122void __init early_init_devtree(void *params)23{24early_init_dt_scan(params, __pa(params));25memblock_allow_resize();26}272829