ppc: Move cpu/$CPU to arch/ppc/cpu/$CPU

Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
master
Peter Tyser 14 years ago committed by Wolfgang Denk
parent 819833af39
commit 8d1f268204
  1. 10
      Makefile
  2. 4
      README
  3. 0
      arch/ppc/cpu/74xx_7xx/Makefile
  4. 0
      arch/ppc/cpu/74xx_7xx/cache.S
  5. 0
      arch/ppc/cpu/74xx_7xx/config.mk
  6. 0
      arch/ppc/cpu/74xx_7xx/cpu.c
  7. 0
      arch/ppc/cpu/74xx_7xx/cpu_init.c
  8. 0
      arch/ppc/cpu/74xx_7xx/interrupts.c
  9. 0
      arch/ppc/cpu/74xx_7xx/io.S
  10. 0
      arch/ppc/cpu/74xx_7xx/kgdb.S
  11. 0
      arch/ppc/cpu/74xx_7xx/speed.c
  12. 0
      arch/ppc/cpu/74xx_7xx/start.S
  13. 0
      arch/ppc/cpu/74xx_7xx/traps.c
  14. 4
      arch/ppc/cpu/mpc512x/Makefile
  15. 2
      arch/ppc/cpu/mpc512x/asm-offsets.h
  16. 2
      arch/ppc/cpu/mpc512x/config.mk
  17. 0
      arch/ppc/cpu/mpc512x/cpu.c
  18. 0
      arch/ppc/cpu/mpc512x/cpu_init.c
  19. 2
      arch/ppc/cpu/mpc512x/diu.c
  20. 0
      arch/ppc/cpu/mpc512x/fixed_sdram.c
  21. 0
      arch/ppc/cpu/mpc512x/i2c.c
  22. 0
      arch/ppc/cpu/mpc512x/ide.c
  23. 0
      arch/ppc/cpu/mpc512x/iim.c
  24. 0
      arch/ppc/cpu/mpc512x/interrupts.c
  25. 0
      arch/ppc/cpu/mpc512x/iopin.c
  26. 0
      arch/ppc/cpu/mpc512x/pci.c
  27. 0
      arch/ppc/cpu/mpc512x/serial.c
  28. 0
      arch/ppc/cpu/mpc512x/speed.c
  29. 0
      arch/ppc/cpu/mpc512x/start.S
  30. 0
      arch/ppc/cpu/mpc512x/traps.c
  31. 2
      arch/ppc/cpu/mpc512x/u-boot.lds
  32. 4
      arch/ppc/cpu/mpc5xx/Makefile
  33. 2
      arch/ppc/cpu/mpc5xx/config.mk
  34. 0
      arch/ppc/cpu/mpc5xx/cpu.c
  35. 0
      arch/ppc/cpu/mpc5xx/cpu_init.c
  36. 0
      arch/ppc/cpu/mpc5xx/interrupts.c
  37. 0
      arch/ppc/cpu/mpc5xx/serial.c
  38. 0
      arch/ppc/cpu/mpc5xx/speed.c
  39. 0
      arch/ppc/cpu/mpc5xx/spi.c
  40. 0
      arch/ppc/cpu/mpc5xx/start.S
  41. 0
      arch/ppc/cpu/mpc5xx/traps.c
  42. 2
      arch/ppc/cpu/mpc5xx/u-boot.lds
  43. 0
      arch/ppc/cpu/mpc5xxx/Makefile
  44. 2
      arch/ppc/cpu/mpc5xxx/config.mk
  45. 0
      arch/ppc/cpu/mpc5xxx/cpu.c
  46. 0
      arch/ppc/cpu/mpc5xxx/cpu_init.c
  47. 0
      arch/ppc/cpu/mpc5xxx/firmware_sc_task_bestcomm.impl.S
  48. 0
      arch/ppc/cpu/mpc5xxx/i2c.c
  49. 0
      arch/ppc/cpu/mpc5xxx/ide.c
  50. 0
      arch/ppc/cpu/mpc5xxx/interrupts.c
  51. 0
      arch/ppc/cpu/mpc5xxx/io.S
  52. 0
      arch/ppc/cpu/mpc5xxx/loadtask.c
  53. 0
      arch/ppc/cpu/mpc5xxx/pci_mpc5200.c
  54. 0
      arch/ppc/cpu/mpc5xxx/serial.c
  55. 0
      arch/ppc/cpu/mpc5xxx/speed.c
  56. 0
      arch/ppc/cpu/mpc5xxx/start.S
  57. 0
      arch/ppc/cpu/mpc5xxx/traps.c
  58. 4
      arch/ppc/cpu/mpc5xxx/u-boot-customlayout.lds
  59. 2
      arch/ppc/cpu/mpc5xxx/u-boot.lds
  60. 0
      arch/ppc/cpu/mpc5xxx/usb.c
  61. 0
      arch/ppc/cpu/mpc5xxx/usb_ohci.c
  62. 0
      arch/ppc/cpu/mpc5xxx/usb_ohci.h
  63. 0
      arch/ppc/cpu/mpc8220/Makefile
  64. 2
      arch/ppc/cpu/mpc8220/config.mk
  65. 0
      arch/ppc/cpu/mpc8220/cpu.c
  66. 0
      arch/ppc/cpu/mpc8220/cpu_init.c
  67. 0
      arch/ppc/cpu/mpc8220/dma.h
  68. 0
      arch/ppc/cpu/mpc8220/dramSetup.c
  69. 0
      arch/ppc/cpu/mpc8220/dramSetup.h
  70. 0
      arch/ppc/cpu/mpc8220/fec.c
  71. 0
      arch/ppc/cpu/mpc8220/fec.h
  72. 0
      arch/ppc/cpu/mpc8220/fec_dma_tasks.S
  73. 0
      arch/ppc/cpu/mpc8220/i2c.c
  74. 0
      arch/ppc/cpu/mpc8220/i2cCore.c
  75. 0
      arch/ppc/cpu/mpc8220/i2cCore.h
  76. 0
      arch/ppc/cpu/mpc8220/interrupts.c
  77. 0
      arch/ppc/cpu/mpc8220/io.S
  78. 0
      arch/ppc/cpu/mpc8220/loadtask.c
  79. 0
      arch/ppc/cpu/mpc8220/pci.c
  80. 0
      arch/ppc/cpu/mpc8220/speed.c
  81. 0
      arch/ppc/cpu/mpc8220/start.S
  82. 0
      arch/ppc/cpu/mpc8220/traps.c
  83. 2
      arch/ppc/cpu/mpc8220/u-boot.lds
  84. 0
      arch/ppc/cpu/mpc8220/uart.c
  85. 0
      arch/ppc/cpu/mpc824x/.gitignore
  86. 0
      arch/ppc/cpu/mpc824x/Makefile
  87. 2
      arch/ppc/cpu/mpc824x/config.mk
  88. 0
      arch/ppc/cpu/mpc824x/cpu.c
  89. 0
      arch/ppc/cpu/mpc824x/cpu_init.c
  90. 0
      arch/ppc/cpu/mpc824x/drivers/epic.h
  91. 0
      arch/ppc/cpu/mpc824x/drivers/epic/README
  92. 0
      arch/ppc/cpu/mpc824x/drivers/epic/epic.h
  93. 0
      arch/ppc/cpu/mpc824x/drivers/epic/epic1.c
  94. 0
      arch/ppc/cpu/mpc824x/drivers/epic/epic2.S
  95. 0
      arch/ppc/cpu/mpc824x/drivers/epic/epicutil.S
  96. 0
      arch/ppc/cpu/mpc824x/drivers/errors.h
  97. 0
      arch/ppc/cpu/mpc824x/drivers/i2c/i2c.c
  98. 0
      arch/ppc/cpu/mpc824x/drivers/i2c_export.h
  99. 0
      arch/ppc/cpu/mpc824x/interrupts.c
  100. 0
      arch/ppc/cpu/mpc824x/pci.c
  101. Some files were not shown because too many files have changed in this diff Show More

@ -227,12 +227,12 @@ LIBS += drivers/qe/qe.a
endif
ifeq ($(CPU),mpc85xx)
LIBS += drivers/qe/qe.a
LIBS += cpu/mpc8xxx/ddr/libddr.a
LIBS += cpu/mpc8xxx/lib8xxx.a
LIBS += arch/ppc/cpu/mpc8xxx/ddr/libddr.a
LIBS += arch/ppc/cpu/mpc8xxx/lib8xxx.a
endif
ifeq ($(CPU),mpc86xx)
LIBS += cpu/mpc8xxx/ddr/libddr.a
LIBS += cpu/mpc8xxx/lib8xxx.a
LIBS += arch/ppc/cpu/mpc8xxx/ddr/libddr.a
LIBS += arch/ppc/cpu/mpc8xxx/lib8xxx.a
endif
LIBS += drivers/rtc/librtc.a
LIBS += drivers/serial/libserial.a
@ -3768,7 +3768,7 @@ clobber: clean
@rm -f $(obj)u-boot.kwb
@rm -f $(obj)u-boot.imx
@rm -f $(obj)tools/{env/crc32.c,inca-swap-bytes}
@rm -f $(obj)cpu/mpc824x/bedbug_603e.c
@rm -f $(obj)arch/ppc/cpu/mpc824x/bedbug_603e.c
@rm -f $(obj)include/asm/proc $(obj)include/asm/arch $(obj)include/asm
@[ ! -d $(obj)nand_spl ] || find $(obj)nand_spl -name "*" -type l -print | xargs rm -f
@[ ! -d $(obj)onenand_ipl ] || find $(obj)onenand_ipl -name "*" -type l -print | xargs rm -f

@ -1393,7 +1393,7 @@ The following options need to be configured:
to run and CONFIG_SYS_I2C_SLAVE to be the address of this node (ie
the CPU's i2c node address).
Now, the u-boot i2c code for the mpc8xx (cpu/mpc8xx/i2c.c)
Now, the u-boot i2c code for the mpc8xx (arch/ppc/cpu/mpc8xx/i2c.c)
sets the CPU up as a master node and so its address should
therefore be cleared to 0 (See, eg, MPC823e User's Manual
p.16-473). So, set CONFIG_SYS_I2C_SLAVE to 0.
@ -2703,7 +2703,7 @@ Low Level (hardware related) configuration options:
CONFIG_SYS_PCI_MSTR_MEMIO_SIZE, CONFIG_SYS_POCMR1_MASK_ATTRIB, CONFIG_SYS_PCI_MSTR_IO_LOCAL,
CONFIG_SYS_PCI_MSTR_IO_BUS, CONFIG_SYS_CPU_PCI_IO_START, CONFIG_SYS_PCI_MSTR_IO_SIZE,
CONFIG_SYS_POCMR2_MASK_ATTRIB: (MPC826x only)
Overrides the default PCI memory map in cpu/mpc8260/pci.c if set.
Overrides the default PCI memory map in arch/ppc/cpu/mpc8260/pci.c if set.
- CONFIG_PCI_DISABLE_PCIE:
Disable PCI-Express on systems where it is supported but not

@ -37,8 +37,8 @@ COBJS-y += iopin.o
COBJS-y += serial.o
COBJS-y += speed.o
COBJS-${CONFIG_FSL_DIU_FB} += diu.o
COBJS-${CONFIG_FSL_DIU_FB} += ../../board/freescale/common/fsl_diu_fb.o
COBJS-${CONFIG_FSL_DIU_FB} += ../../board/freescale/common/fsl_logo_bmp.o
COBJS-${CONFIG_FSL_DIU_FB} += ../../../../board/freescale/common/fsl_diu_fb.o
COBJS-${CONFIG_FSL_DIU_FB} += ../../../../board/freescale/common/fsl_logo_bmp.o
COBJS-${CONFIG_CMD_IDE} += ide.o
COBJS-${CONFIG_IIM} += iim.o
COBJS-$(CONFIG_PCI) += pci.o

@ -1,5 +1,5 @@
/*
* needed for cpu/mpc512x/start.S
* needed for arch/ppc/cpu/mpc512x/start.S
*
* These should be auto-generated
*/

@ -26,4 +26,4 @@ PLATFORM_CPPFLAGS += -DCONFIG_MPC512X -DCONFIG_E300 \
# Use default linker script.
# A board port can override this setting in board/*/config.mk
LDSCRIPT := $(SRCTREE)/cpu/mpc512x/u-boot.lds
LDSCRIPT := $(SRCTREE)/arch/ppc/cpu/mpc512x/u-boot.lds

@ -27,7 +27,7 @@
#include <command.h>
#include <asm/io.h>
#include "../../board/freescale/common/fsl_diu_fb.h"
#include "../../../../board/freescale/common/fsl_diu_fb.h"
#if defined(CONFIG_VIDEO) || defined(CONFIG_CFB_CONSOLE)
#include <stdio_dev.h>

@ -49,7 +49,7 @@ SECTIONS
.plt : { *(.plt) }
.text :
{
cpu/mpc512x/start.o (.text)
arch/ppc/cpu/mpc512x/start.o (.text)
*(.text)
*(.got1)
. = ALIGN(16);

@ -25,11 +25,11 @@
#
#
# File: cpu/mpc5xx/Makefile
# File: arch/ppc/cpu/mpc5xx/Makefile
#
# Discription: Makefile to build mpc5xx cpu configuration.
# Will include top config.mk which itselfs
# uses the definitions made in cpu/mpc5xx/config.mk
# uses the definitions made in arch/ppc/cpu/mpc5xx/config.mk
#

@ -33,4 +33,4 @@ PLATFORM_RELFLAGS += -fPIC -meabi
PLATFORM_CPPFLAGS += -DCONFIG_5xx -ffixed-r2 -mpowerpc -msoft-float
# Use default linker script. Board port can override in board/*/config.mk
LDSCRIPT := $(SRCTREE)/cpu/mpc5xx/u-boot.lds
LDSCRIPT := $(SRCTREE)/arch/ppc/cpu/mpc5xx/u-boot.lds

@ -55,7 +55,7 @@ SECTIONS
/* WARNING - the following is hand-optimized to fit within */
/* the sector layout of our flash chips! XXX FIXME XXX */
cpu/mpc5xx/start.o (.text)
arch/ppc/cpu/mpc5xx/start.o (.text)
*(.text)
*(.got1)

@ -27,4 +27,4 @@ PLATFORM_CPPFLAGS += -DCONFIG_MPC5xxx -ffixed-r2 \
-mstring -mcpu=603e -mmultiple
# Use default linker script. Board port can override in board/*/config.mk
LDSCRIPT := $(SRCTREE)/cpu/mpc5xxx/u-boot.lds
LDSCRIPT := $(SRCTREE)/arch/ppc/cpu/mpc5xxx/u-boot.lds

@ -55,8 +55,8 @@ SECTIONS
/* WARNING - the following is hand-optimized to fit within */
/* the sector layout of our flash chips! XXX FIXME XXX */
cpu/mpc5xxx/start.o (.text)
cpu/mpc5xxx/traps.o (.text)
arch/ppc/cpu/mpc5xxx/start.o (.text)
arch/ppc/cpu/mpc5xxx/traps.o (.text)
lib/crc32.o (.text)
arch/ppc/lib/cache.o (.text)
arch/ppc/lib/time.o (.text)

@ -52,7 +52,7 @@ SECTIONS
.plt : { *(.plt) }
.text :
{
cpu/mpc5xxx/start.o (.text)
arch/ppc/cpu/mpc5xxx/start.o (.text)
*(.text)
*(.got1)
. = ALIGN(16);

@ -27,4 +27,4 @@ PLATFORM_CPPFLAGS += -DCONFIG_MPC8220 -ffixed-r2 \
-mstring -mcpu=603e -mmultiple
# Use default linker script. Board port can override in board/*/config.mk
LDSCRIPT := $(SRCTREE)/cpu/mpc8220/u-boot.lds
LDSCRIPT := $(SRCTREE)/arch/ppc/cpu/mpc8220/u-boot.lds

@ -52,7 +52,7 @@ SECTIONS
.plt : { *(.plt) }
.text :
{
cpu/mpc8220/start.o (.text)
arch/ppc/cpu/mpc8220/start.o (.text)
*(.text)
*(.got1)
. = ALIGN(16);

@ -26,4 +26,4 @@ PLATFORM_RELFLAGS += -fPIC -meabi
PLATFORM_CPPFLAGS += -DCONFIG_MPC824X -ffixed-r2 -mstring -mcpu=603e -msoft-float
# Use default linker script. Board port can override in board/*/config.mk
LDSCRIPT := $(SRCTREE)/cpu/mpc824x/u-boot.lds
LDSCRIPT := $(SRCTREE)/arch/ppc/cpu/mpc824x/u-boot.lds

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save