[coreboot-gerrit] Change in coreboot[master]: soc/intel/common/block: Add Intel common UART code

Aamir Bohra (Code Review) gerrit at coreboot.org
Mon Mar 27 16:23:45 CEST 2017


Aamir Bohra has posted comments on this change. ( https://review.coreboot.org/18952 )

Change subject: soc/intel/common/block: Add Intel common UART code
......................................................................


Patch Set 2:

(3 comments)

https://review.coreboot.org/#/c/18952/2/src/soc/intel/common/block/uart/uart.c
File src/soc/intel/common/block/uart/uart.c:

Line 39: 	tmp = read32(base + UART_CLK);
> I really don't think we should be doing a read modify write. If the values 
Okay.Revised for direct write since registers are getting programmed for first time post reset.


PS2, Line 40: N_VAL
> These are not very descriptive w.r.t. to the global namespace of the pre-pr
Done.


Line 41: 			UART_CLK_EN | UART_CLK_UPDATE;
> I see skylake is doing this in one full swoop. Is that appropriate for all?
revised to program n and m values with clock update flag and then enabling the clock on next write


-- 
To view, visit https://review.coreboot.org/18952
To unsubscribe, visit https://review.coreboot.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I3843fac88cfb7bbb405be50d69f555b274f0d72a
Gerrit-PatchSet: 2
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Owner: Aamir Bohra <aamir.bohra at intel.com>
Gerrit-Reviewer: Aamir Bohra <aamir.bohra at intel.com>
Gerrit-Reviewer: Aaron Durbin <adurbin at chromium.org>
Gerrit-Reviewer: Barnali Sarkar <barnali.sarkar at intel.com>
Gerrit-Reviewer: Hannah Williams <hannah.williams at intel.com>
Gerrit-Reviewer: Paul Menzel <paulepanter at users.sourceforge.net>
Gerrit-Reviewer: Subrata Banik <subrata.banik at intel.com>
Gerrit-Reviewer: build bot (Jenkins)
Gerrit-HasComments: Yes



More information about the coreboot-gerrit mailing list