提交 e95acd3d 编写于 作者: F Florian Fainelli 提交者: Ralf Baechle

MIPS: BCM63XX: use linux/serial_bcm63xx.h

Update the early_printk code to include linux/serial_bcm63xx.h which
provides the definitions for the UART block registers. While at it,
remove the inclusion of serial_bcm63xx.h which was just there to allow
smooth transition.
Signed-off-by: NFlorian Fainelli <florian@openwrt.org>
Signed-off-by: NJohn Crispin <blogic@openwrt.org>
Patchwork: http://patchwork.linux-mips.org/patch/6203/
上级 d29e0d04
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
#include <linux/init.h> #include <linux/init.h>
#include <bcm63xx_io.h> #include <bcm63xx_io.h>
#include <bcm63xx_regs.h> #include <linux/serial_bcm63xx.h>
static void wait_xfered(void) static void wait_xfered(void)
{ {
......
...@@ -462,13 +462,6 @@ ...@@ -462,13 +462,6 @@
/* Watchdog soft reset register (BCM6328 only) */ /* Watchdog soft reset register (BCM6328 only) */
#define WDT_SOFTRESET_REG 0xc #define WDT_SOFTRESET_REG 0xc
/*************************************************************************
* _REG relative to RSET_UARTx
*************************************************************************/
#include <linux/serial_bcm63xx.h>
/************************************************************************* /*************************************************************************
* _REG relative to RSET_GPIO * _REG relative to RSET_GPIO
*************************************************************************/ *************************************************************************/
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册