Patrick Georgi uploaded patch set #31 to the change originally created by HAOUAS Elyes.

View Change

nb/intel: Introduce MCHBAR accessor functions

This adds functions to replace our current macros:
mchbar{8,16,32}_and(addr, mask)
mchbar{8,16,32}_or(addr, value)
mchbar{8,16,32}_and_or(addr, mask, value)

Also, move common BAR macros to nb/intel/common/mchbar_ops.h.

Change-Id: I5fa844a8a13a75d6d802ca48f72c513bfa16d0a5
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Signed-off-by: Patrick Georgi <pgeorgi@google.com>
---
A src/northbridge/intel/common/mchbar_ops.h
M src/northbridge/intel/gm45/gm45.h
M src/northbridge/intel/haswell/haswell.h
M src/northbridge/intel/i945/i945.h
M src/northbridge/intel/ironlake/ironlake.h
M src/northbridge/intel/pineview/pineview.h
M src/northbridge/intel/sandybridge/sandybridge.h
M src/northbridge/intel/x4x/x4x.h
8 files changed, 110 insertions(+), 116 deletions(-)

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/17/45517/31

To view, visit change 45517. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I5fa844a8a13a75d6d802ca48f72c513bfa16d0a5
Gerrit-Change-Number: 45517
Gerrit-PatchSet: 31
Gerrit-Owner: HAOUAS Elyes <ehaouas@noos.fr>
Gerrit-Reviewer: Angel Pons <th3fanbus@gmail.com>
Gerrit-Reviewer: Arthur Heymans <arthur@aheymans.xyz>
Gerrit-Reviewer: Damien Zammit
Gerrit-Reviewer: Martin Roth <martinroth@google.com>
Gerrit-Reviewer: Nico Huber <nico.h@gmx.de>
Gerrit-Reviewer: Patrick Georgi <pgeorgi@google.com>
Gerrit-Reviewer: Patrick Rudolph <siro@das-labor.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter@users.sourceforge.net>
Gerrit-MessageType: newpatchset