Marcello Sylvester Bauer has uploaded this change for review. ( https://review.coreboot.org/25607
Change subject: drivers/vpd: Move vpd to drivers ......................................................................
drivers/vpd: Move vpd to drivers
Move ChromeOS VPD driver to add support for VPD without CROMEOS.
Change-Id: I4895ed356f033ebfca6f83df67bf6bace0777feb Signed-off-by: Marcello Sylvester Bauer info@marcellobauer.com --- A src/drivers/vpd/Makefile.inc R src/drivers/vpd/cros_vpd.c R src/drivers/vpd/cros_vpd.h R src/drivers/vpd/vpd_calibration.c R src/drivers/vpd/vpd_decode.c R src/drivers/vpd/vpd_mac.c R src/drivers/vpd/vpd_serialno.c R src/drivers/vpd/vpd_tables.h 8 files changed, 4 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/07/25607/1
diff --git a/src/drivers/vpd/Makefile.inc b/src/drivers/vpd/Makefile.inc new file mode 100644 index 0000000..0158759 --- /dev/null +++ b/src/drivers/vpd/Makefile.inc @@ -0,0 +1,4 @@ +ifeq ($(CONFIG_CHROMEOS),y) +romstage-y += vpd_decode.c +ramstage-y += vpd_decode.c cros_vpd.c vpd_mac.c vpd_serialno.c vpd_calibration.c +endif diff --git a/src/vendorcode/google/chromeos/cros_vpd.c b/src/drivers/vpd/cros_vpd.c similarity index 100% rename from src/vendorcode/google/chromeos/cros_vpd.c rename to src/drivers/vpd/cros_vpd.c diff --git a/src/vendorcode/google/chromeos/cros_vpd.h b/src/drivers/vpd/cros_vpd.h similarity index 100% rename from src/vendorcode/google/chromeos/cros_vpd.h rename to src/drivers/vpd/cros_vpd.h diff --git a/src/vendorcode/google/chromeos/vpd_calibration.c b/src/drivers/vpd/vpd_calibration.c similarity index 100% rename from src/vendorcode/google/chromeos/vpd_calibration.c rename to src/drivers/vpd/vpd_calibration.c diff --git a/src/vendorcode/google/chromeos/vpd_decode.c b/src/drivers/vpd/vpd_decode.c similarity index 100% rename from src/vendorcode/google/chromeos/vpd_decode.c rename to src/drivers/vpd/vpd_decode.c diff --git a/src/vendorcode/google/chromeos/vpd_mac.c b/src/drivers/vpd/vpd_mac.c similarity index 100% rename from src/vendorcode/google/chromeos/vpd_mac.c rename to src/drivers/vpd/vpd_mac.c diff --git a/src/vendorcode/google/chromeos/vpd_serialno.c b/src/drivers/vpd/vpd_serialno.c similarity index 100% rename from src/vendorcode/google/chromeos/vpd_serialno.c rename to src/drivers/vpd/vpd_serialno.c diff --git a/src/vendorcode/google/chromeos/vpd_tables.h b/src/drivers/vpd/vpd_tables.h similarity index 100% rename from src/vendorcode/google/chromeos/vpd_tables.h rename to src/drivers/vpd/vpd_tables.h