Commit | Line | Data |
---|---|---|
2874c5fd | 1 | // SPDX-License-Identifier: GPL-2.0-or-later |
4f246ba3 JB |
2 | /* |
3 | * OpenRISC prom.c | |
4 | * | |
5 | * Linux architectural port borrowing liberally from similar works of | |
6 | * others. All original copyrights apply as per the original source | |
7 | * declaration. | |
8 | * | |
9 | * Modifications for the OpenRISC architecture: | |
10 | * Copyright (C) 2010-2011 Jonas Bonn <jonas@southpole.se> | |
11 | * | |
4f246ba3 JB |
12 | * Architecture specific procedures for creating, accessing and |
13 | * interpreting the device tree. | |
4f246ba3 JB |
14 | */ |
15 | ||
4f246ba3 | 16 | #include <linux/init.h> |
4f246ba3 | 17 | #include <linux/types.h> |
4f246ba3 JB |
18 | #include <linux/memblock.h> |
19 | #include <linux/of_fdt.h> | |
20 | ||
4f246ba3 | 21 | #include <asm/page.h> |
4f246ba3 | 22 | |
4f246ba3 JB |
23 | void __init early_init_devtree(void *params) |
24 | { | |
e9435389 | 25 | early_init_dt_scan(params); |
1aadc056 | 26 | memblock_allow_resize(); |
4f246ba3 | 27 | } |