diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-11-22 14:44:38 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-11-22 14:44:38 +0000 |
commit | 6bb69076e50b9dec9f3735fa8f9e168e99f6bba7 (patch) | |
tree | 5e079fa9b212ae3765b3b14888fd7b1f0b106e2f /nuttx/arch/arm/src/stm32/Kconfig | |
parent | 38e599c580d418182a6fc4101686843ff0ae4e18 (diff) | |
download | px4-nuttx-6bb69076e50b9dec9f3735fa8f9e168e99f6bba7.tar.gz px4-nuttx-6bb69076e50b9dec9f3735fa8f9e168e99f6bba7.tar.bz2 px4-nuttx-6bb69076e50b9dec9f3735fa8f9e168e99f6bba7.zip |
Move some PHY initialization logic for Darcy
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5382 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/arm/src/stm32/Kconfig')
-rw-r--r-- | nuttx/arch/arm/src/stm32/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/nuttx/arch/arm/src/stm32/Kconfig b/nuttx/arch/arm/src/stm32/Kconfig index 4e369cb1a..2807e1a47 100644 --- a/nuttx/arch/arm/src/stm32/Kconfig +++ b/nuttx/arch/arm/src/stm32/Kconfig @@ -2058,6 +2058,16 @@ config STM32_PHYADDR ---help--- The 5-bit address of the PHY on the board. Default: 1 +config STM32_PHYINIT + bool "Board-specific PHY Initialization" + default n + ---help--- + Some boards require specialized initialization of the PHY before it can be used. + This may include such things as configuring GPIOs, resetting the PHY, etc. If + STM32_PHYINIT is defined in the configuration then the board specific logic must + provide stm32_phyinitialize(); The STM32 Ethernet driver will call this function + one time before it first uses the PHY. + config STM32_MII bool "Use MII interface" default n |