summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandru Gagniuc <mr.nuke.me@gmail.com>2011-08-03 09:14:59 -0500
committerMarc Jones <marcj303@gmail.com>2011-08-09 20:11:01 +0200
commit1a2b318625684142d6f1081a9abc057de1804d8a (patch)
treea87e97f363a9e21d73ca7ee4da9ae732217b6e14
parent9f6cbde8901401d8381f2b2da677450119620f77 (diff)
downloadcoreboot-1a2b318625684142d6f1081a9abc057de1804d8a.tar.xz
Do not compile nuvoton superio for all board
The nuvoton WPCM450 code is compiled for all boards regardless of whether or not they use it. Compile it only for boards needing it. Change-Id: Iaf4cf2c479eb3238863f0771be799f02a8cc3421 Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com> Reviewed-on: http://review.coreboot.org/129 Tested-by: build bot (Jenkins) Reviewed-by: Kerry She <shekairui@gmail.com> Reviewed-by: Marc Jones <marcj303@gmail.com>
-rwxr-xr-xsrc/mainboard/supermicro/h8qgi/Kconfig1
-rwxr-xr-xsrc/mainboard/supermicro/h8scm_fam10/Kconfig1
-rw-r--r--src/superio/nuvoton/Makefile.inc2
3 files changed, 3 insertions, 1 deletions
diff --git a/src/mainboard/supermicro/h8qgi/Kconfig b/src/mainboard/supermicro/h8qgi/Kconfig
index 286cb175c9..22760d2e03 100755
--- a/src/mainboard/supermicro/h8qgi/Kconfig
+++ b/src/mainboard/supermicro/h8qgi/Kconfig
@@ -28,6 +28,7 @@ config BOARD_SPECIFIC_OPTIONS
select SOUTHBRIDGE_AMD_SR5650
select SOUTHBRIDGE_AMD_SP5100
select SUPERIO_WINBOND_W83627DHG
+ select SUPERIO_NUVOTON_WPCM450
select BOARD_HAS_FADT
select HAVE_BUS_CONFIG
select HAVE_OPTION_TABLE
diff --git a/src/mainboard/supermicro/h8scm_fam10/Kconfig b/src/mainboard/supermicro/h8scm_fam10/Kconfig
index 7742133dac..cbd3119544 100755
--- a/src/mainboard/supermicro/h8scm_fam10/Kconfig
+++ b/src/mainboard/supermicro/h8scm_fam10/Kconfig
@@ -10,6 +10,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select SOUTHBRIDGE_AMD_SR5650
select SOUTHBRIDGE_AMD_SP5100
select SUPERIO_WINBOND_W83627HF
+ select SUPERIO_NUVOTON_WPCM450
select HAVE_BUS_CONFIG
select HAVE_OPTION_TABLE
select GENERATE_PIRQ_TABLE
diff --git a/src/superio/nuvoton/Makefile.inc b/src/superio/nuvoton/Makefile.inc
index 2f2ea9693d..4553dd8c45 100644
--- a/src/superio/nuvoton/Makefile.inc
+++ b/src/superio/nuvoton/Makefile.inc
@@ -17,4 +17,4 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
-subdirs-y += wpcm450
+subdirs-$(CONFIG_SUPERIO_NUVOTON_WPCM450) += wpcm450