David Hendricks has posted comments on this change. ( https://review.coreboot.org/22511 )
Change subject: linux_mtd: Support for NO_ERASE type devices
......................................................................
Patch Set 2:
(1 comment)
https://review.coreboot.org/#/c/22511/2/linux_mtd.c
File linux_mtd.c:
https://review.coreboot.org/#/c/22511/2/linux_mtd.c@187
PS2, Line 187: mtd_total_size / mtd_erasesize;
This part was omitted from the earlier import. Once it was added, reads/writes worked again.
--
To view, visit https://review.coreboot.org/22511
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I4c2fc769a8e0865edf8507f6bd796dc3344b4226
Gerrit-Change-Number: 22511
Gerrit-PatchSet: 2
Gerrit-Owner: David Hendricks <david.hendricks(a)gmail.com>
Gerrit-Reviewer: Brian Norris <briannorris(a)chromium.org>
Gerrit-Reviewer: David Hendricks <david.hendricks(a)gmail.com>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Mon, 16 Apr 2018 05:45:40 +0000
Gerrit-HasComments: Yes
Gerrit-HasLabels: No
Hello Shawn Nematbakhsh, Paul Menzel, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/22501
to look at the new patch set (#2).
Change subject: Initial MTD support
......................................................................
Initial MTD support
(This patch was ported from chromiumos @cebee89a)
This adds MTD support to flashrom so that we can read, erase, and
write content on a NOR flash chip via MTD.
BUG=chrome-os-partner:40208
BRANCH=none
TEST=read, write, and erase works on Oak
Signed-off-by: David Hendricks <dhendrix(a)chromium.org>
Change-Id: Ib3b8963874722ea80299e9298101409408d6c253
Reviewed-on: https://chromium-review.googlesource.com/272983
Reviewed-by: Shawn N <shawnn(a)chromium.org>
---
M Makefile
M flashrom.c
M internal.c
A linux_mtd.c
M programmer.h
5 files changed, 417 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/01/22501/2
--
To view, visit https://review.coreboot.org/22501
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ib3b8963874722ea80299e9298101409408d6c253
Gerrit-Change-Number: 22501
Gerrit-PatchSet: 2
Gerrit-Owner: David Hendricks <david.hendricks(a)gmail.com>
Gerrit-Reviewer: David Hendricks <david.hendricks(a)gmail.com>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: Shawn Nematbakhsh <shawnn(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>