diff options
author | Aaron Durbin <adurbin@chromium.org> | 2016-05-10 17:00:06 -0500 |
---|---|---|
committer | Aaron Durbin <adurbin@chromium.org> | 2016-05-11 21:33:17 +0200 |
commit | fbb3e6c10873d0c55dc477c436d8352b915895ef (patch) | |
tree | 4adf63e8f275064cbc58d9387e3b023bdbc7714d /src/ec/google/chromeec/Makefile.inc | |
parent | bf1e48194494b52a06945490a4fbf322059e7ebd (diff) |
ec/google/chromeec: provide way to query ioport range
In order to provide other stages access to the ioport range
required by the ChromeEC provide google_chromeec_ioport_range()
function to fill in the details. Currently, the ioport range is
only consumed by the LPC implemenation. Also allow ec_lpc.c to be built
for the bootblock stage.
Change-Id: I6c181b42e80e71fe07e8fa90df783107287f16ad
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/14769
Tested-by: build bot (Jenkins)
Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/ec/google/chromeec/Makefile.inc')
-rw-r--r-- | src/ec/google/chromeec/Makefile.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ec/google/chromeec/Makefile.inc b/src/ec/google/chromeec/Makefile.inc index 759c0da5a2..7ae1835ffc 100644 --- a/src/ec/google/chromeec/Makefile.inc +++ b/src/ec/google/chromeec/Makefile.inc @@ -1,5 +1,6 @@ ifeq ($(CONFIG_EC_GOOGLE_CHROMEEC),y) +bootblock-$(CONFIG_EC_GOOGLE_CHROMEEC_LPC) += ec_lpc.c ramstage-y += ec.c crosec_proto.c vstore.c ramstage-$(CONFIG_EC_GOOGLE_CHROMEEC_I2C) += ec_i2c.c ramstage-$(CONFIG_EC_GOOGLE_CHROMEEC_LPC) += ec_lpc.c |