Home
last modified time | relevance | path

Searched refs:strap1 (Results 1 – 4 of 4) sorted by relevance

/openbmc/u-boot/arch/arm/mach-aspeed/ast2400/
H A Dscu_info.c73 u32 strap1 = readl(ASPEED_HW_STRAP1); in aspeed_get_mac_phy_interface() local
76 if(strap1 & BIT(6)) { in aspeed_get_mac_phy_interface()
83 if(strap1 & BIT(7)) { in aspeed_get_mac_phy_interface()
/openbmc/u-boot/arch/arm/mach-aspeed/ast2500/
H A Dscu_info.c73 u32 strap1 = readl(ASPEED_HW_STRAP1); in aspeed_get_mac_phy_interface() local
79 if(strap1 & BIT(6)) { in aspeed_get_mac_phy_interface()
86 if(strap1 & BIT(7)) { in aspeed_get_mac_phy_interface()
/openbmc/u-boot/arch/arm/mach-aspeed/ast2600/
H A Dscu_info.c53 u32 strap1 = readl(ASPEED_HW_STRAP1); in aspeed_get_mac_phy_interface() local
59 if(strap1 & BIT(6)) { in aspeed_get_mac_phy_interface()
66 if(strap1 & BIT(7)) { in aspeed_get_mac_phy_interface()
/openbmc/u-boot/cmd/aspeed/nettest/
H A Dmactest.c902 hw_strap1_t strap1; in setup_interface() local
905 strap1.w = SCU_RD(0x500); in setup_interface()
908 p_eng->env.is_1g_valid[0] = strap1.b.mac1_interface; in setup_interface()
909 p_eng->env.is_1g_valid[1] = strap1.b.mac2_interface; in setup_interface()
917 hw_strap1_t strap1; in setup_interface()
918 strap1.w = SCU_RD(0x70); in setup_interface()
919 p_eng->env.is_1g_valid[0] = strap1.b.mac1_interface; in setup_interface()
920 p_eng->env.is_1g_valid[1] = strap1.b.mac2_interface; in setup_interface()