Skip to contentSkip to conversation

arm: ti: dra7: move BOOTP_DNS2 and PHY_TI in defconfig

PATCH New Grygorii Strashko 3 participants 4 messages Nov 19, 2019 – Nov 20, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: ti: dra7: move BOOTP_DNS2 and PHY_TI in defconfig

Move BOOTP_DNS2 and PHY_TI from dra7xx_evm.h to
dra7xx_evm_defconfig.

---
 configs/dra7xx_evm_defconfig        | 2 ++
 configs/dra7xx_hs_evm_defconfig     | 2 ++
 configs/dra7xx_hs_evm_usb_defconfig | 2 ++
 include/configs/dra7xx_evm.h        | 2 --
 4 files changed, 6 insertions(+), 2 deletions(-)
configs/dra7xx_evm_defconfig +2 -0
index cb2cdcb350..cae8431bc6 100644
@@ -117,3 +117,5 @@ CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_MANUFACTURER="Texas Instruments"
 CONFIG_USB_GADGET_VENDOR_NUM=0x0451
 CONFIG_USB_GADGET_PRODUCT_NUM=0xd022
+CONFIG_BOOTP_DNS2=y
+CONFIG_PHY_TI=y
configs/dra7xx_hs_evm_defconfig +2 -0
index 1dff889975..f57c249f90 100644
@@ -120,3 +120,5 @@ CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_MANUFACTURER="Texas Instruments"
 CONFIG_USB_GADGET_VENDOR_NUM=0x0451
 CONFIG_USB_GADGET_PRODUCT_NUM=0xd022
+CONFIG_BOOTP_DNS2=y
+CONFIG_PHY_TI=y
configs/dra7xx_hs_evm_usb_defconfig +2 -0
index fa18e1d076..1385782567 100644
@@ -115,3 +115,5 @@ CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_MANUFACTURER="Texas Instruments"
 CONFIG_USB_GADGET_VENDOR_NUM=0x0451
 CONFIG_USB_GADGET_PRODUCT_NUM=0xd022
+CONFIG_BOOTP_DNS2=y
+CONFIG_PHY_TI=y
include/configs/dra7xx_evm.h +0 -2
index 0ad23ce4b9..0eb1cff33e 100644
@@ -64,10 +64,8 @@
 #define CONFIG_HSMMC2_8BIT
 
 /* CPSW Ethernet */
-#define CONFIG_BOOTP_DNS2
 #define CONFIG_BOOTP_SEND_HOSTNAME
 #define CONFIG_NET_RETRY_COUNT		10
-#define CONFIG_PHY_TI
 
 /*
  * Default to using SPI for environment, etc.
Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/1 arm: ti: dra7: move BOOTP_DNS2 and PHY_TI in defconfig

Quoted 16 lines · Grygorii Strashko

Move BOOTP_DNS2 and PHY_TI from dra7xx_evm.h to
dra7xx_evm_defconfig.

---
 configs/dra7xx_evm_defconfig        | 2 ++
 configs/dra7xx_hs_evm_defconfig     | 2 ++
 configs/dra7xx_hs_evm_usb_defconfig | 2 ++
 include/configs/dra7xx_evm.h        | 2 --
 4 files changed, 6 insertions(+), 2 deletions(-)
configs/dra7xx_evm_defconfig +0 -0
index cb2cdcb350..cae8431bc6 100644

configs/dra7xx_evm_defconfig CONFIG_USB_GADGET=y · line 121

Quoted 5 lines
configs/dra7xx_evm_defconfig +2 -0
@@ -117,3 +117,5 @@ CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_MANUFACTURER="Texas Instruments"
 CONFIG_USB_GADGET_VENDOR_NUM=0x0451
 CONFIG_USB_GADGET_PRODUCT_NUM=0xd022
+CONFIG_BOOTP_DNS2=y
+CONFIG_PHY_TI=y

Is this done using savedefconfig?

Thanks and regards,
Lokesh

Quoted 36 lines
configs/dra7xx_hs_evm_defconfig +2 -0
index 1dff889975..f57c249f90 100644
@@ -120,3 +120,5 @@ CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_MANUFACTURER="Texas Instruments"
 CONFIG_USB_GADGET_VENDOR_NUM=0x0451
 CONFIG_USB_GADGET_PRODUCT_NUM=0xd022
+CONFIG_BOOTP_DNS2=y
+CONFIG_PHY_TI=y
configs/dra7xx_hs_evm_usb_defconfig +2 -0
index fa18e1d076..1385782567 100644
@@ -115,3 +115,5 @@ CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_MANUFACTURER="Texas Instruments"
 CONFIG_USB_GADGET_VENDOR_NUM=0x0451
 CONFIG_USB_GADGET_PRODUCT_NUM=0xd022
+CONFIG_BOOTP_DNS2=y
+CONFIG_PHY_TI=y
include/configs/dra7xx_evm.h +0 -2
index 0ad23ce4b9..0eb1cff33e 100644
@@ -64,10 +64,8 @@
 #define CONFIG_HSMMC2_8BIT
 
 /* CPSW Ethernet */
-#define CONFIG_BOOTP_DNS2
 #define CONFIG_BOOTP_SEND_HOSTNAME
 #define CONFIG_NET_RETRY_COUNT		10
-#define CONFIG_PHY_TI
 
 /*
  * Default to using SPI for environment, etc.
#2 lore raw

PATCH 1/1 arm: ti: dra7: move BOOTP_DNS2 and PHY_TI in defconfig

Quoted 14 lines · Lokesh Vutla
Quoted 11 lines · Grygorii Strashko

Move BOOTP_DNS2 and PHY_TI from dra7xx_evm.h to
dra7xx_evm_defconfig.

---
  configs/dra7xx_evm_defconfig        | 2 ++
  configs/dra7xx_hs_evm_defconfig     | 2 ++
  configs/dra7xx_hs_evm_usb_defconfig | 2 ++
  include/configs/dra7xx_evm.h        | 2 --
  4 files changed, 6 insertions(+), 2 deletions(-)
Quoted 12 lines

configs/dra7xx_evm_defconfig CONFIG_USB_GADGET=y · line 121

Quoted 10 lines
configs/dra7xx_evm_defconfig +2 -0
index cb2cdcb350..cae8431bc6 100644
@@ -117,3 +117,5 @@ CONFIG_USB_GADGET=y
  CONFIG_USB_GADGET_MANUFACTURER="Texas Instruments"
  CONFIG_USB_GADGET_VENDOR_NUM=0x0451
  CONFIG_USB_GADGET_PRODUCT_NUM=0xd022
+CONFIG_BOOTP_DNS2=y
+CONFIG_PHY_TI=y

Is this done using savedefconfig?

No. I'll update and resend

[...]

Signature · 2 lines
Best regards,
grygorii
#3 lore raw

PATCH 1/1 arm: ti: dra7: move BOOTP_DNS2 and PHY_TI in defconfig

Quoted 30 lines · Grygorii Strashko
Quoted 14 lines · Lokesh Vutla
Quoted 11 lines · Grygorii Strashko

Move BOOTP_DNS2 and PHY_TI from dra7xx_evm.h to
dra7xx_evm_defconfig.

---
  configs/dra7xx_evm_defconfig        | 2 ++
  configs/dra7xx_hs_evm_defconfig     | 2 ++
  configs/dra7xx_hs_evm_usb_defconfig | 2 ++
  include/configs/dra7xx_evm.h        | 2 --

  4 files changed, 6 insertions(+), 2 deletions(-)
Quoted 12 lines

configs/dra7xx_evm_defconfig

Quoted 10 lines
configs/dra7xx_evm_defconfig +0 -0
index cb2cdcb350..cae8431bc6 100644
@@ -117,3 +117,5 @@ CONFIG_USB_GADGET=y

  CONFIG_USB_GADGET_MANUFACTURER="Texas Instruments" CONFIG_USB_GADGET_VENDOR_NUM=0x0451 CONFIG_USB_GADGET_PRODUCT_NUM=0xd022

configs/dra7xx_evm_defconfig +2 -0
+CONFIG_BOOTP_DNS2=y
+CONFIG_PHY_TI=y

Is this done using savedefconfig?

Quoted 2 lines

No. I'll update and resend

Not sure if you are aware of, but there is ./tools/moveconfig.py that helps in moving configs from headers to Kconfig

Quoted 4 lines

[...]

Signature · 2 lines
Regards
Vignesh