summaryrefslogtreecommitdiffstats
path: root/arch/mips/include
diff options
context:
space:
mode:
authorAntony Pavlov <antonynpavlov@gmail.com>2015-11-10 10:27:16 +0300
committerSascha Hauer <s.hauer@pengutronix.de>2015-11-11 08:38:24 +0100
commita919cac585e8849b539af2b273eda3d3d27408a6 (patch)
treeca5b97c757a8d294a6f27d60bdc7b53dfdbd6829 /arch/mips/include
parentf1db81f83899630b182972bf44c7ed1ca2a4f9e5 (diff)
downloadbarebox-a919cac585e8849b539af2b273eda3d3d27408a6.tar.gz
barebox-a919cac585e8849b539af2b273eda3d3d27408a6.tar.xz
MIPS: allow user to pass incorrect address to md command
This commit makes it possible to handle exception on incorrect data access so 'md' command just show 'xxxxxxxx' instead of crashing the system. barebox:/ md -l 0xa0000003+4 a0000003: xxxxxxxx .... Without this commit we will get this barebox:/ md -l 0xa0000003+4 a0000003: Ooops, address error on load or ifetch! ... ### ERROR ### Please RESET the board ### Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/mips/include')
-rw-r--r--arch/mips/include/asm/barebox.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/include/asm/barebox.h b/arch/mips/include/asm/barebox.h
index 499b731924..e5b964ca1b 100644
--- a/arch/mips/include/asm/barebox.h
+++ b/arch/mips/include/asm/barebox.h
@@ -15,6 +15,6 @@
#ifndef _ASM_MIPS_BAREBOX_H_
#define _ASM_MIPS_BAREBOX_H_
-/* nothing special yet */
+#define ARCH_HAS_DATA_ABORT_MASK
#endif /* _ASM_MIPS_BAREBOX_H_ */