lm3s: fix flash_lm3s_seek() end position.
[bertos.git] / bertos / cpu / cortex-m3 / drv / ser_lm3s.c
index 717ffa587499f2fc9de3fff1da8bb45816ca8cb4..8de8ce6681f3a88a55e7bb02b4db86800109645c 100644 (file)
@@ -36,7 +36,6 @@
  */
 
 #include <cfg/macros.h> /* for BV() */
-#include <drv/clock_lm3s.h> /* lm3s_busyWait() */
 #include <drv/gpio_lm3s.h>
 #include <drv/ser_p.h>
 #include <drv/ser.h>
@@ -92,12 +91,6 @@ static const struct gpio_uart_info gpio_uart[SER_CNT] =
        },
 };
 
-/* Clear the flags register */
-INLINE void lm3s_uartClear(uint32_t base)
-{
-       HWREG(base + UART_O_FR) = 0;
-}
-
 void lm3s_uartSetBaudRate(uint32_t base, unsigned long baud)
 {
        unsigned long div;