]> git.sur5r.net Git - u-boot/blobdiff - include/ns16550.h
* Patch by Pierre Aubert, 24 Nov 2003:
[u-boot] / include / ns16550.h
index b2e791a4c04e424e253d5ad596e1e0705eb862a5..4dd39fee3280212a57cb8d78ade57646b57547e2 100644 (file)
@@ -60,6 +60,15 @@ struct NS16550 {
        int pad7:24;
        unsigned char scr;              /* 7 */
        int pad8:24;
+#if defined(CONFIG_OMAP1510) || defined(CONFIG_OMAP1610)
+       unsigned char mdr1;             /* mode select reset TL16C750*/
+#endif
+#ifdef CONFIG_OMAP1510
+       int pad9:24;
+       unsigned long pad[10];
+       unsigned char osc_12m_sel;
+       int pad10:24;
+#endif
 } __attribute__ ((packed));
 #else
 #error "Please define NS16550 registers size."
@@ -102,6 +111,10 @@ typedef volatile struct NS16550 *NS16550_t;
 #define LSR_TEMT       0x40            /* Xmitter empty */
 #define LSR_ERR                0x80            /* Error */
 
+#ifdef CONFIG_OMAP1510
+#define OSC_12M_SEL    0x01            /* selects 6.5 * current clk div */
+#endif
+
 /* useful defaults for LCR */
 #define LCR_8N1                0x03