diff options
author | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2013-01-14 17:00:02 +0100 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2013-01-14 17:00:02 +0100 |
commit | a17617d6553369ba72c080128ed8d0b0c33dfc89 (patch) | |
tree | c8903ddc48e628192c56cc95667f702fd1d77c6e /arch/arm/cpu/armv7 | |
parent | 1199c377cf14c240b903e351ab02b3b2cd3800c6 (diff) | |
parent | 11d80af4876b609832856853b63d06a1011bccf1 (diff) | |
download | u-boot-imx-a17617d6553369ba72c080128ed8d0b0c33dfc89.zip u-boot-imx-a17617d6553369ba72c080128ed8d0b0c33dfc89.tar.gz u-boot-imx-a17617d6553369ba72c080128ed8d0b0c33dfc89.tar.bz2 |
Merge branch 'u-boot-imx/master' into 'u-boot-arm/master'
Diffstat (limited to 'arch/arm/cpu/armv7')
-rw-r--r-- | arch/arm/cpu/armv7/mx6/lowlevel_init.S | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv7/mx6/lowlevel_init.S b/arch/arm/cpu/armv7/mx6/lowlevel_init.S index acadef2..7b60ca7 100644 --- a/arch/arm/cpu/armv7/mx6/lowlevel_init.S +++ b/arch/arm/cpu/armv7/mx6/lowlevel_init.S @@ -20,6 +20,16 @@ #include <linux/linkage.h> +.macro init_arm_errata + /* ARM erratum ID #743622 */ + mrc p15, 0, r10, c15, c0, 1 /* read diagnostic register */ + orr r10, r10, #1 << 6 /* set bit #6 */ + /* ARM erratum ID #751472 */ + orr r10, r10, #1 << 11 /* set bit #11 */ + mcr p15, 0, r10, c15, c0, 1 /* write diagnostic register */ +.endm + ENTRY(lowlevel_init) + init_arm_errata mov pc, lr ENDPROC(lowlevel_init) |