CHROMIUM: Revert "CHROMIUM: Drop EC devfs v1 interface"
This reverts commit 3000d007a72f07af12b31674504d0667b047be87.
Turns out sentry still uses the old EC interface and is on the 3.18
kernel resulting in a P0.
This meshes with observations that sentry is on 3.18 and
(from commit message "The only device left on kernel v3.18 is gale").
BUG=b:195791436
BRANCH=none
TEST=```
INFO: host_flashrom: Executing: flashrom -w /tmp/fwupdater.rMwbUo -p ec
flashrom unknown on Linux 3.18.0-20707-gd53b17c048503 (x86_64)
flashrom is free software, get the source code at https://flashrom.org
Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).
Found smsc flash chip "mec1322" (256 kB, Programmer-specific) mapped at
physical address 0x0000000000000000.
Reading old flash chip contents... done.
Erasing and writing flash chip... SUCCESS
INFO: host_flashrom: Executing: flashrom -w /tmp/fwupdater.IDrXXp -p
ec:type=pd
flashrom unknown on Linux 3.18.0-20707-gd53b17c048503 (x86_64)
flashrom is free software, get the source code at https://flashrom.org
Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).
Found stm flash chip "stm32f05x" (64 kB, Programmer-specific) mapped at
physical address 0x0000000000000000.
Reading old flash chip contents... done.
Erasing and writing flash chip... SUCCESS
>> DONE: Firmware updater exits successfully.
```
Signed-off-by: Edward O'Callaghan <quasisec@google.com>
Change-Id: Ide92a68acb236d7f2432cddd2e4baf8d36fea49f
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/flashrom/+/3135020
Tested-by: Edward O'Callaghan <quasisec@chromium.org>
Reviewed-by: Anastasia Klimchuk <aklm@chromium.org>
Reviewed-by: Kevin Shelton <kmshelton@chromium.org>
Commit-Queue: Edward O'Callaghan <quasisec@chromium.org>
(cherry picked from commit 9f825289e425ab5ed982b966ece15806895f3bc2)
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/flashrom/+/3180387
Tested-by: Kevin Shelton <kmshelton@chromium.org>
Auto-Submit: Kevin Shelton <kmshelton@chromium.org>
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Owners-Override: Jack Rosenthal <jrosenth@chromium.org>
Commit-Queue: Kevin Shelton <kmshelton@chromium.org>
1 file changed