David Hendricks has posted comments on this change. ( https://review.coreboot.org/22021 )
Change subject: spi25: Enable direct 4BA read and write using feature bits
......................................................................
Patch Set 1: Code-Review-1
(2 comments)
https://review.coreboot.org/#/c/22021/1/spi25.c
File spi25.c:
https://review.coreboot.org/#/c/22021/1/spi25.c@582
PS1, Line 582: JEDEC_BYTE_PROGRAM_4BA
So this will use a native 4BA instruction whether or not you use the extended address register. Maybe I'm missing something?
https://review.coreboot.org/#/c/22021/1/spi25.c@592
PS1, Line 592: JEDEC_READ_4BA
same comment as above
--
To view, visit https://review.coreboot.org/22021
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: staging
Gerrit-MessageType: comment
Gerrit-Change-Id: I2f6817ca198bf923671a7aa67e956e5477d71848
Gerrit-Change-Number: 22021
Gerrit-PatchSet: 1
Gerrit-Owner: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: David Hendricks <david.hendricks(a)gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Tue, 17 Oct 2017 03:26:07 +0000
Gerrit-HasComments: Yes
David Hendricks has posted comments on this change. ( https://review.coreboot.org/22018 )
Change subject: spi25: Introduce spi_simple_write_cmd()
......................................................................
Patch Set 1: Code-Review-1
(1 comment)
Just a little bikeshedding, otherwise LGTM.
https://review.coreboot.org/#/c/22018/1/spi25.c
File spi25.c:
https://review.coreboot.org/#/c/22018/1/spi25.c@326
PS1, Line 326: spi_simple_write_cmd
Is there anything other than chip erase commands that this applies to? I think this should be called "spi_erase_cmd" or something more specific to its purpose since it doesn't handle data or addresses.
--
To view, visit https://review.coreboot.org/22018
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: staging
Gerrit-MessageType: comment
Gerrit-Change-Id: Ib244356fa471e15863b52e6037899d19113cb4a9
Gerrit-Change-Number: 22018
Gerrit-PatchSet: 1
Gerrit-Owner: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: David Hendricks <david.hendricks(a)gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Mon, 16 Oct 2017 22:19:38 +0000
Gerrit-HasComments: Yes
Nico Huber has posted comments on this change. ( https://review.coreboot.org/19418 )
Change subject: spi: Add valid_addr_offset() to spi_master
......................................................................
Patch Set 3: Code-Review-1
The patch is fine, but doesn't solve the real problem:
spi_get_valid_read_addr() shouldn't exist. We are testing
something programmer specific right before giving control
to the programmer driver... ichspi should just test this.
--
To view, visit https://review.coreboot.org/19418
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: staging
Gerrit-MessageType: comment
Gerrit-Change-Id: Icbac513c5339e8aff624870252133284ef85ab73
Gerrit-Change-Number: 19418
Gerrit-PatchSet: 3
Gerrit-Owner: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Mon, 16 Oct 2017 17:03:14 +0000
Gerrit-HasComments: No
David Hendricks has posted comments on this change. ( https://review.coreboot.org/19387 )
Change subject: make args for -r/-w/-v non-positional and optional
......................................................................
Patch Set 7:
Sure - I'll see if I can untangle it.
--
To view, visit https://review.coreboot.org/19387
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: staging
Gerrit-MessageType: comment
Gerrit-Change-Id: Iefbcb7dc4fefe26f5afd1292dfd5c1687fa62803
Gerrit-Change-Number: 19387
Gerrit-PatchSet: 7
Gerrit-Owner: David Hendricks <david.hendricks(a)gmail.com>
Gerrit-Reviewer: David Hendricks <david.hendricks(a)gmail.com>
Gerrit-Reviewer: Louis Yung-Chieh Lo <yjlou(a)chromium.org>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Mon, 16 Oct 2017 16:55:32 +0000
Gerrit-HasComments: No