ARM: mvebu: prepare mvebu_pm_store_bootinfo() to support multiple SoCs
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 8 Jul 2015 15:02:32 +0000 (17:02 +0200)
committerGregory CLEMENT <gregory.clement@free-electrons.com>
Sat, 25 Jul 2015 15:16:51 +0000 (17:16 +0200)
commit88ed69f2a1e1e8e5eb9e16d8cdebd9d5f1deef67
tree0f09f4712704e9c34a28c84b3c29781861a3a939
parenta101b53d3af16255c0038aad26902be590a96ffa
ARM: mvebu: prepare mvebu_pm_store_bootinfo() to support multiple SoCs

As we are going to introduce support for Armada 38x in pm.c, split out
the Armada XP part of mvebu_pm_store_bootinfo() into
mvebu_pm_store_armadaxp_bootinfo(), and make the former retunr an
error when an unsupported SoC is used.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
arch/arm/mach-mvebu/pm.c