diff options
author | Jianlong Huang <jianlong.huang@starfivetech.com> | 2022-11-23 06:39:22 +0300 |
---|---|---|
committer | Jianlong Huang <jianlong.huang@starfivetech.com> | 2022-11-23 06:39:26 +0300 |
commit | 4cc82557a555cc4b99d0d5322122f7af3d798e59 (patch) | |
tree | aefa0aed9fb4cd8756678139c29720ee377c043b /board/starfive | |
parent | 68dc79062721456f05815278dd428c2355ebd132 (diff) | |
download | u-boot-4cc82557a555cc4b99d0d5322122f7af3d798e59.tar.xz |
board:starfive:Remove usb/sdio0/sdio1 gpio init
Remove usb/sdio0/sdio1 gpio init.
Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
Diffstat (limited to 'board/starfive')
-rw-r--r-- | board/starfive/evb/starfive_evb.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/board/starfive/evb/starfive_evb.c b/board/starfive/evb/starfive_evb.c index 95b09f7126..1dd722ef40 100644 --- a/board/starfive/evb/starfive_evb.c +++ b/board/starfive/evb/starfive_evb.c @@ -170,14 +170,6 @@ static void jh7110_usb_init(bool usb2_enable) PDRSTN_SPLIT_MASK, (0 << PDRSTN_SPLIT_SHIFT) & PDRSTN_SPLIT_MASK); } - SYS_IOMUX_DOEN(33, LOW); - SYS_IOMUX_DOUT(33, 7); - SYS_IOMUX_DOEN(34, HIGH); - - clrsetbits_le32(SYS_IOMUX_BASE + SYS_IOMUX_32, - IOMUX_USB_MASK, - ((34+2) << IOMUX_USB_SHIFT) & IOMUX_USB_MASK); - } static u32 get_chip_type(void) @@ -198,17 +190,6 @@ static u32 get_chip_type(void) return value; } -static void jh7110_mmc_init(int id) -{ - if (id == 0) { - SYS_IOMUX_DOEN(22, LOW); - SYS_IOMUX_DOUT(22, 19); - } else { - SYS_IOMUX_DOEN(24, LOW); - SYS_IOMUX_DOUT(24, 66); - } -} - /*enable U74-mc hart1~hart4 prefetcher*/ static void enable_prefetcher(void) { @@ -237,8 +218,6 @@ int board_init(void) jh7110_timer_init(); jh7110_usb_init(true); - jh7110_mmc_init(0); - jh7110_mmc_init(1); return 0; } |