diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/configs/omap3_zoom2.h | 26 | ||||
| -rw-r--r-- | include/serial.h | 7 | 
2 files changed, 20 insertions, 13 deletions
| diff --git a/include/configs/omap3_zoom2.h b/include/configs/omap3_zoom2.h index 8aea4cbc0..d9a9c1a83 100644 --- a/include/configs/omap3_zoom2.h +++ b/include/configs/omap3_zoom2.h @@ -69,26 +69,26 @@  /*   * NS16550 Configuration + * Zoom2 uses the TL16CP754C on the debug board   */ -#define V_NS16550_CLK			48000000	/* 48MHz (APLL96/2) */ +#define CONFIG_SERIAL_MULTI		1 +/* + * 0 - 1 : first  USB with respect to the left edge of the debug board + * 2 - 3 : second USB with respect to the left edge of the debug board + */ +#define ZOOM2_DEFAULT_SERIAL_DEVICE	(&zoom2_serial_device0) + +#define V_NS16550_CLK			(1843200)	/* 1.8432 Mhz */  #define CONFIG_SYS_NS16550 -#define CONFIG_SYS_NS16550_SERIAL -#define CONFIG_SYS_NS16550_REG_SIZE	(-4) +#define CONFIG_SYS_NS16550_REG_SIZE	(-2)  #define CONFIG_SYS_NS16550_CLK		V_NS16550_CLK - -/* - * select serial console configuration - */ -#define CONFIG_CONS_INDEX		3 -#define CONFIG_SYS_NS16550_COM3		OMAP34XX_UART3 -#define CONFIG_SERIAL3			3	/* UART3 */ +#define CONFIG_BAUDRATE			115200 +#define CONFIG_SYS_BAUDRATE_TABLE	{115200}  /* allow to overwrite serial and ethaddr */  #define CONFIG_ENV_OVERWRITE -#define CONFIG_BAUDRATE			115200 -#define CONFIG_SYS_BAUDRATE_TABLE	{4800, 9600, 19200, 38400, 57600,\ -					115200} +  #define CONFIG_MMC			1  #define CONFIG_OMAP3_MMC		1  #define CONFIG_DOS_PARTITION		1 diff --git a/include/serial.h b/include/serial.h index e3d8b3679..aca522104 100644 --- a/include/serial.h +++ b/include/serial.h @@ -42,6 +42,13 @@ extern struct serial_device s3c24xx_serial1_device;  extern struct serial_device s3c24xx_serial2_device;  #endif +#if defined(CONFIG_OMAP3_ZOOM2) +extern struct serial_device zoom2_serial_device0; +extern struct serial_device zoom2_serial_device1; +extern struct serial_device zoom2_serial_device2; +extern struct serial_device zoom2_serial_device3; +#endif +  extern struct serial_device serial_ffuart_device;  extern struct serial_device serial_btuart_device;  extern struct serial_device serial_stuart_device; |