diff options
author | Jianlong Huang <jianlong.huang@starfivetech.com> | 2022-11-27 08:26:37 +0300 |
---|---|---|
committer | Jianlong Huang <jianlong.huang@starfivetech.com> | 2022-11-27 08:26:40 +0300 |
commit | 5ac796dddad5065c586360d01563db4c25a6865b (patch) | |
tree | bf0d2a55e2b4ead60feaee994d48b345e773d489 | |
parent | 95589281b9c98534c26e339f8780b739c38b0d63 (diff) | |
download | u-boot-VF2_v2.4.4.tar.xz |
board:starfive:Visionfive2 Remove uart0/sdio0/sdio1VF2_v2.4.4
Visionfive2 Remove uart0/sdio0/sdio1
Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
-rwxr-xr-x | board/starfive/visionfive2/starfive_visionfive2.c | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/board/starfive/visionfive2/starfive_visionfive2.c b/board/starfive/visionfive2/starfive_visionfive2.c index 40c758d59a..f223e2e561 100755 --- a/board/starfive/visionfive2/starfive_visionfive2.c +++ b/board/starfive/visionfive2/starfive_visionfive2.c @@ -287,28 +287,6 @@ static void jh7110_usb_init(bool usb2_enable) SYS_IOMUX_DOUT(25, 7); } -static void jh7110_mmc_init(int id) -{ - if (id == 0) { - SYS_IOMUX_DOEN(62, LOW); - SYS_IOMUX_DOUT(62, 19); - } else { - SYS_IOMUX_DOEN(10, LOW); - SYS_IOMUX_DOUT(10, 55); - SYS_IOMUX_SET_DS(10, 3); - SYS_IOMUX_COMPLEX(9, 44, 57, 19); - SYS_IOMUX_SET_DS(9, 3); - SYS_IOMUX_COMPLEX(11, 45, 58, 20); - SYS_IOMUX_SET_DS(11, 3); - SYS_IOMUX_COMPLEX(12, 46, 59, 21); - SYS_IOMUX_SET_DS(12, 3); - SYS_IOMUX_COMPLEX(7, 47, 60, 22); - SYS_IOMUX_SET_DS(7, 3); - SYS_IOMUX_COMPLEX(8, 48, 61, 23); - SYS_IOMUX_SET_DS(8, 3); - } -} - /*enable U74-mc hart1~hart4 prefetcher*/ static void enable_prefetcher(void) { @@ -328,16 +306,6 @@ static void enable_prefetcher(void) } } -static void jh7110_uart0_init(void) -{ - /*uart0 tx*/ - SYS_IOMUX_DOEN(5, LOW); - SYS_IOMUX_DOUT(5, 20); - /*uart0 rx*/ - SYS_IOMUX_DOEN(6, HIGH); - SYS_IOMUX_DIN(6, 14); -} - static void jh7110_jtag_init(void) { /*jtag*/ @@ -420,14 +388,11 @@ int board_init(void) /*enable hart1-hart4 prefetcher*/ enable_prefetcher(); - jh7110_uart0_init(); jh7110_jtag_init(); jh7110_timer_init(); jh7110_usb_init(true); - jh7110_mmc_init(0); - jh7110_mmc_init(1); jh7110_i2c_init(5); jh7110_gpio_init(); |