summaryrefslogtreecommitdiff
path: root/include/ansi.h
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@c-s.fr>2018-03-16 17:20:33 +0100
committerTom Rini <trini@konsulko.com>2018-04-06 16:30:37 -0400
commit374a0e306e05985a2b949713b2e80d60a6268395 (patch)
treeb19bad08fe76eec9f7c70332caaa53a813d0839a /include/ansi.h
parentf110892f3da6cff453bfe35df6fc030cadb51d6c (diff)
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>
Diffstat (limited to 'include/ansi.h')
0 files changed, 0 insertions, 0 deletions