[uboot-tools] add initial fix for trimslice, should be properly fixed for next RC
Peter Robinson
pbrobinson at fedoraproject.org
Wed Oct 8 16:41:45 UTC 2014
commit c75774dd93d2aa67e9cd2f8f0b38b0fd843a73a9
Author: Peter Robinson <pbrobinson at gmail.com>
Date: Wed Oct 8 17:41:30 2014 +0100
add initial fix for trimslice, should be properly fixed for next RC
trimslice-fixbuild.patch | 17 +++++++++++++++++
uboot-tools.spec | 2 ++
2 files changed, 19 insertions(+), 0 deletions(-)
---
diff --git a/trimslice-fixbuild.patch b/trimslice-fixbuild.patch
new file mode 100644
index 0000000..c713dd3
--- /dev/null
+++ b/trimslice-fixbuild.patch
@@ -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
+
+
diff --git a/uboot-tools.spec b/uboot-tools.spec
index a8dad75..d9d87dc 100644
--- a/uboot-tools.spec
+++ b/uboot-tools.spec
@@ -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
More information about the scm-commits
mailing list