Marshall Dawson has posted comments on this change. ( https://review.coreboot.org/19157 )
Change subject: amd/pi/00670F00: Add AMD PSP support for Stoney Ridge
......................................................................
Patch Set 14:
(2 comments)
https://review.coreboot.org/#/c/19157/17//COMMIT_MSG
Commit Message:
Line 7: amd/pi/00670F00: Add AMD PSP support for Stoney Ridge
> This change touches agesawrapper.c file and moving amd_initcpuio() affects
Sorry, I must have missed the request -- I thought I suggested the possibility and don't recall any interest.
Split done.
https://review.coreboot.org/#/c/19157/14/src/northbridge/amd/pi/00670F00/ps…
File src/northbridge/amd/pi/00670F00/psp.c:
Line 196: status_to_string(cmd_status));
> Sure, displayed error _string_ will change since you have different cmd_sta
It don't see any commands that should expect anything coming back in header.status. I'll change the function to report it only if the PSP modifies the value..
--
To view, visit https://review.coreboot.org/19157
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: Icf111470b261d6516b878e88be471967abe681b3
Gerrit-PatchSet: 14
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Owner: Marc Jones <marc(a)marcjonesconsulting.com>
Gerrit-Reviewer: Aaron Durbin <adurbin(a)chromium.org>
Gerrit-Reviewer: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Gerrit-Reviewer: Marshall Dawson <marshalldawson3rd(a)gmail.com>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-HasComments: Yes
Furquan Shaikh has posted comments on this change. ( https://review.coreboot.org/19386 )
Change subject: drivers/spi: Re-factor spi_crop_chunk
......................................................................
Patch Set 2:
(6 comments)
https://review.coreboot.org/#/c/19386/2//COMMIT_MSG
Commit Message:
PS2, Line 14: Size of 0 indicates any transfer size is fine
> Dot/period at end of sentence.
Done
PS2, Line 17: ).
> Switch the ) and ..
Done
PS2, Line 13: 1. max_xfer_size: Maximum transfer size supported by the controller
: (Size of 0 indicates any transfer size is fine)
: 2. deduct_cmd_len: Whether cmd_len needs to be deducted from the
: max_xfer_size to determine max data size that can be
: transferred. (This is used by the amd boards).
> Add a line break to make the enumeration more visible?
Done
https://review.coreboot.org/#/c/19386/2/src/include/spi-generic.h
File src/include/spi-generic.h:
PS2, Line 91: contoller
> you can fix this tipo while here :)
Done
PS2, Line 99: (0 = No limit)
> what about using UINTMAX_MAX for no limit to make it more explicit?
Done
PS2, Line 113: deduct_cmd_len
> thinking about someone implementing a new SPI controller using max_xfer_siz
I have added an assert in spi_crop_chunk to ensure that max_xfer_size is not 0 for the controllers that require use of the crop chunk.
--
To view, visit https://review.coreboot.org/19386
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I81c199413f879c664682088e93bfa3f91c6a46e5
Gerrit-PatchSet: 2
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Owner: Furquan Shaikh <furquan(a)google.com>
Gerrit-Reviewer: Aaron Durbin <adurbin(a)chromium.org>
Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.com>
Gerrit-Reviewer: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: Philippe Mathieu-Daudé <philippe.mathieu.daude(a)gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Reviewer: coreboot org <coreboot.org(a)gmail.com>
Gerrit-HasComments: Yes