diff options
author | Tom Rini <trini@konsulko.com> | 2017-06-04 01:05:04 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-06-04 01:05:04 +0300 |
commit | 541f538f4ca50082f77f7f34f05950d57804b1cc (patch) | |
tree | 09e94cc98e5d024bd016ba2b04b61f0b816304c6 /board/freescale/common | |
parent | b07d044d5bfa8c440b172eb3f8a9d537f82e21b6 (diff) | |
parent | 8d75d52878514e23e0bd9c30743255570d05409c (diff) | |
download | u-boot-541f538f4ca50082f77f7f34f05950d57804b1cc.tar.xz |
Merge git://git.denx.de/u-boot-fsl-qoriq
Diffstat (limited to 'board/freescale/common')
-rw-r--r-- | board/freescale/common/ns_access.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/board/freescale/common/ns_access.c b/board/freescale/common/ns_access.c index 81c921122e..1c2287d22a 100644 --- a/board/freescale/common/ns_access.c +++ b/board/freescale/common/ns_access.c @@ -39,7 +39,10 @@ static void enable_devices_ns_access(struct csu_ns_dev *ns_dev, uint32_t num) void enable_layerscape_ns_access(void) { - enable_devices_ns_access(ns_dev, ARRAY_SIZE(ns_dev)); +#ifdef CONFIG_ARM64 + if (current_el() == 3) +#endif + enable_devices_ns_access(ns_dev, ARRAY_SIZE(ns_dev)); } void set_pcie_ns_access(int pcie, u16 val) |