diff options
author | Hou Zhiqiang <Zhiqiang.Hou@nxp.com> | 2016-06-28 20:18:16 +0800 |
---|---|---|
committer | York Sun <york.sun@nxp.com> | 2016-07-19 11:34:07 -0700 |
commit | 45684ae37bf96b455a1d4a957b80551dc2c85959 (patch) | |
tree | 944aee501a67874cda09a402654e5a29b53128a0 /arch/arm/lib/bootm-fdt.c | |
parent | 032d5bb4aed40f1d0de0698501fcacee594caabc (diff) | |
download | u-boot-45684ae37bf96b455a1d4a957b80551dc2c85959.tar.gz u-boot-45684ae37bf96b455a1d4a957b80551dc2c85959.tar.xz u-boot-45684ae37bf96b455a1d4a957b80551dc2c85959.zip |
ARMv8/PSCI: Fixup the device tree for PSCI
Set the enable-method in the cpu node to PSCI, and create device
node for PSCI, when PSCI was enabled.
Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'arch/arm/lib/bootm-fdt.c')
-rw-r--r-- | arch/arm/lib/bootm-fdt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/lib/bootm-fdt.c b/arch/arm/lib/bootm-fdt.c index 76b75d8e46..fe5b488339 100644 --- a/arch/arm/lib/bootm-fdt.c +++ b/arch/arm/lib/bootm-fdt.c @@ -45,7 +45,7 @@ int arch_fixup_fdt(void *blob) if (ret) return ret; -#ifdef CONFIG_ARMV7_NONSEC +#if defined(CONFIG_ARMV7_NONSEC) || defined(CONFIG_ARMV8_PSCI) ret = psci_update_dt(blob); if (ret) return ret; |