mirror of
https://github.com/torvalds/linux.git
synced 2026-06-09 07:03:37 +02:00
rk2928: rk2928_a720_defconfig: add usb debug config
This commit is contained in:
parent
3007ce0c88
commit
17377344c7
|
|
@ -23,7 +23,7 @@ CONFIG_MODULE_UNLOAD=y
|
|||
CONFIG_MODULE_FORCE_UNLOAD=y
|
||||
CONFIG_ARCH_RK2928=y
|
||||
CONFIG_RK_CLOCK_PROC=y
|
||||
CONFIG_RK_DEBUG_UART=0
|
||||
CONFIG_RK_USB_UART=y
|
||||
CONFIG_MACH_RK2928_A720=y
|
||||
CONFIG_FIQ_DEBUGGER=y
|
||||
CONFIG_FIQ_DEBUGGER_NO_SLEEP=y
|
||||
|
|
|
|||
|
|
@ -117,6 +117,18 @@ extern int __init clk_disable_unused(void);
|
|||
void __init rk2928_map_io(void)
|
||||
{
|
||||
rk2928_map_common_io();
|
||||
#ifdef DEBUG_UART_BASE
|
||||
#ifdef CONFIG_RK_USB_UART
|
||||
writel_relaxed(0x30003000, RK2928_GRF_BASE + GRF_UOC1_CON4);
|
||||
#endif
|
||||
writel_relaxed(0x07, DEBUG_UART_BASE + 0x88);
|
||||
writel_relaxed(0x07, DEBUG_UART_BASE + 0x88);
|
||||
writel_relaxed(0x00, DEBUG_UART_BASE + 0x04);
|
||||
writel_relaxed(0x83, DEBUG_UART_BASE + 0x0c);
|
||||
writel_relaxed(0x0d, DEBUG_UART_BASE + 0x00);
|
||||
writel_relaxed(0x00, DEBUG_UART_BASE + 0x04);
|
||||
writel_relaxed(0x03, DEBUG_UART_BASE + 0x0c);
|
||||
#endif
|
||||
rk29_setup_early_printk();
|
||||
rk2928_cpu_axi_init();
|
||||
rk29_sram_init();
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user