ARM: keystone2: move platform notifier initialisation into platform init
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 4 Apr 2015 10:30:04 +0000 (11:30 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 1 Jun 2015 22:45:47 +0000 (23:45 +0100)
commit30b5f4d6128e12c17a0e54cac685a048c3d8d862
tree5dadad77b29a0fc03cff7d6aef947486c29a0500
parentb787f68c36d49bb1d9236f403813641efa74a031
ARM: keystone2: move platform notifier initialisation into platform init

We ideally want the init_meminfo function to do nothing but return the
delta to be applied to PHYS_OFFSET - it should do nothing else.  As we
can detect in platform init code whether we are running in the high
physical address space, move the platform notifier initialisation
entirely into the platform init code.

Acked-by: Santosh Shilimkar <ssantosh@kernel.org>
Tested-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-keystone/keystone.c