summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mainboard/asus/p5qc/Kconfig4
-rw-r--r--src/mainboard/asus/p5qc/Makefile.inc4
2 files changed, 7 insertions, 1 deletions
diff --git a/src/mainboard/asus/p5qc/Kconfig b/src/mainboard/asus/p5qc/Kconfig
index c3b287c301..8661fd6ccb 100644
--- a/src/mainboard/asus/p5qc/Kconfig
+++ b/src/mainboard/asus/p5qc/Kconfig
@@ -48,6 +48,10 @@ config DEVICETREE
string
default "variants/$(CONFIG_VARIANT_DIR)/devicetree.cb"
+config GPIO_C
+ string
+ default "gpio.c"
+
config MAX_CPUS
int
default 4
diff --git a/src/mainboard/asus/p5qc/Makefile.inc b/src/mainboard/asus/p5qc/Makefile.inc
index 630abda711..5c1d211ca7 100644
--- a/src/mainboard/asus/p5qc/Makefile.inc
+++ b/src/mainboard/asus/p5qc/Makefile.inc
@@ -11,5 +11,7 @@
# GNU General Public License for more details.
#
+CONFIG_GPIO_C:=$(call strip_quotes, $(CONFIG_GPIO_C))
+
ramstage-y += cstates.c
-romstage-y += gpio.c
+romstage-y += $(CONFIG_GPIO_C)