openrisc: enable passing of flattened device tree pointer
authorStefan Kristiansson <stefan.kristiansson@saunalahti.fi>
Thu, 10 Nov 2011 15:38:29 +0000 (16:38 +0100)
committerJonas Bonn <jonas@southpole.se>
Fri, 17 Feb 2012 08:55:22 +0000 (09:55 +0100)
commitdec830189e1e192a80f574243a2dc31bdc1c4fc5
tree864ae5fd9b3975805195eb2b0396d80e6a408425
parent2e1c958de4e22b6badc13dba1a0ebaa5aa798664
openrisc: enable passing of flattened device tree pointer

This patch enables passing a fdt pointer to the kernel.

This makes for the kernel parameter API:

void kernel(unsigned int fdt);

which, in accordance with the OpenRISC ABI results in:
r3 = pointer to fdt

Signed-off-by: Stefan Kristiansson <stefan.kristiansson@saunalahti.fi>
Signed-off-by: Jonas Bonn <jonas@southpole.se>
arch/openrisc/kernel/head.S
arch/openrisc/kernel/setup.c
This page took 0.033274 seconds and 5 git commands to generate.