Introduce a new directory structure src/soc/intel/common/feature/ for sharing SoC-specific code across Intel SoC generations to reduce code duplication. Unlike the common block code (src/soc/intel/common/block/) which is intended for reusable IP blocks, the feature code is for SoC-specific functionality that is similar (but not identical) across multiple generations. Platform-specific differences are handled through configuration options or platform-specific macros. This commit: - Creates src/soc/intel/common/feature/ directory - Adds feature/Kconfig defining SOC_INTEL_COMMON_FEATURE - Adds feature/Makefile.mk to build subdirectories - Updates src/soc/intel/common/Kconfig.common to source feature/Kconfig - Updates src/soc/intel/common/Makefile.mk to include feature/ subdirs - Documents the common code directory structure in Documentation/soc/intel/code_development_model/code_development_model.md Change-Id: Idb842376a0a785a6439eeeb5a3a934d0bc575b09 Signed-off-by: Jeremy Compostella <jeremy.compostella@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/91360 Reviewed-by: Bora Guvendik <bora.guvendik@intel.corp-partner.google.com> Reviewed-by: Jakub "Kuba" Czapiga <czapiga@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Pranava Y N <pranavayn@google.com> |
||
|---|---|---|
| .. | ||
| amd | ||
| cavium | ||
| intel | ||
| qualcomm | ||
| index.md | ||