]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: mvebu: prepare pm-board.c for the introduction of Armada 38x support
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 8 Jul 2015 15:02:33 +0000 (17:02 +0200)
committerGregory CLEMENT <gregory.clement@free-electrons.com>
Sat, 25 Jul 2015 15:16:54 +0000 (17:16 +0200)
commitc0f339b113dd392a28e7591f8e629ff1f7344734
treeaf7a7fdf897488e18c543947a21d52b904595b6d
parentbe08ad9936312c4de0eba34f8cbe9a0b364a8ff6
ARM: mvebu: prepare pm-board.c for the introduction of Armada 38x support

The pm-board.c code contains the board-specific logic to enter suspend
to RAM. Until now, the code supported only the Armada XP GP board, so
all functions and symbols were named with armada_xp_gp. However, it
turns out that the Armada 388 GP also uses the same 3 GPIOs protocol
to talk to the PIC microcontroller that controls the power supply.

Since we are going to re-use the same code with no change for Armada
38x, this commit renames the functions and symbols to use just
"armada" instead of "armada_xp_gp". Better names can be found if one
day other boards having a different protocol/mechanism are supported
in the kernel.

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-board.c