summaryrefslogtreecommitdiff
path: root/include/asm-blackfin/config.h
diff options
context:
space:
mode:
authorTom Rix <Tom.Rix@windriver.com>2010-01-23 07:22:23 -0600
committerTom Rix <Tom.Rix@windriver.com>2010-01-23 07:22:23 -0600
commit790af6ed08cc3675267191eb60403bd4f0d9a03c (patch)
treeded9dced10adeea568982bf634b9dc7d3c00f537 /include/asm-blackfin/config.h
parent69df282a781dfe7a1bfc62acf0605992d3ea6c52 (diff)
parent57ae8a5cced612088104303777e71a3dc89c00ef (diff)
downloadu-boot-imx-790af6ed08cc3675267191eb60403bd4f0d9a03c.zip
u-boot-imx-790af6ed08cc3675267191eb60403bd4f0d9a03c.tar.gz
u-boot-imx-790af6ed08cc3675267191eb60403bd4f0d9a03c.tar.bz2
Merge branch 'r-ml-master' into t-master
Diffstat (limited to 'include/asm-blackfin/config.h')
-rw-r--r--include/asm-blackfin/config.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/asm-blackfin/config.h b/include/asm-blackfin/config.h
index 0ae838a..7455685 100644
--- a/include/asm-blackfin/config.h
+++ b/include/asm-blackfin/config.h
@@ -66,6 +66,11 @@
# error CONFIG_PLL_BYPASS: Invalid value: must be 0 or 1
#endif
+/* If we are using KGDB, make sure we defer exceptions */
+#ifdef CONFIG_CMD_KGDB
+# define CONFIG_EXCEPTION_DEFER 1
+#endif
+
/* Using L1 scratch pad makes sense for everyone by default. */
#ifndef CONFIG_LINUX_CMDLINE_ADDR
# define CONFIG_LINUX_CMDLINE_ADDR L1_SRAM_SCRATCH
@@ -138,6 +143,8 @@
#endif
#ifndef CONFIG_SYS_CBSIZE
# define CONFIG_SYS_CBSIZE 1024
+#elif defined(CONFIG_CMD_KGDB) && CONFIG_SYS_CBSIZE < 1024
+# error "kgdb needs cbsize to be >= 1024"
#endif
#ifndef CONFIG_SYS_BARGSIZE
# define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE