Nicholas Chin
0facf12ca4
ch347_spi: Add initial support for the WCH CH347
...
Add support for the WCH CH347, a high-speed USB to bus converter
supporting multiple protocols interfaces including SPI. Currently only
mode 1 (vendor defined communication interface) is supported, mode 2
(USB HID communication interface) support will be added later. The code
is currently hard coded to use CS1 and a SPI clock of 15 MHz, though
there are 2 CS lines and 6 other GPIO lines available, as well as a
configurable clock divisor for up to 60MHz operation. Support for these
will be exposed through programmer parameters in later commits.
This currently uses the synchronous libusb API. Performance seems to be
alright so far, if it becomes an issue I may switch to the asynchronous
API.
Tested with a MX25L1606E flash chip
Signed-off-by: Nicholas Chin <nic.c3.14@gmail.com>
Change-Id: I31b86c41076cc45d4a416a73fa1131350fb745ba
Reviewed-on: https://review.coreboot.org/c/flashrom/+/70573
Reviewed-by: Thomas Heijligen <src@posteo.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2023-02-27 10:13:01 +00:00
Anastasia Klimchuk
c4655409bb
MAINTAINERS: Update unit tests from Supported to Maintained
...
Change-Id: I13853c6c48eb4054d2ed7d79bcfc768684914797
Signed-off-by: Anastasia Klimchuk <aklm@chromium.org>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/73277
Reviewed-by: Thomas Heijligen <src@posteo.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2023-02-27 09:28:50 +00:00
Evan Benn
8df5e4f855
MAINTAINERS: flashrom_tester: Change email
...
Change-Id: Ic1a53ddbc38e7d63f7b15aa2b31c63a5b65746f9
Signed-off-by: Evan Benn <evanbenn@gmail.com>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/73175
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Anastasia Klimchuk <aklm@chromium.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
2023-02-26 12:02:29 +00:00
Alexander Goncharov
bc712deace
MAINTAINERS: Add Alexander Goncharov for bash completion
...
Change-Id: I5cdae05a46dbd61060ff2b84accb9297334a6301
Signed-off-by: Alexander Goncharov <chat@joursoir.net>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/72393
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Anastasia Klimchuk <aklm@chromium.org>
2023-01-26 22:50:10 +00:00
Miklós Márton
7ffa626d12
MAINTAINERS: Add Miklos Marton for ni854x_spi
...
Change-Id: Ia548d23d15f0efa92d83577d3106e6231ed7688f
Signed-off-by: Miklós Márton <martonmiklosqdev@gmail.com>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/72181
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Anastasia Klimchuk <aklm@chromium.org>
2023-01-23 23:35:21 +00:00
Miklós Márton
f4e14e084b
MAINTAINERS: Add Miklos Marton for STLINK-V3
...
Change-Id: I2e5c90af2b7313f933780ea570a23d1d9101ef98
Signed-off-by: Miklós Márton <martonmiklosqdev@gmail.com>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/72180
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Anastasia Klimchuk <aklm@chromium.org>
2023-01-23 22:42:08 +00:00
Sergii Dmytruk
7440542ecb
MAINTAINERS: Add Sergii Dmytruk for write-protect
...
Change-Id: Ia730fcff863b5590d76cfaabe76badd503d4a60c
Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/71881
Reviewed-by: Anastasia Klimchuk <aklm@chromium.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2023-01-15 06:29:37 +00:00
Arthur Heymans
0bc84bfe4a
MAINTAINERS: Add Arthur Heymans for sb600spi
...
Change-Id: Id2a51ae61f51111bede7d590d92622ee8144515e
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/71908
Reviewed-by: Anastasia Klimchuk <aklm@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
2023-01-14 09:28:19 +00:00
Felix Singer
644b9d96f0
MAINTAINERS: Add Felix Singer for test_build.sh
...
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Change-Id: I36267e6c080b14e90e820d3e26abaefe642f9c65
Reviewed-on: https://review.coreboot.org/c/flashrom/+/67269
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Anastasia Klimchuk <aklm@chromium.org>
2022-10-31 05:17:54 +00:00
Evan Benn
9944a8a8a7
MAINTAINERS: Add Evan Benn for flashrom_tester
...
BUG=None
BRANCH=None
TEST=../coreboot/util/scripts/get_maintainer.pl -f util/flashrom_tester/build.rs
Change-Id: Ibc7f77b7f8ba2f078d7edf47843a0d7cb288ab9e
Signed-off-by: Evan Benn <evanbenn@chromium.org>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/66624
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Singer <felixsinger@posteo.net>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Anastasia Klimchuk <aklm@chromium.org>
2022-08-14 22:25:44 +00:00
Felix Singer
5b7ae255c3
maintainers: Add Felix Singer for Nix shell
...
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Change-Id: I1d246ad8e1270a53275ab12adb8c3d858009d176
Reviewed-on: https://review.coreboot.org/c/flashrom/+/66006
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Anastasia Klimchuk <aklm@chromium.org>
2022-08-03 23:13:16 +00:00
Felix Singer
2386dd3341
maintainers: Add Anastasia Klimchuk for MAINTAINERS
...
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Change-Id: Ibd024b07c3cf2b537bb055694ff2654fed305400
Reviewed-on: https://review.coreboot.org/c/flashrom/+/66005
Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Anastasia Klimchuk <aklm@chromium.org>
2022-08-03 23:12:51 +00:00
Felix Singer
f5b8fe29dd
maintainers: Add Felix Singer for MAINTAINERS
...
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Change-Id: I9ad71346111a0c42a4424557b3bda6ee1cc3484f
Reviewed-on: https://review.coreboot.org/c/flashrom/+/66004
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Anastasia Klimchuk <aklm@chromium.org>
2022-08-03 23:12:07 +00:00
Anastasia Klimchuk
398e2d8420
maintainers: Add Nikolai Artemiev for write-protect
...
Change-Id: Ic0c1cacc8519ba2691dcbf959c3e667ef38f0198
Signed-off-by: Anastasia Klimchuk <aklm@chromium.org>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/65942
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Singer <felixsinger@posteo.net>
Reviewed-by: Nikolai Artemiev <nartemiev@google.com>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
2022-07-26 00:35:46 +00:00
Anastasia Klimchuk
6ed465317c
maintainers: Add Anastasia Klimchuk for unit tests
...
Change-Id: I945746751be713c07b30d67dbe270edf129d54c2
Signed-off-by: Anastasia Klimchuk <aklm@chromium.org>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/65941
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Singer <felixsinger@posteo.net>
2022-07-26 00:35:31 +00:00
Anastasia Klimchuk
2a845af785
maintainers: Add Nikolai Artemiev for linux_mtd
...
Change-Id: I67c9d5fd6aa0a45770ab35bf684237cc932f9309
Signed-off-by: Anastasia Klimchuk <aklm@chromium.org>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/65940
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Singer <felixsinger@posteo.net>
Reviewed-by: Nikolai Artemiev <nartemiev@google.com>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
2022-07-26 00:35:01 +00:00
Anastasia Klimchuk
cb77e3cc25
maintainers: Add Peter Marheine for i2c programmers
...
Change-Id: I93df452846d8cbbfdac443e6f0f67dc8a69581f6
Signed-off-by: Anastasia Klimchuk <aklm@chromium.org>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/65939
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Singer <felixsinger@posteo.net>
Reviewed-by: Peter Marheine <pmarheine@chromium.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
2022-07-26 00:34:42 +00:00
Anastasia Klimchuk
62cb16c709
maintainers: Add Peter Marheine for i2c core
...
Change-Id: I1e2884451aa0dbc40f09ef0e6a61c157d6a734a5
Signed-off-by: Anastasia Klimchuk <aklm@chromium.org>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/65938
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Singer <felixsinger@posteo.net>
Reviewed-by: Peter Marheine <pmarheine@chromium.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
2022-07-26 00:34:20 +00:00
Anastasia Klimchuk
509f675fe2
maintainers: Add Thomas Heijligen for build system
...
Change-Id: I48f88caf1b9f2477674100ef39c3bb800c2909d5
Signed-off-by: Anastasia Klimchuk <aklm@chromium.org>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/65937
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Singer <felixsinger@posteo.net>
Reviewed-by: Thomas Heijligen <src@posteo.de>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
2022-07-26 00:34:03 +00:00
Felix Singer
0dc0636c02
Introduce MAINTAINERS file
...
The MAINTAINERS file is a list of people who take special care of
specific things and places of the tree. Also, it gives an overview
about which people are good points for contact in case of questions
appear.
In addition to that, this file is hooked up to Gerrit so that when a
patch is pushed, which touches any of these places, the related people
are added to reviewers or CC. This is done by a tool which looks up the
changed places in the MAINTAINERS file.
To clarify: This MAINTAINERS file does *not* mean that any reviews,
comments or thoughts from other people not listed there aren't welcome
anymore. We just want to make sure that patches don't get lost.
The initial file was copied from the coreboot repository. The format is
the same as the one which is used for coreboot.
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Change-Id: Ic9a302055d941eeb2499a84c62c5fe1d4c9944cf
Reviewed-on: https://review.coreboot.org/c/flashrom/+/65569
Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
Reviewed-by: Peter Marheine <pmarheine@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Anastasia Klimchuk <aklm@chromium.org>
Reviewed-by: Thomas Heijligen <src@posteo.de>
2022-07-26 00:33:36 +00:00