diff options
author | Konrad Eisele <konrad@gaisler.com> | 2009-08-17 02:13:32 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-08-18 03:32:10 +0200 |
commit | e63829de3d03f92cea2b26119e0aa9a7043b9913 (patch) | |
tree | 0f0bbf2f86ef8a447e9b2a298662003602650e87 /arch/sparc/kernel/ioport.c | |
parent | sparc,leon: Introduce the sparc-leon CPU type. (diff) | |
download | linux-e63829de3d03f92cea2b26119e0aa9a7043b9913.tar.xz linux-e63829de3d03f92cea2b26119e0aa9a7043b9913.zip |
sparc,leon: Added support for AMBAPP bus.
The device is a AMBA bus if it is a child of prom node "ambapp" (AMBA
plug and play). Two functions
leon_trans_init() and leon_node_init() (defined in
sparc/kernel/leon_kernel.c) are called in the
prom_build_tree() path if CONFIG_SPARC_LEON is
defined. leon_node_init() will build up the device
tree using AMBA plug and play. Also: a extra check was addes to
prom_common.c:build_one_prop()
in case a rom-node is undefined which can happen for SPARC-LEON
because it creates only a minimum
nodes to emulate sparc behaviour.
Signed-off-by: Konrad Eisele <konrad@gaisler.com>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/ioport.c')
0 files changed, 0 insertions, 0 deletions