rockchip: rv1126: delete some unused code for tpl
Change-Id: Iae5a157dacf8c189633ca73028b35b375688860d Signed-off-by: Tang Yun ping <typ@rock-chips.com>
This commit is contained in:
parent
a96802b209
commit
0b4032fdb0
|
|
@ -327,11 +327,6 @@ enum {
|
||||||
|
|
||||||
void board_debug_uart_init(void)
|
void board_debug_uart_init(void)
|
||||||
{
|
{
|
||||||
#ifdef CONFIG_TPL_BUILD
|
|
||||||
writel(0x03fe0000, PMUGRF_BASE + 0x144);
|
|
||||||
writel((0x7 << (12 + 16)) | (1 << 12), PMUGRF_BASE + 0x8);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(CONFIG_DEBUG_UART_BASE) && (CONFIG_DEBUG_UART_BASE == 0xff560000)
|
#if defined(CONFIG_DEBUG_UART_BASE) && (CONFIG_DEBUG_UART_BASE == 0xff560000)
|
||||||
static struct rv1126_grf * const grf = (void *)GRF_BASE;
|
static struct rv1126_grf * const grf = (void *)GRF_BASE;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue