Enable smp for HiP01 board.
Signed-off-by: Wang Long <[email protected]>
Signed-off-by: Wei Xu <[email protected]>
[olof: split off the dts change to a separate commit]
Signed-off-by: Olof Johansson <[email protected]>
Enable support for the Hisilicon HiX5HD2 SoC. This HiX5HD2 SoC series
support both single and dual Cortex-A9 cores.
Add ARCH_HIX5HD2 to distinguish HiX5HD2 from Hi3xxx.
They are different in implementation such as SMP, IPs integarted and
earlycon configure.
Signed-off-by: Haifeng Yan <[email protected]>
Signed-off-by: Jiancheng Xue <[email protected]>
Signed-off-by: Haojian Zhuang <[email protected]>
Acked-by: Wei Xu <[email protected]>
Signed-off-by: Olof Johansson <[email protected]>
The hisi SMP code always uses the hi3xxx_set_cpu() function
defined in the hotplug.c file, so we cannot build without
this when CONFIG_SMP is enabled. This patch slightly restructures
the code so we always build the parts of hotplug.c that we need
but just leave out the CPU disable logic if CONFIG_HOTPLUG_CPU
is turned off.
Signed-off-by: Arnd Bergmann <[email protected]>
Acked-by: Haojian Zhuang <[email protected]>
Since some new Hisilicon SoCs are not named as hi3xxx, rename mach-hi3xxx
to mach-hisi instead. And the pronounciation of "hisi" is similar to the
chinese pronounciation of Hisilicon. So Hisilicon guys like this name.
ARCH_HI3xxx will be renamed later since other drivers are using it and
they are still in linux-next git tree. So rename ARCH_HI3xxx later.
Signed-off-by: Haojian Zhuang <[email protected]>
Signed-off-by: Kevin Hilman <[email protected]>