rk30: add early printk

This commit is contained in:
黄涛
2012-02-07 18:46:54 +08:00
parent 5c373f9e3d
commit bf4c36af77
2 changed files with 8 additions and 1 deletions

View File

@@ -5,5 +5,9 @@ obj-y += io.o
obj-y += iomux.o
obj-y += reset.o
obj-y += timer.o
obj-y += ../mach-rk29/early_printk.o
ifndef CONFIG_DEBUG_LL
obj-y += ../kernel/debug.o
endif
obj-$(CONFIG_LOCAL_TIMERS) += localtimer.o
obj-$(CONFIG_MACH_RK30_SDK) += board-rk30-sdk.o

View File

@@ -10,6 +10,8 @@
#include <mach/gpio.h>
#include <mach/iomux.h>
extern void __init rk29_setup_early_printk(void);
void __init rk30_init_irq(void)
{
gic_init(0, IRQ_LOCALTIMER, RK30_GICD_BASE, RK30_GICC_BASE);
@@ -19,7 +21,8 @@ void __init rk30_init_irq(void)
void __init rk30_map_io(void)
{
rk30_map_common_io();
rk30_iomux_init();
rk29_setup_early_printk();
rk30_iomux_init();
}
void __init rk30_fixup(struct machine_desc *desc, struct tag *tags,