summaryrefslogtreecommitdiff
path: root/include/configs/starfive-devkits.h
diff options
context:
space:
mode:
authorHal Feng <hal.feng@starfivetech.com>2024-03-13 11:05:10 +0300
committerHal Feng <hal.feng@starfivetech.com>2024-03-13 11:19:59 +0300
commit0bd685d280f7c01a48591b3cf80bc37be28fdb56 (patch)
tree846bf6ba9f767bade49206cdc13c5233a7090b0f /include/configs/starfive-devkits.h
parent223ac8b1e907924d3891b3be1b2f6620b56bff31 (diff)
downloadu-boot-0bd685d280f7c01a48591b3cf80bc37be28fdb56.tar.xz
Support the new JH7110 chip A gmac configuration in linux v6.6+
If gmac_conf_new = 1, apply the new gmac configuration in linux v6.6+. If gmac_conf_new = 0, apply the old gmac configuration. Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
Diffstat (limited to 'include/configs/starfive-devkits.h')
-rw-r--r--include/configs/starfive-devkits.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/configs/starfive-devkits.h b/include/configs/starfive-devkits.h
index 5a86c6f59d..794da8d03f 100644
--- a/include/configs/starfive-devkits.h
+++ b/include/configs/starfive-devkits.h
@@ -169,13 +169,11 @@
#define CHIPA_GMAC_SET \
"chipa_gmac_set=" \
- "fdt set /soc/ethernet@16030000/ethernet-phy@0 tx_inverted_10 <0x1>;" \
- "fdt set /soc/ethernet@16030000/ethernet-phy@0 tx_inverted_100 <0x1>;" \
- "fdt set /soc/ethernet@16030000/ethernet-phy@0 tx_inverted_1000 <0x1>;\0"
+ "echo JH7110 Devkits never supports chip A;\0"
#define CHIPA_SET \
"chipa_set=" \
- "if test ${chip_vision} = B; then " \
+ "if test ${chip_vision} = A; then " \
"run chipa_gmac_set;" \
"fi; \0" \
"chipa_set_uboot=" \