Paul Menzel has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/38647 )
Change subject: drivers/intel/gma/edid: Use byte swap function
......................................................................
Patch Set 1:
(1 comment)
Patch Set 1: Code-Review-1
That looks wrong. edid is just 1 byte, so you drop 3 bytes on implicitly casting it.
What do you mean?
https://review.coreboot.org/c/coreboot/+/38647/1/src/drivers/intel/gma/edid....
File src/drivers/intel/gma/edid.c:
https://review.coreboot.org/c/coreboot/+/38647/1/src/drivers/intel/gma/edid....
PS1, Line 94: reg32
This variable shouldn't be necessary anymore.
Do you mean `swab32(read32(GMBUS3_ADDR)`?
--
To view, visit
https://review.coreboot.org/c/coreboot/+/38647
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I818318361a83b2b3f0c6d8637dd3b6917590c836
Gerrit-Change-Number: 38647
Gerrit-PatchSet: 1
Gerrit-Owner: Paul Menzel
paulepanter@users.sourceforge.net
Gerrit-Reviewer: Angel Pons
th3fanbus@gmail.com
Gerrit-Reviewer: Patrick Rudolph
siro@das-labor.org
Gerrit-Reviewer: Paul Menzel
paulepanter@users.sourceforge.net
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-Comment-Date: Thu, 30 Jan 2020 22:50:34 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Angel Pons
th3fanbus@gmail.com
Gerrit-MessageType: comment