From b88d90c5a41d7e596002a398cc36f97e763673a4 Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Thu, 18 Jan 2024 16:04:50 -0700 Subject: mb/google/daisy to foster: Rename Makefiles from .inc to .mk MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The .inc suffix is confusing to various tools as it's not specific to Makefiles. This means that editors don't recognize the files, and don't open them with highlighting and any other specific editor functionality. This issue is also seen in the release notes generation script where Makefiles get renamed before running cloc. Signed-off-by: Martin Roth Change-Id: I134acc26c0a79d974a6dd0a3b257f961db7e2d86 Reviewed-on: https://review.coreboot.org/c/coreboot/+/80106 Reviewed-by: Michael Niewöhner Tested-by: build bot (Jenkins) Reviewed-by: Felix Singer --- src/mainboard/google/foster/bct/Makefile.inc | 12 ------------ src/mainboard/google/foster/bct/Makefile.mk | 12 ++++++++++++ 2 files changed, 12 insertions(+), 12 deletions(-) delete mode 100644 src/mainboard/google/foster/bct/Makefile.inc create mode 100644 src/mainboard/google/foster/bct/Makefile.mk (limited to 'src/mainboard/google/foster/bct') diff --git a/src/mainboard/google/foster/bct/Makefile.inc b/src/mainboard/google/foster/bct/Makefile.inc deleted file mode 100644 index ab16334798..0000000000 --- a/src/mainboard/google/foster/bct/Makefile.inc +++ /dev/null @@ -1,12 +0,0 @@ -## SPDX-License-Identifier: GPL-2.0-only - -bct-cfg-$(CONFIG_FOSTER_BCT_CFG_EMMC) += emmc.cfg -bct-cfg-$(CONFIG_FOSTER_BCT_CFG_SPI) += spi.cfg -bct-cfg-y += odmdata.cfg -bct-cfg-y += jtag.cfg -#NOTE: When full LPDDR4 SDRAM config is done in romstage, remove this -bct-cfg-$(CONFIG_BOOTROM_SDRAM_INIT) += sdram-samsung-3GB-204.cfg - -# Note when SDRAM config (sdram-*.cfg) files are changed, we have to regenerate -# the include files (sdram-*.inc) by running "./cfg2inc.sh sdram-*.cfg". -# TODO(hungte) Change cfg2inc.sh to NVIDIA's official tool in cbootimage. diff --git a/src/mainboard/google/foster/bct/Makefile.mk b/src/mainboard/google/foster/bct/Makefile.mk new file mode 100644 index 0000000000..ab16334798 --- /dev/null +++ b/src/mainboard/google/foster/bct/Makefile.mk @@ -0,0 +1,12 @@ +## SPDX-License-Identifier: GPL-2.0-only + +bct-cfg-$(CONFIG_FOSTER_BCT_CFG_EMMC) += emmc.cfg +bct-cfg-$(CONFIG_FOSTER_BCT_CFG_SPI) += spi.cfg +bct-cfg-y += odmdata.cfg +bct-cfg-y += jtag.cfg +#NOTE: When full LPDDR4 SDRAM config is done in romstage, remove this +bct-cfg-$(CONFIG_BOOTROM_SDRAM_INIT) += sdram-samsung-3GB-204.cfg + +# Note when SDRAM config (sdram-*.cfg) files are changed, we have to regenerate +# the include files (sdram-*.inc) by running "./cfg2inc.sh sdram-*.cfg". +# TODO(hungte) Change cfg2inc.sh to NVIDIA's official tool in cbootimage. -- cgit v1.2.3