From b22da3d8526a935aa31e086e63f60ff3246cb61c Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Sat, 09 Dec 2023 07:24:11 +0000 Subject: [PATCH] add stmac read mac form eeprom --- kernel/drivers/of/Kconfig | 22 ++++++++-------------- 1 files changed, 8 insertions(+), 14 deletions(-) diff --git a/kernel/drivers/of/Kconfig b/kernel/drivers/of/Kconfig index 485d4f7..c177b42 100644 --- a/kernel/drivers/of/Kconfig +++ b/kernel/drivers/of/Kconfig @@ -14,21 +14,22 @@ config DTC_SYMBOLS bool "Enable dtc generation of symbols for overlays support" - depends on DTC - default ANDROID + depends on DTC && ARCH_ROCKCHIP help Set DTC_FLAGS += -@ Android OS must enable this option. config DTC_OMIT_DISABLED bool "Fixup dtb by removing nodes with disabled status" - depends on DTC + depends on DTC && ROCKCHIP_MINI_KERNEL + default ROCKCHIP_MINI_KERNEL help This option used for dtc to delete nodes with disabled status. config DTC_OMIT_EMPTY bool "Fixup dtb by removing empty nodes" - depends on DTC + depends on DTC && ROCKCHIP_MINI_KERNEL + default ROCKCHIP_MINI_KERNEL help This option used for dtc to delete empty nodes. @@ -63,6 +64,7 @@ config OF_EARLY_FLATTREE bool + select DMA_DECLARE_COHERENT if HAS_DMA select OF_FLATTREE config OF_PROMTREE @@ -93,18 +95,10 @@ depends on NETDEVICES def_bool y -config OF_MDIO - def_tristate PHYLIB - depends on PHYLIB - select FIXED_PHY - help - OpenFirmware MDIO bus (Ethernet PHY) accessors - config OF_RESERVED_MEM - depends on OF_EARLY_FLATTREE bool - help - Helpers to allow for reservation of memory regions + depends on OF_EARLY_FLATTREE + default y if DMA_DECLARE_COHERENT || DMA_CMA config OF_RESOLVE bool -- Gitblit v1.6.2