mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-10 19:28:00 +01:00
qca: uart: ipq807x: Removed serial console initialization
U-boot is handed over with serial console initialized from sbl. Hence removing re-initialization. Change-Id: I205e3147e5829879c61421fb97f33844fdc24bc2 Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
This commit is contained in:
parent
de819d1841
commit
eb607a330e
2 changed files with 1 additions and 24 deletions
|
|
@ -21,21 +21,6 @@
|
|||
reg = <0x78B3000 0x200>;
|
||||
id = <4>;
|
||||
bit_rate = <0xee>;
|
||||
serial_gpio {
|
||||
gpio1 {
|
||||
gpio = <23>;
|
||||
func = <2>;
|
||||
pull = <GPIO_PULL_DOWN>;
|
||||
oe = <GPIO_OE_ENABLE>;
|
||||
};
|
||||
|
||||
gpio2 {
|
||||
gpio = <24>;
|
||||
func = <2>;
|
||||
pull = <GPIO_NO_PULL>;
|
||||
oe = <GPIO_OE_ENABLE>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
serial@78B0000 {
|
||||
|
|
|
|||
|
|
@ -210,14 +210,6 @@ void qca_serial_init(struct ipq_serial_platdata *plat)
|
|||
{
|
||||
int node, uart2_node;
|
||||
|
||||
writel(1, GCC_BLSP1_UART1_APPS_CBCR);
|
||||
|
||||
node = fdt_path_offset(gd->fdt_blob, "/serial@78B3000/serial_gpio");
|
||||
if (node < 0) {
|
||||
printf("Could not find serial_gpio node\n");
|
||||
return;
|
||||
}
|
||||
|
||||
if (plat->port_id == 1) {
|
||||
uart2_node = fdt_path_offset(gd->fdt_blob, "uart2");
|
||||
if (uart2_node < 0) {
|
||||
|
|
@ -228,8 +220,8 @@ void qca_serial_init(struct ipq_serial_platdata *plat)
|
|||
uart2_node, "serial_gpio");
|
||||
uart2_clock_config(plat->m_value, plat->n_value, plat->d_value);
|
||||
writel(1, GCC_BLSP1_UART2_APPS_CBCR);
|
||||
qca_gpio_init(node);
|
||||
}
|
||||
qca_gpio_init(node);
|
||||
}
|
||||
|
||||
unsigned long timer_read_counter(void)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue