sam3 ethernet: remove kludge to fix early sam3x-ek ethernet.
[bertos.git] / bertos / cpu / cortex-m3 / hw / init_cm3.c
index 65009d35967c0b1fa6759a117e88cf0c2047af6c..4ce2f86f9ff9baf226e3617666757ccdbc776c8c 100644 (file)
 #include <cpu/types.h>
 
 #include <drv/irq_cm3.h>
+#include <drv/clock_cm3.h>
 
 #include <kern/proc_p.h>
 
-#if CPU_CM3_LM3S
-#include <drv/clock_lm3s.h>
-#include <io/lm3s.h>
-#elif CPU_CM3_STM32
-#include <drv/clock_stm32.h>
-#include <io/stm32.h>
-#endif
+#include <io/cm3.h>
 
+#ifndef __IAR_SYSTEMS_ICC__
 extern size_t __text_end, __data_start, __data_end, __bss_start, __bss_end;
+#endif
 
 extern void __init2(void);