[coreboot-gerrit] Change in coreboot[master]: sb/amd/pi/hudson: Add SPI controller support

build bot (Jenkins) (Code Review) gerrit at coreboot.org
Mon Sep 24 10:26:47 CEST 2018


build bot (Jenkins) has posted comments on this change. ( https://review.coreboot.org/28719 )

Change subject: sb/amd/pi/hudson: Add SPI controller support
......................................................................


Patch Set 1:

(22 comments)

https://review.coreboot.org/#/c/28719/1/src/southbridge/amd/pi/hudson/spi.c
File src/southbridge/amd/pi/hudson/spi.c:

https://review.coreboot.org/#/c/28719/1/src/southbridge/amd/pi/hudson/spi.c@75
PS1, Line 75: 	while ((spi_read(SPI_REG_CNTRL02) & CNTRL02_EXEC_OPCODE) &&
trailing statements should be on next line


https://review.coreboot.org/#/c/28719/1/src/southbridge/amd/pi/hudson/spi.c@117
PS1, Line 117: 	for (count = 0; count < bytesout; count++, dout++) {
braces {} are not necessary for single statement blocks


https://review.coreboot.org/#/c/28719/1/src/southbridge/amd/pi/hudson/spi.c@126
PS1, Line 126: 	for (count = 0; count < bytesout; count++) {
braces {} are not necessary for single statement blocks


https://review.coreboot.org/#/c/28719/1/src/southbridge/amd/pi/hudson/spi.c@130
PS1, Line 130: 	for (count = 0; count < bytesin; count++, din++) {
braces {} are not necessary for single statement blocks


https://review.coreboot.org/#/c/28719/1/src/southbridge/amd/pi/hudson/spi.c@139
PS1, Line 139: 	if (!IS_ENABLED (CONFIG_HUDSON_IMC_FWM))
space prohibited between function name and open parenthesis '('


https://review.coreboot.org/#/c/28719/1/src/southbridge/amd/pi/hudson/spi.c@148
PS1, Line 148: 	if (!IS_ENABLED (CONFIG_HUDSON_IMC_FWM))
space prohibited between function name and open parenthesis '('


https://review.coreboot.org/#/c/28719/1/src/southbridge/amd/pi/hudson/spi.c@162
PS1, Line 162:         .xfer_vector = xfer_vectors,
code indent should use tabs where possible


https://review.coreboot.org/#/c/28719/1/src/southbridge/amd/pi/hudson/spi.c@162
PS1, Line 162:         .xfer_vector = xfer_vectors,
please, no spaces at the start of a line


https://review.coreboot.org/#/c/28719/1/src/southbridge/amd/pi/hudson/spi.c@163
PS1, Line 163:         .max_xfer_size = AMD_SB_SPI_TX_LEN,
code indent should use tabs where possible


https://review.coreboot.org/#/c/28719/1/src/southbridge/amd/pi/hudson/spi.c@163
PS1, Line 163:         .max_xfer_size = AMD_SB_SPI_TX_LEN,
please, no spaces at the start of a line


https://review.coreboot.org/#/c/28719/1/src/southbridge/amd/pi/hudson/spi.c@164
PS1, Line 164:         .flags = SPI_CNTRLR_DEDUCT_CMD_LEN,
code indent should use tabs where possible


https://review.coreboot.org/#/c/28719/1/src/southbridge/amd/pi/hudson/spi.c@164
PS1, Line 164:         .flags = SPI_CNTRLR_DEDUCT_CMD_LEN,
please, no spaces at the start of a line


https://review.coreboot.org/#/c/28719/1/src/southbridge/amd/pi/hudson/spi.c@168
PS1, Line 168:         {
code indent should use tabs where possible


https://review.coreboot.org/#/c/28719/1/src/southbridge/amd/pi/hudson/spi.c@168
PS1, Line 168:         {
please, no spaces at the start of a line


https://review.coreboot.org/#/c/28719/1/src/southbridge/amd/pi/hudson/spi.c@169
PS1, Line 169:                 .ctrlr = &spi_ctrlr,
code indent should use tabs where possible


https://review.coreboot.org/#/c/28719/1/src/southbridge/amd/pi/hudson/spi.c@169
PS1, Line 169:                 .ctrlr = &spi_ctrlr,
please, no spaces at the start of a line


https://review.coreboot.org/#/c/28719/1/src/southbridge/amd/pi/hudson/spi.c@170
PS1, Line 170:                 .bus_start = 0,
code indent should use tabs where possible


https://review.coreboot.org/#/c/28719/1/src/southbridge/amd/pi/hudson/spi.c@170
PS1, Line 170:                 .bus_start = 0,
please, no spaces at the start of a line


https://review.coreboot.org/#/c/28719/1/src/southbridge/amd/pi/hudson/spi.c@171
PS1, Line 171:                 .bus_end = 0,
code indent should use tabs where possible


https://review.coreboot.org/#/c/28719/1/src/southbridge/amd/pi/hudson/spi.c@171
PS1, Line 171:                 .bus_end = 0,
please, no spaces at the start of a line


https://review.coreboot.org/#/c/28719/1/src/southbridge/amd/pi/hudson/spi.c@172
PS1, Line 172:         },
code indent should use tabs where possible


https://review.coreboot.org/#/c/28719/1/src/southbridge/amd/pi/hudson/spi.c@172
PS1, Line 172:         },
please, no spaces at the start of a line



-- 
To view, visit https://review.coreboot.org/28719
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Icc6feb433a19337e09fc394cbf30288f53b195dd
Gerrit-Change-Number: 28719
Gerrit-PatchSet: 1
Gerrit-Owner: Michał Żygowski <michal.zygowski at 3mdeb.com>
Gerrit-CC: build bot (Jenkins) <no-reply at coreboot.org>
Gerrit-Comment-Date: Mon, 24 Sep 2018 08:26:47 +0000
Gerrit-HasComments: Yes
Gerrit-HasLabels: No
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180924/8ce73f58/attachment.html>


More information about the coreboot-gerrit mailing list