[coreboot-gerrit] Change in coreboot[master]: nb/i945: Check if IGD is enabled before R/W to dev(0, 2)

Elyes HAOUAS (Code Review) gerrit at coreboot.org
Sat Oct 6 17:51:21 CEST 2018


Elyes HAOUAS has posted comments on this change. ( https://review.coreboot.org/28935 )

Change subject: nb/i945: Check if IGD is enabled before R/W to dev(0, 2)
......................................................................


Patch Set 1: Code-Review-1

(3 comments)

I do not have a datasheet, but, if I'm not wrong, using  r2 on vendor bios of d945gclf (supported board), it seems making a test before writing :
MEMORY[0xFED14F08] |= 0x6000u;
MEMORY[0xFED14F0A] |= 0x6000u;
MEMORY[0xFED14F0C] |= 0x6000u;

https://review.coreboot.org/#/c/28935/1/src/northbridge/intel/i945/raminit.c
File src/northbridge/intel/i945/raminit.c:

https://review.coreboot.org/#/c/28935/1/src/northbridge/intel/i945/raminit.c@a2151
PS1, Line 2151: 
here by default, IGD is "enabled" even if it is not (case we use an external GPU for example)


https://review.coreboot.org/#/c/28935/1/src/northbridge/intel/i945/raminit.c@a2306
PS1, Line 2306: 
              : 
              : 
              : 
as we have : "int integrated_graphics = 1;"
this will never happen even if IGD is disabled


https://review.coreboot.org/#/c/28935/1/src/northbridge/intel/i945/raminit.c@a2317
PS1, Line 2317: 
              : 
              : 
this will never happen



-- 
To view, visit https://review.coreboot.org/28935
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: I51ab94393710ce0222b353ab0cef28621fafaacf
Gerrit-Change-Number: 28935
Gerrit-PatchSet: 1
Gerrit-Owner: Elyes HAOUAS <ehaouas at noos.fr>
Gerrit-Reviewer: Arthur Heymans <arthur at aheymans.xyz>
Gerrit-Reviewer: Elyes HAOUAS <ehaouas at noos.fr>
Gerrit-Reviewer: Nico Huber <nico.h at gmx.de>
Gerrit-Reviewer: build bot (Jenkins) <no-reply at coreboot.org>
Gerrit-CC: Angel Pons <th3fanbus at gmail.com>
Gerrit-Comment-Date: Sat, 06 Oct 2018 15:51:21 +0000
Gerrit-HasComments: Yes
Gerrit-HasLabels: Yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20181006/7b5d2bd0/attachment.html>


More information about the coreboot-gerrit mailing list