powerpc, 8xx: move immap.c in arch/powerpc/cpu/mpc8xx/

immap.c used to be common to several CPUs. It is now
only linked to the 8xx, so this patch moves it into
arch/powerpc/cpu/mpc8xx/

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Reviewed-by: Heiko Schocher <hs@denx.de>
master
Christophe Leroy 7 years ago committed by Tom Rini
parent 907208c452
commit debd1f3c33
  1. 2
      arch/powerpc/Kconfig
  2. 9
      arch/powerpc/cpu/mpc8xx/Kconfig
  3. 1
      arch/powerpc/cpu/mpc8xx/Makefile
  4. 3
      arch/powerpc/cpu/mpc8xx/immap.c
  5. 7
      arch/powerpc/lib/Kconfig
  6. 1
      arch/powerpc/lib/Makefile

@ -34,8 +34,6 @@ config 8xx
endchoice
source "arch/powerpc/lib/Kconfig"
source "arch/powerpc/cpu/mpc83xx/Kconfig"
source "arch/powerpc/cpu/mpc85xx/Kconfig"
source "arch/powerpc/cpu/mpc86xx/Kconfig"

@ -10,4 +10,13 @@ choice
endchoice
comment "Specific commands"
config CMD_IMMAP
bool "Enable various commands to dump IMMR information"
help
This enables various commands such as:
siuinfo - print System Interface Unit (SIU) registers
memcinfo - print Memory Controller registers
endmenu

@ -11,6 +11,7 @@ obj-y += cpu.o
obj-y += cpu_init.o
obj-y += fec.o
obj-$(CONFIG_OF_LIBFDT) += fdt.o
obj-$(CONFIG_CMD_IMMAP) += immap.o
obj-y += interrupts.o
obj-y += serial.o
obj-y += speed.o

@ -12,8 +12,6 @@
#include <common.h>
#include <command.h>
#if defined(CONFIG_8xx)
#include <asm/8xx_immap.h>
#include <commproc.h>
#include <asm/iopin_8xx.h>
@ -394,4 +392,3 @@ U_BOOT_CMD(
"print Baud Rate Generator (BRG) registers",
""
);
#endif

@ -1,7 +0,0 @@
config CMD_IMMAP
bool "Enable various commands to dump IMMR information"
help
This enables various commands such as:
siuinfo - print System Interface Unit (SIU) registers
memcinfo - print Memory Controller registers

@ -32,7 +32,6 @@ obj-$(CONFIG_BAT_RW) += bat_rw.o
obj-$(CONFIG_CMD_BOOTM) += bootm.o
obj-y += cache.o
obj-y += extable.o
obj-$(CONFIG_CMD_IMMAP) += immap.o
obj-y += interrupts.o
obj-$(CONFIG_CMD_KGDB) += kgdb.o
obj-y += stack.o

Loading…
Cancel
Save