aboutsummaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2023-04-05 22:19:57 -0400
committerTom Rini <trini@konsulko.com>2023-04-05 22:19:57 -0400
commitb0b77fdf3d7d2c1a5e48c3971a677f14e372c164 (patch)
treee9289a1148f23b78f7f76bc7bb833697db24b3d5 /board
parent487e42f7bc5e685c9337890a38358581bb4f31bc (diff)
parent8ac04e9062fc65bb09754cefefc096d554c6881c (diff)
downloadu-boot-b0b77fdf3d7d2c1a5e48c3971a677f14e372c164.zip
u-boot-b0b77fdf3d7d2c1a5e48c3971a677f14e372c164.tar.gz
u-boot-b0b77fdf3d7d2c1a5e48c3971a677f14e372c164.tar.bz2
Merge tag 'fsl-qoriq-2023-4-6' of https://source.denx.de/u-boot/custodians/u-boot-fsl-qoriqWIP/05Apr2023
convert NXP LS1028A RDB and QDS to DM_SERIAL enable DM_SERIAL for ls1088a sync serial nodes with linux for lx2160a/ls1088a
Diffstat (limited to 'board')
-rw-r--r--board/freescale/lx2160a/lx2160a.c34
1 files changed, 0 insertions, 34 deletions
diff --git a/board/freescale/lx2160a/lx2160a.c b/board/freescale/lx2160a/lx2160a.c
index 33842d0..2a75205 100644
--- a/board/freescale/lx2160a/lx2160a.c
+++ b/board/freescale/lx2160a/lx2160a.c
@@ -55,45 +55,11 @@
DECLARE_GLOBAL_DATA_PTR;
-static struct pl01x_serial_plat serial0 = {
-#if CONFIG_CONS_INDEX == 0
- .base = CFG_SYS_SERIAL0,
-#elif CONFIG_CONS_INDEX == 1
- .base = CFG_SYS_SERIAL1,
-#else
-#error "Unsupported console index value."
-#endif
- .type = TYPE_PL011,
-};
-
-U_BOOT_DRVINFO(nxp_serial0) = {
- .name = "serial_pl01x",
- .plat = &serial0,
-};
-
-static struct pl01x_serial_plat serial1 = {
- .base = CFG_SYS_SERIAL1,
- .type = TYPE_PL011,
-};
-
-U_BOOT_DRVINFO(nxp_serial1) = {
- .name = "serial_pl01x",
- .plat = &serial1,
-};
-
-static void uart_get_clock(void)
-{
- serial0.clock = get_serial_clock();
- serial1.clock = get_serial_clock();
-}
-
int board_early_init_f(void)
{
#if defined(CONFIG_SYS_I2C_EARLY_INIT) && defined(CONFIG_SPL_BUILD)
i2c_early_init_f();
#endif
- /* get required clock for UART IP */
- uart_get_clock();
#ifdef CONFIG_EMC2305
select_i2c_ch_pca9547(I2C_MUX_CH_EMC2305, 0);