summaryrefslogtreecommitdiffstats
path: root/src/target
diff options
context:
space:
mode:
authorWolfram Sang2011-05-04 22:58:16 +0200
committerHarald Welte2011-05-05 09:52:47 +0200
commit07589649b1ae07a45afc370e222374281735aa72 (patch)
treea79121f73e2087d361beb037c036578ff7f2816b /src/target
parentcfi_flash: delete unused defines (diff)
downloadosmocom-07589649b1ae07a45afc370e222374281735aa72.tar.gz
osmocom-07589649b1ae07a45afc370e222374281735aa72.tar.xz
osmocom-07589649b1ae07a45afc370e222374281735aa72.zip
uart.h: move header out of calypso-directory
Everything defined is a pretty generic interface and can be used by mediatek, too. Signed-off-by: Wolfram Sang <wolfram@the-dreams.de>
Diffstat (limited to 'src/target')
-rw-r--r--src/target/firmware/apps/loader/main.c2
-rw-r--r--src/target/firmware/board/compal_e86/init.c2
-rw-r--r--src/target/firmware/board/compal_e88/init.c2
-rw-r--r--src/target/firmware/board/compal_e99/init.c2
-rw-r--r--src/target/firmware/board/gta0x/init.c2
-rw-r--r--src/target/firmware/board/pirelli_dpl10/init.c2
-rw-r--r--src/target/firmware/calypso/uart.c2
-rw-r--r--src/target/firmware/comm/sercomm.c2
-rw-r--r--src/target/firmware/comm/sercomm_cons.c2
-rw-r--r--src/target/firmware/include/uart.h (renamed from src/target/firmware/include/calypso/uart.h)6
-rw-r--r--src/target/firmware/lib/console.c2
11 files changed, 13 insertions, 13 deletions
diff --git a/src/target/firmware/apps/loader/main.c b/src/target/firmware/apps/loader/main.c
index 4e71d98..a948934 100644
--- a/src/target/firmware/apps/loader/main.c
+++ b/src/target/firmware/apps/loader/main.c
@@ -45,7 +45,7 @@
#include <calypso/tsp.h>
#include <calypso/irq.h>
#include <calypso/misc.h>
-#include <calypso/uart.h>
+#include <uart.h>
#include <calypso/timer.h>
#include <flash/cfi_flash.h>
diff --git a/src/target/firmware/board/compal_e86/init.c b/src/target/firmware/board/compal_e86/init.c
index 537702c..1de6193 100644
--- a/src/target/firmware/board/compal_e86/init.c
+++ b/src/target/firmware/board/compal_e86/init.c
@@ -37,7 +37,7 @@
#include <calypso/dma.h>
#include <calypso/rtc.h>
#include <calypso/timer.h>
-#include <calypso/uart.h>
+#include <uart.h>
#include <calypso/backlight.h>
#include <comm/sercomm.h>
diff --git a/src/target/firmware/board/compal_e88/init.c b/src/target/firmware/board/compal_e88/init.c
index 54deb6a..a5bf880 100644
--- a/src/target/firmware/board/compal_e88/init.c
+++ b/src/target/firmware/board/compal_e88/init.c
@@ -36,7 +36,7 @@
#include <calypso/dma.h>
#include <calypso/rtc.h>
#include <calypso/timer.h>
-#include <calypso/uart.h>
+#include <uart.h>
#include <calypso/backlight.h>
#include <comm/sercomm.h>
diff --git a/src/target/firmware/board/compal_e99/init.c b/src/target/firmware/board/compal_e99/init.c
index ed45c39..0c218a8 100644
--- a/src/target/firmware/board/compal_e99/init.c
+++ b/src/target/firmware/board/compal_e99/init.c
@@ -37,7 +37,7 @@
#include <calypso/dma.h>
#include <calypso/rtc.h>
#include <calypso/timer.h>
-#include <calypso/uart.h>
+#include <uart.h>
#include <calypso/backlight.h>
#include <comm/sercomm.h>
diff --git a/src/target/firmware/board/gta0x/init.c b/src/target/firmware/board/gta0x/init.c
index 545250d..4f256ea 100644
--- a/src/target/firmware/board/gta0x/init.c
+++ b/src/target/firmware/board/gta0x/init.c
@@ -36,7 +36,7 @@
#include <calypso/dma.h>
#include <calypso/rtc.h>
#include <calypso/timer.h>
-#include <calypso/uart.h>
+#include <uart.h>
#include <calypso/backlight.h>
#include <comm/sercomm.h>
diff --git a/src/target/firmware/board/pirelli_dpl10/init.c b/src/target/firmware/board/pirelli_dpl10/init.c
index cd38839..53fb257 100644
--- a/src/target/firmware/board/pirelli_dpl10/init.c
+++ b/src/target/firmware/board/pirelli_dpl10/init.c
@@ -37,7 +37,7 @@
#include <calypso/dma.h>
#include <calypso/rtc.h>
#include <calypso/timer.h>
-#include <calypso/uart.h>
+#include <uart.h>
#include <calypso/backlight.h>
#include <comm/sercomm.h>
diff --git a/src/target/firmware/calypso/uart.c b/src/target/firmware/calypso/uart.c
index 394078d..d3ede4d 100644
--- a/src/target/firmware/calypso/uart.c
+++ b/src/target/firmware/calypso/uart.c
@@ -33,7 +33,7 @@
#include <comm/sercomm.h>
#include <calypso/irq.h>
-#include <calypso/uart.h>
+#include <uart.h>
#define BASE_ADDR_UART_MODEM 0xffff5000
#define OFFSET_IRDA 0x800
diff --git a/src/target/firmware/comm/sercomm.c b/src/target/firmware/comm/sercomm.c
index d7f6036..f9d5bfa 100644
--- a/src/target/firmware/comm/sercomm.c
+++ b/src/target/firmware/comm/sercomm.c
@@ -43,7 +43,7 @@
#include <asm/system.h>
#include <comm/sercomm.h>
-#include <calypso/uart.h>
+#include <uart.h>
#endif
diff --git a/src/target/firmware/comm/sercomm_cons.c b/src/target/firmware/comm/sercomm_cons.c
index 987c992..a0dca40 100644
--- a/src/target/firmware/comm/sercomm_cons.c
+++ b/src/target/firmware/comm/sercomm_cons.c
@@ -26,7 +26,7 @@
#include <asm/system.h>
-#include <calypso/uart.h>
+#include <uart.h>
#include <console.h>
#include <osmocom/core/msgb.h>
diff --git a/src/target/firmware/include/calypso/uart.h b/src/target/firmware/include/uart.h
index 7eb925e..81d7a15 100644
--- a/src/target/firmware/include/calypso/uart.h
+++ b/src/target/firmware/include/uart.h
@@ -1,5 +1,5 @@
-#ifndef _CAL_UART_H
-#define _CAL_UART_H
+#ifndef _UART_H
+#define _UART_H
#include <stdint.h>
@@ -29,4 +29,4 @@ void uart_irq_enable(uint8_t uart, enum uart_irq irq, int on);
void uart_poll(uint8_t uart);
-#endif /* _CAL_UART_H */
+#endif /* _UART_H */
diff --git a/src/target/firmware/lib/console.c b/src/target/firmware/lib/console.c
index 2ec028a..7135ae2 100644
--- a/src/target/firmware/lib/console.c
+++ b/src/target/firmware/lib/console.c
@@ -23,7 +23,7 @@
#include <stdint.h>
#include <string.h>
#include <console.h>
-#include <calypso/uart.h>
+#include <uart.h>
#include <asm/system.h>