From: Michal Simek Date: Mon, 24 Sep 2012 13:06:24 +0000 (+0200) Subject: zynq: Move CONFIG_PANIC_HANG to zynq_common - debug option X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4e697ca7efc26f92cba25d0b61c8968006870cf0;p=thirdparty%2Fu-boot.git zynq: Move CONFIG_PANIC_HANG to zynq_common - debug option Signed-off-by: Michal Simek --- diff --git a/include/configs/zynq_afx.h b/include/configs/zynq_afx.h index eeb374c0b4c..926b2fe72c6 100644 --- a/include/configs/zynq_afx.h +++ b/include/configs/zynq_afx.h @@ -32,7 +32,6 @@ #undef CONFIG_CMD_SETGETDCR /* README says 4xx only */ #define CONFIG_TIMESTAMP /* print image timestamp on bootm, etc */ -#define CONFIG_PANIC_HANG /* For development/debugging */ #define CONFIG_AUTO_COMPLETE #define CONFIG_CMDLINE_EDITING diff --git a/include/configs/zynq_common.h b/include/configs/zynq_common.h index 6cf8ea05271..3f7f3aae8e7 100644 --- a/include/configs/zynq_common.h +++ b/include/configs/zynq_common.h @@ -121,6 +121,13 @@ #endif +/* For development/debugging */ +#ifdef DEBUG +# define CONFIG_CMD_REGINFO +# define CONFIG_PANIC_HANG +#endif + + #include diff --git a/include/configs/zynq_cseflash.h b/include/configs/zynq_cseflash.h index e5189056ef2..06bd6bc21bb 100644 --- a/include/configs/zynq_cseflash.h +++ b/include/configs/zynq_cseflash.h @@ -58,8 +58,6 @@ //#define CONFIG_TIMESTAMP /* print image timestamp on bootm, etc */ -#define CONFIG_PANIC_HANG /* For development/debugging */ - //#define CONFIG_AUTO_COMPLETE #define CONFIG_CMDLINE_EDITING diff --git a/include/configs/zynq_ep107.h b/include/configs/zynq_ep107.h index df2c2962021..8795762f3e5 100644 --- a/include/configs/zynq_ep107.h +++ b/include/configs/zynq_ep107.h @@ -70,7 +70,6 @@ #define CONFIG_TIMESTAMP /* print image timestamp on bootm, etc */ -#define CONFIG_PANIC_HANG /* For development/debugging */ #define CONFIG_AUTO_COMPLETE #define CONFIG_CMDLINE_EDITING diff --git a/include/configs/zynq_zc70x.h b/include/configs/zynq_zc70x.h index e2c9c2b3024..09b83ea1fd4 100644 --- a/include/configs/zynq_zc70x.h +++ b/include/configs/zynq_zc70x.h @@ -34,7 +34,6 @@ #define CONFIG_TIMESTAMP /* print image timestamp on bootm, etc */ -#define CONFIG_PANIC_HANG /* For development/debugging */ #define CONFIG_AUTO_COMPLETE #define CONFIG_CMDLINE_EDITING diff --git a/include/configs/zynq_zc770.h b/include/configs/zynq_zc770.h index 6fe8559b8d3..e54c52acb5d 100644 --- a/include/configs/zynq_zc770.h +++ b/include/configs/zynq_zc770.h @@ -51,7 +51,6 @@ #define CONFIG_TIMESTAMP /* print image timestamp on bootm, etc */ -#define CONFIG_PANIC_HANG /* For development/debugging */ #define CONFIG_AUTO_COMPLETE #define CONFIG_CMDLINE_EDITING diff --git a/include/configs/zynq_zed.h b/include/configs/zynq_zed.h index f625e3f03b2..147568a1500 100644 --- a/include/configs/zynq_zed.h +++ b/include/configs/zynq_zed.h @@ -54,8 +54,6 @@ #define CONFIG_TIMESTAMP /* print image timestamp on bootm, etc */ -#define CONFIG_PANIC_HANG /* For development/debugging */ - #define CONFIG_AUTO_COMPLETE #define CONFIG_CMDLINE_EDITING