Attention is currently required from: Thomas Heijligen.
Alexander Goncharov has posted comments on this change. ( https://review.coreboot.org/c/flashrom/+/73822 )
Change subject: doc: Add contact page
......................................................................
Patch Set 4: Code-Review+1
(1 comment)
File doc/contact.rst:
https://review.coreboot.org/c/flashrom/+/73822/comment/63f233d2_7f92ab5c
PS4, Line 85: *
Looks like it shouldn't be part of the list
--
To view, visit https://review.coreboot.org/c/flashrom/+/73822
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: Ibfba6a59c5a945b4238d16e07a07584f94159568
Gerrit-Change-Number: 73822
Gerrit-PatchSet: 4
Gerrit-Owner: Thomas Heijligen <src(a)posteo.de>
Gerrit-Reviewer: Alexander Goncharov <chat(a)joursoir.net>
Gerrit-Reviewer: Anastasia Klimchuk <aklm(a)chromium.org>
Gerrit-Reviewer: Edward O'Callaghan <quasisec(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Thomas Heijligen <src(a)posteo.de>
Gerrit-Comment-Date: Fri, 24 Mar 2023 10:02:35 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Attention is currently required from: Thomas Heijligen, Alexander Goncharov.
Anastasia Klimchuk has posted comments on this change. ( https://review.coreboot.org/c/flashrom/+/73825 )
Change subject: atavia: Use a atavia_offset locally to determin offset
......................................................................
Patch Set 1: Code-Review+1
(4 comments)
Commit Message:
https://review.coreboot.org/c/flashrom/+/73825/comment/dc3596a1_6eed7b46
PS1, Line 7: Use a atavia_offset locally to determin offset
I think this should be more specific:
`Always initialise atavia_offset from programmer param`
And the below, in commit description you can add more clarification like
`Remove custom atavia_map function and detect the value of
atavia_offset from programmer param. This means to use
atavia_offset directly <and the the rest of your description>`
File atavia.c:
https://review.coreboot.org/c/flashrom/+/73825/comment/190bbf64_32432ff5
PS1, Line 58: try and error
trial and error
https://review.coreboot.org/c/flashrom/+/73825/comment/4d91b4b7_fcc1d42b
PS1, Line 57: /* The atavia_offset is some kind of magic to get the driver working.
: * You can find the correct value in the documentation or by try and error.
: */
I think you need to add new line:
/*
* comment
*/
https://review.coreboot.org/c/flashrom/+/73825/comment/9fbb0a24_ed9e1e9c
PS1, Line 140: char *arg = extract_programmer_param_str(cfg, "offset");
It seems like offset should be a required parameter now? I don't think the default offset 0 would ever work?
--
To view, visit https://review.coreboot.org/c/flashrom/+/73825
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: Ie0ec85c276f03942d6b9435a746ec329b2b95926
Gerrit-Change-Number: 73825
Gerrit-PatchSet: 1
Gerrit-Owner: Thomas Heijligen <src(a)posteo.de>
Gerrit-Reviewer: Alexander Goncharov <chat(a)joursoir.net>
Gerrit-Reviewer: Anastasia Klimchuk <aklm(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Thomas Heijligen <src(a)posteo.de>
Gerrit-Attention: Alexander Goncharov <chat(a)joursoir.net>
Gerrit-Comment-Date: Fri, 24 Mar 2023 07:49:02 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Attention is currently required from: Alexander Goncharov.
Anastasia Klimchuk has posted comments on this change. ( https://review.coreboot.org/c/flashrom/+/72160 )
Change subject: ni845x_spi: refactor singleton states into reentrant pattern
......................................................................
Patch Set 2:
(5 comments)
File ni845x_spi.c:
https://review.coreboot.org/c/flashrom/+/72160/comment/b93cd2df_5955a65b
PS2, Line 228: uInt32 device_handle
I thought the purpose of the first patch in the chain CB:72154 is to do this type of work: adding arguments to functions and passing values as arguments instead of using globals?
Is there a reason why this specific diff, adding `uInt32 device_handle` as an argument to `usb8452_spi_set_io_voltage` cannot be done in CB:72154 ?
https://review.coreboot.org/c/flashrom/+/72160/comment/d5aa83ad_978fcd32
PS2, Line 395: data
These are actually arguments, not global data
https://review.coreboot.org/c/flashrom/+/72160/comment/cdc05f96_16ca4d87
PS2, Line 575: uInt32 device_handle
`device_handle` declared as `Int32` in the `ni845x_spi_data` struct
https://review.coreboot.org/c/flashrom/+/72160/comment/52da9761_537b4bbd
PS2, Line 640:
You won't need previous patch CB:72159 if you do:
1) allocate data here, and use data->member_name from here and below
2) add `free(data)` in shutdown function
3) call shutdown function with `data` in `err:` label branch
Also it would be consistent with other programmers, all of them which have data struct they free data in shutdown function.
what do you think?
https://review.coreboot.org/c/flashrom/+/72160/comment/893aa9e6_c124bbb0
PS2, Line 663: NULL
and now you need to pass `data` here, now you have data!
--
To view, visit https://review.coreboot.org/c/flashrom/+/72160
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I45fcb8e20582cb0c532c4a9f0c78543a25f8d484
Gerrit-Change-Number: 72160
Gerrit-PatchSet: 2
Gerrit-Owner: Alexander Goncharov <chat(a)joursoir.net>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Anastasia Klimchuk <aklm(a)chromium.org>
Gerrit-Attention: Alexander Goncharov <chat(a)joursoir.net>
Gerrit-Comment-Date: Fri, 24 Mar 2023 07:31:17 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: Alexander Goncharov.
Anastasia Klimchuk has posted comments on this change. ( https://review.coreboot.org/c/flashrom/+/72156 )
Change subject: ni845x_spi: handle errors using goto during initialization
......................................................................
Patch Set 2: Code-Review+2
--
To view, visit https://review.coreboot.org/c/flashrom/+/72156
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: Ie9620d59db229729fd8523f99b0917d938bcc4ed
Gerrit-Change-Number: 72156
Gerrit-PatchSet: 2
Gerrit-Owner: Alexander Goncharov <chat(a)joursoir.net>
Gerrit-Reviewer: Anastasia Klimchuk <aklm(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Alexander Goncharov <chat(a)joursoir.net>
Gerrit-Comment-Date: Fri, 24 Mar 2023 07:06:51 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment