[coreboot-gerrit] Patch set updated for coreboot: 10be39e H8SCM/H8QGI: Increase size of bus variable to meet API
Bruce Griffith (Bruce.Griffith@se-eng.com)
gerrit at coreboot.org
Wed Jun 26 12:06:13 CEST 2013
Bruce Griffith (Bruce.Griffith at se-eng.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/3546
-gerrit
commit 10be39ec283d63c544dfb15832a7d5ed286a3f50
Author: Bruce Griffith <Bruce.Griffith at se-eng.com>
Date: Tue Jun 25 19:13:28 2013 -0600
H8SCM/H8QGI: Increase size of bus variable to meet API
Users of mptable_write_buses() pass two pass-by-reference
parameters reflecting a maximum bus number and a search bus
number. These bus numbers are expected to be held in "int"
variables and are updated by the function. Both of the
SuperMicro boards define the search bus number as a
byte value in mptable.c.
For now, change the two SuperMicro boards to use "int"
to hold the search bus index.
Change-Id: Ie71850719c1fa3cda0ac9c8773bb80650de95c70
Signed-off-by: Bruce Griffith <Bruce.Griffith at se-eng.com>
---
src/mainboard/supermicro/h8qgi/mptable.c | 2 +-
src/mainboard/supermicro/h8scm/mptable.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/mainboard/supermicro/h8qgi/mptable.c b/src/mainboard/supermicro/h8qgi/mptable.c
index 2c112ce..c10a219 100644
--- a/src/mainboard/supermicro/h8qgi/mptable.c
+++ b/src/mainboard/supermicro/h8qgi/mptable.c
@@ -33,7 +33,7 @@ extern u8 bus_sp5100[2];
extern u32 bus_type[256];
extern u32 sbdn_sr5650;
extern u32 sbdn_sp5100;
-extern u8 bus_isa;
+extern int bus_isa;
static void *smp_write_config_table(void *v)
diff --git a/src/mainboard/supermicro/h8scm/mptable.c b/src/mainboard/supermicro/h8scm/mptable.c
index 2c112ce..c10a219 100644
--- a/src/mainboard/supermicro/h8scm/mptable.c
+++ b/src/mainboard/supermicro/h8scm/mptable.c
@@ -33,7 +33,7 @@ extern u8 bus_sp5100[2];
extern u32 bus_type[256];
extern u32 sbdn_sr5650;
extern u32 sbdn_sp5100;
-extern u8 bus_isa;
+extern int bus_isa;
static void *smp_write_config_table(void *v)
More information about the coreboot-gerrit
mailing list