[POWERPC] 4xx: Introduce cpu_setup functionality to 44x platform
This adds cpu_setup functionality for ppc44x platform. Low level cpu-spefic initialization routines should be placed in cpu_setup_44x.S and a callback should be added to cputable. The cpu_setup is invoked by identify_cpu() function at early init. Signed-off-by: Valentine Barshak <vbarshak@ru.mvista.com> Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
This commit is contained in:
committed by
Josh Boyer
parent
2e71cc0d51
commit
84e3ad5b91
19
arch/powerpc/kernel/cpu_setup_44x.S
Normal file
19
arch/powerpc/kernel/cpu_setup_44x.S
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
* This file contains low level CPU setup functions.
|
||||
* Valentine Barshak <vbarshak@ru.mvista.com>
|
||||
* MontaVista Software, Inc (c) 2007
|
||||
*
|
||||
* Based on cpu_setup_6xx code by
|
||||
* Benjamin Herrenschmidt <benh@kernel.crashing.org>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
* as published by the Free Software Foundation; either version
|
||||
* 2 of the License, or (at your option) any later version.
|
||||
*
|
||||
*/
|
||||
|
||||
#include <asm/processor.h>
|
||||
#include <asm/cputable.h>
|
||||
#include <asm/ppc_asm.h>
|
||||
|
Reference in New Issue
Block a user