diff options
author | marcel <marcel@FreeBSD.org> | 2012-11-27 01:10:58 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2012-11-27 01:10:58 +0000 |
commit | ba46bc2527cbd2274997947bb2ccae89c759f885 (patch) | |
tree | cfd7ff1b9a4bcd6f286632871173e44a0e60adb2 | |
parent | d5cc776451009ee378dd1fe498567ba7f7c4f844 (diff) | |
download | FreeBSD-src-ba46bc2527cbd2274997947bb2ccae89c759f885.zip FreeBSD-src-ba46bc2527cbd2274997947bb2ccae89c759f885.tar.gz |
Allow building LINT by defining both SAMPLE_AT_RESET on the one hand
and SAMPLE_AT_RESET_{LO|HI} on the other. It doesn't matter which
values they take, as long as they are defined.
-rw-r--r-- | sys/arm/mv/mvreg.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/arm/mv/mvreg.h b/sys/arm/mv/mvreg.h index 076885c..f4887b8 100644 --- a/sys/arm/mv/mvreg.h +++ b/sys/arm/mv/mvreg.h @@ -336,14 +336,15 @@ #define SAMPLE_AT_RESET 0x10 #elif defined(SOC_MV_KIRKWOOD) #define SAMPLE_AT_RESET 0x30 -#elif defined(SOC_MV_DISCOVERY) +#elif defined(SOC_MV_FREY) +#define SAMPLE_AT_RESET 0x100 +#endif +#if defined(SOC_MV_DISCOVERY) #define SAMPLE_AT_RESET_LO 0x30 #define SAMPLE_AT_RESET_HI 0x34 #elif defined(SOC_MV_DOVE) #define SAMPLE_AT_RESET_LO 0x14 #define SAMPLE_AT_RESET_HI 0x18 -#elif defined(SOC_MV_FREY) -#define SAMPLE_AT_RESET 0x100 #elif defined(SOC_MV_ARMADAXP) #define SAMPLE_AT_RESET_LO 0x30 #define SAMPLE_AT_RESET_HI 0x34 |