arch/stm32h5: H5 add ethernet options to Kconfig #14676
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Transferred ethernet/MAC Kconfig options for stm32h7 to stm32h5. The IP for the ethernet peripheral is identical between the two chips, so the h5 implementation will start off the same as the h7 implementation.
This also cleaned up some leftover comments in the Kconfig, such as the AHB peripheral menu section comments.
Summary
Before porting the stm32h7 ethernet driver to the stm32h5, need to add the configuration options to the Kconfig. This just copied over the options but renamed STM32H7 to STM32H5.
Impact
The change currently does not effect hardware as there are no H5 ethernet drivers implemented. This allows the menuconfig to set the proper options for when ethernet support is added for the H5.
Testing
Not much to test other than going through the menuconfig and comparing to the H7. I ran the arm-13 job with the docker container, since it includes Nucleo-H563ZI board, and there were no build errors.