[PATCH v1 1/2] ARM: configs: add bitbang feature for npcm8xx
Jim Liu
jim.t90615 at gmail.com
Tue Feb 14 09:20:35 CET 2023
Signed-off-by: Jim Liu <JJLIU0 at nuvoton.com>
---
configs/arbel_evb_defconfig | 3 +++
include/configs/arbel.h | 1 +
2 files changed, 4 insertions(+)
diff --git a/configs/arbel_evb_defconfig b/configs/arbel_evb_defconfig
index 8f8a603b50..ac4bb40193 100644
--- a/configs/arbel_evb_defconfig
+++ b/configs/arbel_evb_defconfig
@@ -92,3 +92,6 @@ CONFIG_NPCM_AES=y
CONFIG_NPCM_OTP=y
CONFIG_DM_REGULATOR=y
CONFIG_DM_REGULATOR_NPCM8XX=y
+CONFIG_BITBANGMII=y
+CONFIG_PHY_ADDR_ENABLE=y
+CONFIG_PHY_ADDR=0
diff --git a/include/configs/arbel.h b/include/configs/arbel.h
index 8e27fb52a1..d009543ff5 100644
--- a/include/configs/arbel.h
+++ b/include/configs/arbel.h
@@ -10,6 +10,7 @@
#define CFG_SYS_BOOTMAPSZ (20 << 20)
#define CFG_SYS_INIT_RAM_ADDR CFG_SYS_SDRAM_BASE
#define CFG_SYS_INIT_RAM_SIZE 0x8000
+#define CONFIG_BITBANGMII_MULTI
/* Default environemnt variables */
#define CFG_EXTRA_ENV_SETTINGS "uimage_flash_addr=80200000\0" \
--
2.17.1
More information about the U-Boot
mailing list