Merge branch 'for-4.9/libnvdimm' into libnvdimm-for-next
[linux-2.6-block.git] / arch / openrisc / kernel / prom.c
CommitLineData
4f246ba3
JB
1/*
2 * OpenRISC prom.c
3 *
4 * Linux architectural port borrowing liberally from similar works of
5 * others. All original copyrights apply as per the original source
6 * declaration.
7 *
8 * Modifications for the OpenRISC architecture:
9 * Copyright (C) 2010-2011 Jonas Bonn <jonas@southpole.se>
10 *
11 * This program is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU General Public License
13 * as published by the Free Software Foundation; either version
14 * 2 of the License, or (at your option) any later version.
15 *
16 * Architecture specific procedures for creating, accessing and
17 * interpreting the device tree.
18 *
19 */
20
4f246ba3 21#include <linux/init.h>
4f246ba3 22#include <linux/types.h>
4f246ba3
JB
23#include <linux/memblock.h>
24#include <linux/of_fdt.h>
25
4f246ba3 26#include <asm/page.h>
4f246ba3 27
4f246ba3
JB
28void __init early_init_devtree(void *params)
29{
e9435389 30 early_init_dt_scan(params);
1aadc056 31 memblock_allow_resize();
4f246ba3 32}