add initial fix for trimslice, should be properly fixed for next RC

This commit is contained in:
Peter Robinson 2014-10-08 17:41:30 +01:00
parent 4b8ad3fef7
commit c75774dd93
2 changed files with 19 additions and 0 deletions

17
trimslice-fixbuild.patch Normal file
View File

@ -0,0 +1,17 @@
diff --git a/board/compulab/common/eeprom.c b/board/compulab/common/eeprom.c
index 85442cd..2df3ada 100644
--- a/board/compulab/common/eeprom.c
+++ b/board/compulab/common/eeprom.c
@@ -15,6 +15,10 @@
# define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1
#endif
+#ifndef CONFIG_SYS_I2C_EEPROM_BUS
+#define CONFIG_SYS_I2C_EEPROM_BUS 0
+#endif
+
#define EEPROM_LAYOUT_VER_OFFSET 44
#define BOARD_SERIAL_OFFSET 20
#define BOARD_SERIAL_OFFSET_LEGACY 8

View File

@ -27,6 +27,7 @@ Patch21: riotboard-port-to-generic-distro-booting.patch
# Bug fixes
# http://lists.denx.de/pipermail/u-boot/2014-September/190052.html
Patch30: sun7i-bananapi-fixGmac.patch
Patch31: trimslice-fixbuild.patch
BuildRequires: dtc, openssl-devel
BuildRequires: fedora-logos, netpbm-progs
@ -102,6 +103,7 @@ u-boot bootloader binaries for armv7 boards
%patch21 -p1 -b .riot
%patch30 -p1 -b .BPgmac
%patch31 -p1 -b .ts
mkdir builds
# convert fedora logo to bmp for use in u-boot