Alan Green has uploaded this change for review. ( https://review.coreboot.org/c/flashrom/+/33829
Change subject: flashchips.c: ATMEL->Atmel for consistency
......................................................................
flashchips.c: ATMEL->Atmel for consistency
Replace the single instance where a vendor name was spelled
inconsistently.
Signed-off-by: Alan Green <avg(a)google.com>
Change-Id: I6478bc29f640f789f3b35e7b4816133f4a0d292e
---
M flashchips.c
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/29/33829/1
diff --git a/flashchips.c b/flashchips.c
index 644479e..88648ad 100644
--- a/flashchips.c
+++ b/flashchips.c
@@ -2325,7 +2325,7 @@
},
{
- .vendor = "ATMEL",
+ .vendor = "Atmel",
.name = "AT25SL128A",
.bustype = BUS_SPI,
.manufacture_id = ATMEL_ID,
--
To view, visit https://review.coreboot.org/c/flashrom/+/33829
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I6478bc29f640f789f3b35e7b4816133f4a0d292e
Gerrit-Change-Number: 33829
Gerrit-PatchSet: 1
Gerrit-Owner: Alan Green <avg(a)google.com>
Gerrit-MessageType: newchange
Alan Green has uploaded this change for review. ( https://review.coreboot.org/c/flashrom/+/33835
Change subject: flashchips.c: sort entries
......................................................................
flashchips.c: sort entries
For self-consistency, and to allow tools to assist with merging the
chromium fork of flashrom, sort the entries of flashchips.c. The file is
already largely sorted, though deviations have crept in over time.
Signed-off-by: Alan Green <avg(a)google.com>
Change-Id: Ie29e01b2567bc7e95c133ba687d4d13e05380291
---
M flashchips.c
1 file changed, 5,468 insertions(+), 5,468 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/35/33835/1
--
To view, visit https://review.coreboot.org/c/flashrom/+/33835
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: Ie29e01b2567bc7e95c133ba687d4d13e05380291
Gerrit-Change-Number: 33835
Gerrit-PatchSet: 1
Gerrit-Owner: Alan Green <avg(a)google.com>
Gerrit-MessageType: newchange
Jacob Garber has uploaded this change for review. ( https://review.coreboot.org/c/flashrom/+/33815
Change subject: cli_classic: Remove old usage warning
......................................................................
cli_classic: Remove old usage warning
We are at version 1.1 now, and 0.9.6 was released all the way back
in 2012, so it is safe to remove this warning.
Change-Id: If1b379b7b8234d50a2f0a4f522f15820a1a6603c
Signed-off-by: Jacob Garber <jgarber1(a)ualberta.ca>
---
M cli_classic.c
1 file changed, 0 insertions(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/15/33815/1
diff --git a/cli_classic.c b/cli_classic.c
index 2e07612..1182ab1 100644
--- a/cli_classic.c
+++ b/cli_classic.c
@@ -31,9 +31,6 @@
static void cli_classic_usage(const char *name)
{
- printf("Please note that the command line interface for flashrom has changed between\n"
- "0.9.5 and 0.9.6 and will change again before flashrom 1.0.\n\n");
-
printf("Usage: %s [-h|-R|-L|"
#if CONFIG_PRINT_WIKI == 1
"-z|"
--
To view, visit https://review.coreboot.org/c/flashrom/+/33815
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: If1b379b7b8234d50a2f0a4f522f15820a1a6603c
Gerrit-Change-Number: 33815
Gerrit-PatchSet: 1
Gerrit-Owner: Jacob Garber <jgarber1(a)ualberta.ca>
Gerrit-MessageType: newchange
Hello HAOUAS Elyes, David Hendricks, Stefan Reinauer,
I'd like you to do a code review. Please visit
https://review.coreboot.org/c/flashrom/+/33650
to review the following change.
Change subject: spi25: Fix layering violation in probe_spi_rdid4()
......................................................................
spi25: Fix layering violation in probe_spi_rdid4()
Move the message to a lower level where we can do a more generic check
and don't need internal knowledge of the SPI-master driver.
Change-Id: Idd21d20465cb214f3ff5bf3267b9014f8beee3f3
Signed-off-by: Nico Huber <nico.h(a)gmx.de>
---
M spi25.c
1 file changed, 5 insertions(+), 20 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/50/33650/1
diff --git a/spi25.c b/spi25.c
index 06e451f..006b81f 100644
--- a/spi25.c
+++ b/spi25.c
@@ -100,9 +100,11 @@
uint32_t id1;
uint32_t id2;
- if (spi_rdid(flash, readarr, bytes)) {
+ const int ret = spi_rdid(flash, readarr, bytes);
+ if (ret == SPI_INVALID_LENGTH)
+ msg_cinfo("%d byte RDID not supported on this SPI controller\n", bytes);
+ if (ret)
return 0;
- }
if (!oddparity(readarr[0]))
msg_cdbg("RDID byte 0 parity violation. ");
@@ -147,24 +149,7 @@
int probe_spi_rdid4(struct flashctx *flash)
{
- /* Some SPI controllers do not support commands with writecnt=1 and
- * readcnt=4.
- */
- switch (flash->mst->spi.type) {
-#if CONFIG_INTERNAL == 1
-#if defined(__i386__) || defined(__x86_64__)
- case SPI_CONTROLLER_IT87XX:
- case SPI_CONTROLLER_WBSIO:
- msg_cinfo("4 byte RDID not supported on this SPI controller\n");
- return 0;
- break;
-#endif
-#endif
- default:
- return probe_spi_rdid_generic(flash, 4);
- }
-
- return 0;
+ return probe_spi_rdid_generic(flash, 4);
}
int probe_spi_rems(struct flashctx *flash)
--
To view, visit https://review.coreboot.org/c/flashrom/+/33650
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: Idd21d20465cb214f3ff5bf3267b9014f8beee3f3
Gerrit-Change-Number: 33650
Gerrit-PatchSet: 1
Gerrit-Owner: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: David Hendricks <david.hendricks(a)gmail.com>
Gerrit-Reviewer: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-Reviewer: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Gerrit-MessageType: newchange
Jacob Garber has posted comments on this change. ( https://review.coreboot.org/c/flashrom/+/30409 )
Change subject: Fix -Wsign-compare trouble
......................................................................
Patch Set 2:
If you rebase I'll start to review this
--
To view, visit https://review.coreboot.org/c/flashrom/+/30409
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I08895543ffb7a48058bcf91ef6500ca113f2d305
Gerrit-Change-Number: 30409
Gerrit-PatchSet: 2
Gerrit-Owner: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Jacob Garber <jgarber1(a)ualberta.ca>
Gerrit-Comment-Date: Wed, 26 Jun 2019 18:01:53 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Hello Angel Pons, Arthur Heymans, Thomas Heijligen, David Hendricks, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/flashrom/+/33521
to look at the new patch set (#3).
Change subject: layout: Use linked list for `struct romentry`
......................................................................
layout: Use linked list for `struct romentry`
This gets rid of the entry limit and hopefully makes future layout
handling easier. We start by making `struct flashrom_layout` private
to `layout.c`.
Change-Id: I60a0aa1007ebcd5eb401db116f835d129b3e9732
Signed-off-by: Nico Huber <nico.h(a)gmx.de>
---
M layout.c
M layout.h
M libflashrom.c
3 files changed, 49 insertions(+), 75 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/21/33521/3
--
To view, visit https://review.coreboot.org/c/flashrom/+/33521
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I60a0aa1007ebcd5eb401db116f835d129b3e9732
Gerrit-Change-Number: 33521
Gerrit-PatchSet: 3
Gerrit-Owner: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: David Hendricks <david.hendricks(a)gmail.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Thomas Heijligen <src(a)posteo.de>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: newpatchset