nb/intel/*/gma.c: Use macros for GMBUS numbers
Change-Id: I885b6bd9f5be6b4e3696a530016123a3e81c4b10 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/20889 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
This commit is contained in:
committed by
Nico Huber
parent
6aea6f7a6b
commit
8da2286885
@@ -113,7 +113,7 @@ static void intel_gma_init(const struct northbridge_intel_x4x_config *info,
|
||||
|
||||
udelay(1);
|
||||
|
||||
intel_gmbus_read_edid(mmio + GMBUS0, 2, 0x50, edid_data,
|
||||
intel_gmbus_read_edid(mmio + GMBUS0, GMBUS_PORT_VGADDC, 0x50, edid_data,
|
||||
sizeof(edid_data));
|
||||
intel_gmbus_stop(mmio + GMBUS0);
|
||||
decode_edid(edid_data,
|
||||
|
Reference in New Issue
Block a user