summaryrefslogtreecommitdiffstats
path: root/bsps/arm/smdk2410/include/s3c24xx.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel@rtems.org>2018-05-09 14:47:37 -0500
committerJoel Sherrill <joel@rtems.org>2018-05-09 14:47:37 -0500
commit85602e0d2ee7f19603bc57b3ecdbac93c52b7eb8 (patch)
treea5ef248be4e73c3604fe5e0b3850c287ad46488f /bsps/arm/smdk2410/include/s3c24xx.h
parentrtl22xx_t.cfg: Remove comment with -D __THUMB_INTERWORK__ (diff)
downloadrtems-85602e0d2ee7f19603bc57b3ecdbac93c52b7eb8.tar.bz2
smdk2410: Move define of CPU_S3C2410 to bspopts.h
Updates #3425.
Diffstat (limited to '')
-rw-r--r--bsps/arm/smdk2410/include/s3c24xx.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/bsps/arm/smdk2410/include/s3c24xx.h b/bsps/arm/smdk2410/include/s3c24xx.h
index 914b867abf..bb6560800b 100644
--- a/bsps/arm/smdk2410/include/s3c24xx.h
+++ b/bsps/arm/smdk2410/include/s3c24xx.h
@@ -8,10 +8,14 @@
#ifndef S3C24XX_H_
#define S3C24XX_H_
+#include <bspopts.h>
+
#ifdef CPU_S3C2400
#include<s3c2400.h>
#elif defined CPU_S3C2410
#include<s3c2410.h>
+#else
+#error "Undefined Samsung CPU model"
#endif
#endif /*S3C24XX_H_*/