Nikolai Artemiev has uploaded this change for review. ( https://review.coreboot.org/c/flashrom/+/46440 )
Change subject: fmap.c: update copyright year
......................................................................
fmap.c: update copyright year
Looks like the year should be 2010 based on cros git history.
Signed-off-by: Nikolai Artemiev <nartemiev(a)google.com>
Change-Id: I7c27e682bd09f7b1ba0398dc231b9360aed1c26b
---
M fmap.c
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/40/46440/1
diff --git a/fmap.c b/fmap.c
index ca25651..494e9a8 100644
--- a/fmap.c
+++ b/fmap.c
@@ -1,5 +1,5 @@
/*
- * Copyright 2015, Google Inc.
+ * Copyright 2010, Google Inc.
* Copyright 2018-present, Facebook Inc.
* All rights reserved.
*
--
To view, visit https://review.coreboot.org/c/flashrom/+/46440
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I7c27e682bd09f7b1ba0398dc231b9360aed1c26b
Gerrit-Change-Number: 46440
Gerrit-PatchSet: 1
Gerrit-Owner: Nikolai Artemiev <nartemiev(a)google.com>
Gerrit-MessageType: newchange
Shiyu Sun has uploaded this change for review. ( https://review.coreboot.org/c/flashrom/+/46870 )
Change subject: Makefile: remove LSPCON and MST device dependency from libusb
......................................................................
Makefile: remove LSPCON and MST device dependency from libusb
LSPCON and MST does not depends on libusb.
Signed-off-by: Shiyu Sun <sshiyu(a)chromium.org>
Change-Id: If6db3a318aca349fc1ccd343d3d6d47b809eac8e
---
M Makefile
1 file changed, 0 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/70/46870/1
diff --git a/Makefile b/Makefile
index 241814a..4a78287 100644
--- a/Makefile
+++ b/Makefile
@@ -812,8 +812,6 @@
override CONFIG_PICKIT2_SPI = no
override CONFIG_RAIDEN = no
override CONFIG_STLINKV3_SPI = no
-override CONFIG_LSPCON_I2C_SPI = no
-override CONFIG_REALTEK_MST_I2C_SPI = no
endif
ifeq ($(CONFIG_ENABLE_LIBPCI_PROGRAMMERS), no)
override CONFIG_INTERNAL = no
--
To view, visit https://review.coreboot.org/c/flashrom/+/46870
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: If6db3a318aca349fc1ccd343d3d6d47b809eac8e
Gerrit-Change-Number: 46870
Gerrit-PatchSet: 1
Gerrit-Owner: Shiyu Sun <sshiyu(a)google.com>
Gerrit-MessageType: newchange
Angel Pons has uploaded this change for review. ( https://review.coreboot.org/c/flashrom/+/46524 )
Change subject: dummyflasher.c: Do not print an error if probing fails
......................................................................
dummyflasher.c: Do not print an error if probing fails
This line gets printed even when not using dummyflasher at all. Drop it.
TEST=Check that no spurious error message appears with ft2232_spi.
Change-Id: I1a81a735db391357d1b6ee6f3e9844255efd0e19
Signed-off-by: Angel Pons <th3fanbus(a)gmail.com>
---
M dummyflasher.c
1 file changed, 1 insertion(+), 5 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/24/46524/1
diff --git a/dummyflasher.c b/dummyflasher.c
index d233db4..afcbeb6 100644
--- a/dummyflasher.c
+++ b/dummyflasher.c
@@ -1029,13 +1029,9 @@
{
unsigned int i;
const struct emu_data *emu_data = get_data_from_context(flash);
- if (!emu_data) {
- msg_perr("No data in flash context!\n");
- return 0;
- }
/* Skip the probing if we don't emulate this chip. */
- if (emu_data->emu_chip != EMULATE_VARIABLE_SIZE)
+ if (!emu_data || emu_data->emu_chip != EMULATE_VARIABLE_SIZE)
return 0;
/*
--
To view, visit https://review.coreboot.org/c/flashrom/+/46524
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I1a81a735db391357d1b6ee6f3e9844255efd0e19
Gerrit-Change-Number: 46524
Gerrit-PatchSet: 1
Gerrit-Owner: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-MessageType: newchange
Edward O'Callaghan has uploaded this change for review. ( https://review.coreboot.org/c/flashrom/+/46444 )
Change subject: chipset_enable.c: check return value from rphysmap() call
......................................................................
chipset_enable.c: check return value from rphysmap() call
Port from the ChromiumOS fork of flashrom.
Change-Id: I8075fe5f80ac0da5280d2f0de6829ed3a2496476
Signed-off-by: Edward O'Callaghan <quasisec(a)google.com>
---
M chipset_enable.c
1 file changed, 2 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/44/46444/1
diff --git a/chipset_enable.c b/chipset_enable.c
index 9769ba4..4273478 100644
--- a/chipset_enable.c
+++ b/chipset_enable.c
@@ -1010,6 +1010,8 @@
uint32_t sbase = pci_read_long(dev, 0x54) & 0xfffffe00;
msg_pdbg("SPI_BASE_ADDRESS = 0x%x\n", sbase);
void *spibar = rphysmap("BYT SBASE", sbase, 512); /* Last defined address on Bay Trail is 0x100 */
+ if (spibar == ERROR_PTR)
+ return ERROR_FATAL;
/* Enable Flash Writes.
* Silvermont-based: BCR at SBASE + 0xFC (some bits of BCR are also accessible via BC at IBASE + 0x1C).
--
To view, visit https://review.coreboot.org/c/flashrom/+/46444
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I8075fe5f80ac0da5280d2f0de6829ed3a2496476
Gerrit-Change-Number: 46444
Gerrit-PatchSet: 1
Gerrit-Owner: Edward O'Callaghan <quasisec(a)chromium.org>
Gerrit-MessageType: newchange