From 1005df165213964130acefc29acff9ba4eaa1d0e Mon Sep 17 00:00:00 2001 From: Thomas Ingleby Date: Fri, 2 May 2014 14:57:55 +0100 Subject: [PATCH] intel_galileo_rev_d: Update to new board definition * Added SPI and I2C information Signed-off-by: Thomas Ingleby --- src/intel_galileo_rev_d.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/intel_galileo_rev_d.c b/src/intel_galileo_rev_d.c index ae64f45..1def06b 100644 --- a/src/intel_galileo_rev_d.c +++ b/src/intel_galileo_rev_d.c @@ -37,6 +37,13 @@ maa_intel_galileo_rev_d() b->gpio_count = 14; b->aio_count = 6; b->pwm_count = 5; + + b->i2c_bus_count = 1; + b->i2c_bus[0] = 0; + + b->spi_bus_count = 1; + b->spi_bus[0] = 1.0; + b->pins = (maa_pininfo_t*) malloc(sizeof(maa_pininfo_t)*25); //GPIO