u-boot/arch/powerpc/cpu/mpc8xx
Christophe Leroy 374a0e306e powerpc: mpc8xx: harmonise initialisation of the immap local pointer
In most places, immap local pointer is defined as
	immap_t __iomem *immap = (immap_t __iomem *)CONFIG_SYS_IMMR;
In a few places, it is defined as
	immap_t __iomem *immap = (immap_t __iomem *)(immr & 0xFFFF0000);

This patch replaces the few of the latest form by the other one.

The two are fully equivalent since SPRN_IMMR is set with CONFIG_SYS_IMMR
very early in start.S

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
2018-04-06 16:30:37 -04:00
..
cache.c powerpc, 8xx: Move cache function into C files 2017-07-22 22:22:50 -04:00
config.mk powerpc: Partialy restore core of mpc8xx 2017-07-08 15:55:26 -04:00
cpu.c powerpc: mpc8xx: harmonise initialisation of the immap local pointer 2018-04-06 16:30:37 -04:00
cpu_init.c powerpc, timer: Does 8xx specific actions in 8xx cpu_init 2017-07-22 22:22:48 -04:00
fdt.c libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-03-05 10:16:28 -05:00
immap.c powerpc, 8xx: fix missing function declarations. 2017-07-23 09:23:29 -04:00
interrupts.c powerpc: Rework interrupt_init_cpu() 2017-08-26 14:56:08 -04:00
Kconfig powerpc, 8xx: Add support for MCR3000 board from CSSI 2017-07-08 15:56:06 -04:00
Makefile powerpc, 8xx: Move cache function into C files 2017-07-22 22:22:50 -04:00
reginfo.c powerpc: Remove unneccessary #ifdefs in reginfo 2017-07-22 22:22:49 -04:00
speed.c powerpc: mpc8xx: harmonise initialisation of the immap local pointer 2018-04-06 16:30:37 -04:00
start.S powerpc: move get_pvr() and get_svr() into C 2017-07-22 22:22:51 -04:00
traps.c powerpc, 8xx: fix missing function declarations. 2017-07-23 09:23:29 -04:00