Move arch/ppc to arch/powerpc
As discussed on the list, move "arch/ppc" to "arch/powerpc" to better match the Linux directory structure. Please note that this patch also changes the "ppc" target in MAKEALL to "powerpc" to match this new infrastructure. But "ppc" is kept as an alias for now, to not break compatibility with scripts using this name. Signed-off-by: Stefan Roese <sr@denx.de> Acked-by: Wolfgang Denk <wd@denx.de> Acked-by: Detlev Zundel <dzu@denx.de> Acked-by: Kim Phillips <kim.phillips@freescale.com> Cc: Peter Tyser <ptyser@xes-inc.com> Cc: Anatolij Gustschin <agust@denx.de>
This commit is contained in:
committed by
Wolfgang Denk
parent
254ab7bd46
commit
a47a12becf
@@ -34,7 +34,7 @@ DECLARE_GLOBAL_DATA_PTR;
|
||||
|
||||
/*
|
||||
* This function is run very early, out of flash, and before devices are
|
||||
* initialized. It is called by arch/ppc/lib/board.c:board_init_f by virtue
|
||||
* initialized. It is called by arch/powerpc/lib/board.c:board_init_f by virtue
|
||||
* of being in the init_sequence array.
|
||||
*
|
||||
* The SDRAM has been initialized already -- start.S:start called
|
||||
|
||||
@@ -83,11 +83,11 @@ System-LEDs ??? (Analog zu HCU4 ???)
|
||||
Startup sequence
|
||||
----------------
|
||||
|
||||
(arch/ppc/cpu/ppc4xx/resetvec.S)
|
||||
(arch/powerpc/cpu/ppc4xx/resetvec.S)
|
||||
depending on configs option
|
||||
call _start_440 _start_pci oder _start
|
||||
|
||||
(arch/ppc/cpu/ppc4xx/start.S)
|
||||
(arch/powerpc/cpu/ppc4xx/start.S)
|
||||
|
||||
_start_440:
|
||||
initialize register like
|
||||
@@ -109,7 +109,7 @@ _start:
|
||||
call cpu_init_f /* run low-level CPU init code (from Flash) */
|
||||
|
||||
call cpu_init_f
|
||||
board_init_f: (arch/ppc/lib\board.c)
|
||||
board_init_f: (arch/powerpc/lib\board.c)
|
||||
init_sequence defines a list of function to be called
|
||||
board_early_init_f: (board/netstal/hcu5/hcu5.c)
|
||||
We are using Bootstrap-Option A
|
||||
@@ -136,18 +136,18 @@ _start:
|
||||
* - board info struct
|
||||
Save local variables to board info struct
|
||||
call relocate_code() does not return
|
||||
relocate_code: (arch/ppc/cpu/ppc4xx/start.S)
|
||||
relocate_code: (arch/powerpc/cpu/ppc4xx/start.S)
|
||||
-------------------------------------------------------
|
||||
From now on our copy is in RAM and we will run from there,
|
||||
starting with board_init_r
|
||||
-------------------------------------------------------
|
||||
board_init_r: (arch/ppc/lib\board.c)
|
||||
board_init_r: (arch/powerpc/lib\board.c)
|
||||
setup bd function pointers
|
||||
trap_init
|
||||
flash_init: (board/netstal/hcu5/flash.c)
|
||||
/* setup for u-boot erase, update */
|
||||
setup bd flash info
|
||||
cpu_init_r: (arch/ppc/cpu/ppc4xx/cpu_init.c)
|
||||
cpu_init_r: (arch/powerpc/cpu/ppc4xx/cpu_init.c)
|
||||
peripheral chip select in using defines like
|
||||
CONFIG_SYS_EBC_PB0A, CONFIG_SYS_EBC_PB0C from hcu5.h
|
||||
mem_malloc_init
|
||||
@@ -161,8 +161,8 @@ From now on our copy is in RAM and we will run from there,
|
||||
Most of the HW specific code for the HCU5 may be found in
|
||||
include/configs/hcu5.h
|
||||
board/netstal/hcu5/*
|
||||
arch/ppc/cpu/ppc4xx/*
|
||||
arch/ppc/lib/*
|
||||
arch/powerpc/cpu/ppc4xx/*
|
||||
arch/powerpc/lib/*
|
||||
include/ppc440.h
|
||||
|
||||
Drivers for serial etc are found under drivers/
|
||||
|
||||
@@ -49,7 +49,7 @@ extern flash_info_t flash_info[CONFIG_SYS_MAX_FLASH_BANKS];
|
||||
|
||||
/*
|
||||
* This function is run very early, out of flash, and before devices are
|
||||
* initialized. It is called by arch/ppc/lib/board.c:board_init_f by virtue
|
||||
* initialized. It is called by arch/powerpc/lib/board.c:board_init_f by virtue
|
||||
* of being in the init_sequence array.
|
||||
*
|
||||
* The SDRAM has been initialized already -- start.S:start called
|
||||
|
||||
@@ -39,7 +39,7 @@ DECLARE_GLOBAL_DATA_PTR;
|
||||
|
||||
/*
|
||||
* This function is run very early, out of flash, and before devices are
|
||||
* initialized. It is called by arch/ppc/lib/board.c:board_init_f by virtue
|
||||
* initialized. It is called by arch/powerpc/lib/board.c:board_init_f by virtue
|
||||
* of being in the init_sequence array.
|
||||
*
|
||||
* The SDRAM has been initialized already -- start.S:start called
|
||||
|
||||
Reference in New Issue
Block a user