-
Notifications
You must be signed in to change notification settings - Fork 6.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hwmv2: microchip_mec: port to HWMv2 #69082
hwmv2: microchip_mec: port to HWMv2 #69082
Conversation
@@ -216,7 +210,17 @@ config MCHP_HEADER_VERBOSE_OUTPUT | |||
|
|||
endif # MCHP_MEC_UNSIGNED_HEADER | |||
|
|||
# Select SoC Part No. and configuration options | |||
source "soc/soc_legacy/arm/microchip_mec/*/Kconfig.soc" | |||
config SOC_MEC172X_PROC_CLK_DIV |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one is used by mec15xx drivers as well as it turns out, should probably be renamed but I just moved it up the hierarchy in the interest of not changing the matching usage in drivers/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Falls on the maintainers responsibility to fix
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah fine by me... I can also rename it here if you prefer, whatever, no difference but this change is needed for the boards to build
4f4742b
to
8fd5d09
Compare
@@ -216,7 +210,17 @@ config MCHP_HEADER_VERBOSE_OUTPUT | |||
|
|||
endif # MCHP_MEC_UNSIGNED_HEADER | |||
|
|||
# Select SoC Part No. and configuration options | |||
source "soc/soc_legacy/arm/microchip_mec/*/Kconfig.soc" | |||
config SOC_MEC172X_PROC_CLK_DIV |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Falls on the maintainers responsibility to fix
8fd5d09
to
fb23de0
Compare
fb23de0
to
5781527
Compare
Rebased as well, merge conflict on the doc index file. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor change then good to go
Convert the Microchip MEC soc/ to hardware model v2. Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
Convert mec1501modular_assy6885, mec15xxevb_assy6853, mec172xevb_assy6906 and mec172xmodular_assy6930 to hwmv2. Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
Adjust few paths in the board document and maintainer file to reflect the new file location. Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
5781527
to
024f48f
Compare
@@ -12,7 +12,7 @@ endif() | |||
if (DEFINED CONFIG_MCHP_MEC_UNSIGNED_HEADER) | |||
set(MCHP_MEC_BIN_NAME ${CONFIG_KERNEL_BIN_NAME}.mchp.bin) | |||
set_property(GLOBAL APPEND PROPERTY extra_post_build_commands | |||
COMMAND ${PYTHON_EXECUTABLE} ${SOC_DIR}/${ARCH}/${SOC_FAMILY}/common/spigen/mec_spi_gen.py | |||
COMMAND ${PYTHON_EXECUTABLE} ${ZEPHYR_BASE}/soc/microchip/mec/common/spigen/mec_spi_gen.py |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No change requested, but want to point out that the following code resolves to same location:
COMMAND ${PYTHON_EXECUTABLE} ${ZEPHYR_BASE}/soc/microchip/mec/common/spigen/mec_spi_gen.py | |
COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_LIST_DIR}/spigen/mec_spi_gen.py |
Port the MEC soc and boards to hwmv2.