]> err.no Git - linux-2.6/commit
[POWERPC] Setup RTAS values earlier, to enable rtas_call() earlier
authorMichael Ellerman <michael@ellerman.id.au>
Fri, 23 Jun 2006 08:20:13 +0000 (18:20 +1000)
committerPaul Mackerras <paulus@samba.org>
Wed, 28 Jun 2006 01:59:48 +0000 (11:59 +1000)
commit458148c00b97864a27ecf528a1d45a8e5ebd9bbc
treecd32ceb1cddc32e501a1aeebd0f0f88dbdd950a5
parentab3ab74d9b6b3920be70f502b40cb3f7f08d23fa
[POWERPC] Setup RTAS values earlier, to enable rtas_call() earlier

Althought RTAS is instantiated when we enter the kernel, we can't actually
call into it until we know its entry point address. Currently we grab that
in rtas_initialize(), however that's quite late in the boot sequence.

To enable rtas_call() earlier, we can grab the RTAS entry etc. values while
we're scanning the flattened device tree. There's existing code to retrieve
the values from /chosen, however we don't store them there anymore, so remove
that code.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/prom.c
arch/powerpc/kernel/rtas.c
include/asm-powerpc/rtas.h