summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/arm/gp32/startup
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-05-06 20:54:06 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-05-06 20:54:06 +0000
commit0542a23b3fe475cf0249dc37fd739a8e8b8209d8 (patch)
tree1c3ee5200eb748f44d2af5ca0e78c383df4eb2f6 /c/src/lib/libbsp/arm/gp32/startup
parent2008-05-06 Joel Sherrill <joel.sherrill@OARcorp.com> (diff)
downloadrtems-0542a23b3fe475cf0249dc37fd739a8e8b8209d8.tar.bz2
2008-05-06 Ray Xu <rayx.cn@gmail.com>
* console/uart.c, include/bsp.h, smc/smc.c, startup/bspstart.c: Merge smdk2410 with gp32.
Diffstat (limited to 'c/src/lib/libbsp/arm/gp32/startup')
-rw-r--r--c/src/lib/libbsp/arm/gp32/startup/bspstart.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/arm/gp32/startup/bspstart.c b/c/src/lib/libbsp/arm/gp32/startup/bspstart.c
index 739ebe77e3..0b34e58190 100644
--- a/c/src/lib/libbsp/arm/gp32/startup/bspstart.c
+++ b/c/src/lib/libbsp/arm/gp32/startup/bspstart.c
@@ -18,7 +18,7 @@
#include <rtems/libcsupport.h>
#include <rtems/libio.h>
#include <rtems/bspIo.h>
-#include <s3c2400.h>
+#include <s3c24xx.h>
/*-------------------------------------------------------------------------+
| Global Variables
@@ -92,8 +92,11 @@ void bsp_start_default( void )
int i;
/* stop RTC */
+#ifdef CPU_S3C2400
rTICINT=0x0;
-
+#else
+ rTICNT=0x0;
+#endif
/* stop watchdog,ADC and timers */
rWTCON=0x0;
rTCON=0x0;