summaryrefslogtreecommitdiff
path: root/board/cogent/serial.h
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-12-15 23:26:18 +0900
committerTom Rini <trini@ti.com>2015-01-05 12:08:53 -0500
commitd19f6a60ec9a342a4dbb38396d354562b4ce3c5e (patch)
tree77c27d4f27edfea18e9016b9d5a2653e22df6708 /board/cogent/serial.h
parentaf0e35149b4063bbc7453fbc1d7d623360bc91c8 (diff)
downloadu-boot-imx-d19f6a60ec9a342a4dbb38396d354562b4ce3c5e.zip
u-boot-imx-d19f6a60ec9a342a4dbb38396d354562b4ce3c5e.tar.gz
u-boot-imx-d19f6a60ec9a342a4dbb38396d354562b4ce3c5e.tar.bz2
powerpc: remove cogent_8xx, cogent_mpc8260 board support
These boards are still non-generic boards. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Cc: Murray Jensen <Murray.Jensen@csiro.au>
Diffstat (limited to 'board/cogent/serial.h')
-rw-r--r--board/cogent/serial.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/board/cogent/serial.h b/board/cogent/serial.h
deleted file mode 100644
index 89962d8..0000000
--- a/board/cogent/serial.h
+++ /dev/null
@@ -1,15 +0,0 @@
-/* Line Status Register bits */
-#define LSR_DR 0x01 /* Data ready */
-#define LSR_OE 0x02 /* Overrun */
-#define LSR_PE 0x04 /* Parity error */
-#define LSR_FE 0x08 /* Framing error */
-#define LSR_BI 0x10 /* Break */
-#define LSR_THRE 0x20 /* Xmit holding register empty */
-#define LSR_TEMT 0x40 /* Xmitter empty */
-#define LSR_ERR 0x80 /* Error */
-
-#define CLKRATE 3686400 /* cogent motherboard serial clk = 3.6864MHz */
-#define DEFDIV 1 /* default to 230400 bps */
-
-#define br_to_div(br) (CLKRATE / (16 * (br)))
-#define div_to_br(div) (CLKRATE / (16 * (div)))