mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 20:32:04 +09:00
rk30: add early printk
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user