diff options
author | Marek Vasut <marex@denx.de> | 2022-12-22 01:46:36 +0100 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2023-01-31 15:46:39 +0100 |
commit | ae237b1e62d9f97125990c09d3320d853bb70412 (patch) | |
tree | 40c59ba9f49cbe36aee5b65a76491e0e0101f443 /arch | |
parent | 11a1a3b73d2e3ad08cd60936da7f4ebcd2ae8e0d (diff) | |
download | u-boot-ae237b1e62d9f97125990c09d3320d853bb70412.zip u-boot-ae237b1e62d9f97125990c09d3320d853bb70412.tar.gz u-boot-ae237b1e62d9f97125990c09d3320d853bb70412.tar.bz2 |
arm: imx: Drop custom lowlevel_init
The custom lowlevel_init implementation is no longer necessary, since
it is responsible for routing and trapping SErrors in U-Boot in EL2,
which is implemented in common code since commit:
6c7691edd55 ("armv8: Always unmask SErrors")
Signed-off-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-imx/Makefile | 2 | ||||
-rw-r--r-- | arch/arm/mach-imx/lowlevel.S | 22 |
2 files changed, 0 insertions, 24 deletions
diff --git a/arch/arm/mach-imx/Makefile b/arch/arm/mach-imx/Makefile index 61b4f4f..4dfc60e 100644 --- a/arch/arm/mach-imx/Makefile +++ b/arch/arm/mach-imx/Makefile @@ -235,8 +235,6 @@ endif targets += $(addprefix ../../../,SPL spl/u-boot-spl.cfgout u-boot-dtb.cfgout u-boot.cfgout u-boot.uim spl/u-boot-nand-spl.imx) -obj-$(CONFIG_ARM64) += lowlevel.o - obj-$(CONFIG_MX5) += mx5/ obj-$(CONFIG_MX6) += mx6/ obj-$(CONFIG_MX7) += mx7/ diff --git a/arch/arm/mach-imx/lowlevel.S b/arch/arm/mach-imx/lowlevel.S deleted file mode 100644 index 158fdb7..0000000 --- a/arch/arm/mach-imx/lowlevel.S +++ /dev/null @@ -1,22 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0+ */ -/* - * Copyright 2019 NXP - */ - -#include <linux/linkage.h> - -ENTRY(lowlevel_init) - mrs x0, CurrentEL - cmp x0, #8 - b.eq 1f - ret -1: - msr daifclr, #4 - - /* set HCR_EL2.AMO to catch SERROR */ - mrs x0, hcr_el2 - orr x0, x0, #0x20 - msr hcr_el2, x0 - isb - ret -ENDPROC(lowlevel_init) |