Hello community,

here is the log from the commit of package u-boot for openSUSE:Factory checked 
in at 2015-10-08 08:25:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/u-boot (Old)
 and      /work/SRC/openSUSE:Factory/.u-boot.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "u-boot"

Changes:
--------
--- /work/SRC/openSUSE:Factory/u-boot/u-boot-a10-olinuxino-lime.changes 
2015-10-06 13:26:15.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.u-boot.new/u-boot-a10-olinuxino-lime.changes    
2015-10-08 08:25:55.000000000 +0200
@@ -1,0 +2,14 @@
+Mon Oct  5 18:04:28 UTC 2015 - afaer...@suse.de
+
+- Add spring and firefly-rk3288 for armv7hl
+  * Break overly long armv7_boards line in pre_checkin.sh
+  * Clean up case'ing of defconfigs to avoid excessive wildcards
+- Prepare for adding qemu-ppce500 for ppc
+  * Allow for more than two exclusive architectures (cleanup)
+
+-------------------------------------------------------------------
+Mon Oct  5 11:42:08 UTC 2015 - dmuel...@suse.com
+
+- add arndale-apply-cortex-a15-erratas.patch
+
+-------------------------------------------------------------------
u-boot-a13-olinuxino.changes: same change
u-boot-a13-olinuxinom.changes: same change
u-boot-a20-olinuxino-lime.changes: same change
u-boot-a20-olinuxino-lime2.changes: same change
u-boot-a20-olinuxinomicro.changes: same change
u-boot-am335xevm.changes: same change
u-boot-arndale.changes: same change
u-boot-bananapi.changes: same change
u-boot-colibrit20.changes: same change
u-boot-cubieboard.changes: same change
u-boot-cubieboard2.changes: same change
u-boot-cubietruck.changes: same change
New Changes file:

--- /dev/null   2015-09-24 09:51:01.260026505 +0200
+++ /work/SRC/openSUSE:Factory/.u-boot.new/u-boot-firefly-rk3288.changes        
2015-10-08 08:25:55.000000000 +0200
@@ -0,0 +1,844 @@
+-------------------------------------------------------------------
+Mon Oct  5 18:04:28 UTC 2015 - afaer...@suse.de
+
+- Add spring and firefly-rk3288 for armv7hl
+  * Break overly long armv7_boards line in pre_checkin.sh
+  * Clean up case'ing of defconfigs to avoid excessive wildcards
+- Prepare for adding qemu-ppce500 for ppc
+  * Allow for more than two exclusive architectures (cleanup)
+
+-------------------------------------------------------------------
+Mon Oct  5 11:42:08 UTC 2015 - dmuel...@suse.com
+
+- add arndale-apply-cortex-a15-erratas.patch
+
+-------------------------------------------------------------------
+Thu Oct  1 16:41:38 UTC 2015 - guillaume.gar...@opensuse.org
+
+- Update to 2015.10-rc4
+- Update drop-marvell.patch
+
+-------------------------------------------------------------------
+Sat Sep 12 12:22:53 UTC 2015 - guilla...@opensuse.org
+
+- Use u-boot-2015.10-rc3.tar.bz2 package provided on FTP instead of
+  packaging it manually.
+
+-------------------------------------------------------------------
+Tue Sep  8 08:52:56 UTC 2015 - guilla...@opensuse.org
+
+- Update to 2015.10-rc3
+
+-------------------------------------------------------------------
+Wed Sep  2 16:28:02 UTC 2015 - guilla...@opensuse.org
+
+- Add odroid and odroid-xu3
+
+-------------------------------------------------------------------
+Tue Aug 18 08:31:48 UTC 2015 - guilla...@opensuse.org
+
+- Update to 2015.10-rc2 
+- Remove upstreamed patch:
+  * jetson-tk1-gpu-1.patch
+  * jetson-tk1-gpu-2.patch
+
+-------------------------------------------------------------------
+Thu Aug  6 12:40:58 UTC 2015 - guilla...@opensuse.org
+
+- Update to 2015.10-rc1
+- Remove upstreamed patch:
+  * mx53loco-bootscr.patch
+- Update patches:
+  * jetson-tk1-gpu-1.patch
+  * jetson-tk1-gpu-2.patch
+
+-------------------------------------------------------------------
+Wed Aug  5 13:36:45 UTC 2015 - dmuel...@suse.com
+
+- add mx6cuboxi
+
+-------------------------------------------------------------------
+Wed Jul 22 22:38:23 UTC 2015 - afaer...@suse.de
+
+- jetson-tk1-gpu-1.patch,
+  jetson-tk1-gpu-2.patch: Enable the Tegra124 GPU device tree node
+
+-------------------------------------------------------------------
+Mon Jul 20 10:45:39 UTC 2015 - afaer...@suse.de
+
+- Add u-boot-jetson-tk1
+
+-------------------------------------------------------------------
+Fri Jul 17 06:42:37 UTC 2015 - afaer...@suse.de
+
+- Add u-boot-merriia80optimus
+
+-------------------------------------------------------------------
+Wed Jul 15 13:05:24 UTC 2015 - guilla...@opensuse.org
+
+- Update to 2015.07
+
+-------------------------------------------------------------------
+Tue Jun 30 07:34:49 UTC 2015 - guilla...@opensuse.org
+
+- Update to 2015.07-rc3
+- Remove upstreamed patches:
+  * enable_spl_ext_support_for_ti_armv7.patch
+  * fix_slow_mmc_on_rpi.patch
+
+-------------------------------------------------------------------
+Thu Jun 18 12:07:10 UTC 2015 - guilla...@opensuse.org
+
+- Add fix_slow_mmc_on_rpi.patch to speed up MMC load on RPi
+- Rework patches (to be upstreamable):
+  * enable_spl_ext_support_for_ti_armv7.patch
+  * mx53loco-bootscr.patch
+- Remove fix_beagle_spl_build.patch
+
+-------------------------------------------------------------------
+Wed Jun 10 10:07:23 UTC 2015 - guilla...@opensuse.org
+
+- Update to 2015.07-rc2
+- Update drop-marvell.patch
+
+-------------------------------------------------------------------
+Wed May 27 10:07:49 UTC 2015 - guilla...@opensuse.org
+
+- Update to 2015.07-rc1:
+- Update drop-marvell.patch
+- Remove no more needed add_snow_usb_boot.patch
+
+-------------------------------------------------------------------
+Wed Apr 29 07:51:25 UTC 2015 - dmuel...@suse.com
+
+- adjust copyright headers
+
+-------------------------------------------------------------------
+Thu Apr 16 08:34:11 UTC 2015 - guilla...@opensuse.org
+
+- update to 2015.04
+- Remove upstreamed patch: 
+  0001-Exynos-Clock-Fix-exynos5_get_periph_rate-for-I2C.patch
+- Follow upstream board rename colibri_t20_iris => colibri_t20
+
+-------------------------------------------------------------------
+Sun Apr 12 19:49:41 UTC 2015 - xxxxxmi...@googlemail.com
+
+- Added support for A13-OLinuXino, A13-OLinuXino-MICRO,
+  A20-OLinuXino-MICRO and A20-OLinuXino-LIME from
+  www.olimex.com
+
+-------------------------------------------------------------------
+Thu Apr  9 07:56:40 UTC 2015 - guilla...@opensuse.org
+
+- Remove u-boot-vexpressaemv8a (dropped upstream and we now use EFI)
+
+-------------------------------------------------------------------
+Thu Apr  2 09:13:49 UTC 2015 - guilla...@opensuse.org
+
+- update to 2015.04-rc5
+
+-------------------------------------------------------------------
+Mon Mar 23 08:39:40 UTC 2015 - guilla...@opensuse.org
+
+- update to 2015.04-rc4 
+
+-------------------------------------------------------------------
+Wed Mar  4 15:51:55 UTC 2015 - guilla...@opensuse.org
+
+- Add 0001-Exynos-Clock-Fix-exynos5_get_periph_rate-for-I2C.patch
+  to fix keyboard on Chromebook
+
+-------------------------------------------------------------------
+Wed Mar  4 15:46:52 UTC 2015 - guilla...@opensuse.org
+
+- update to 2015.04-rc3
+- update patch: drop-marvell.patch
+
+-------------------------------------------------------------------
+Thu Feb 26 16:48:35 UTC 2015 - guilla...@opensuse.org
+
+- Update add_snow_usb_boot.patch to boot on USB2 instead of USB3
+
+-------------------------------------------------------------------
+Wed Feb 25 15:47:07 UTC 2015 - guilla...@opensuse.org
+
+- Remove unneeded fix_snow_config.patch
+
+-------------------------------------------------------------------
+Tue Feb 24 09:48:50 UTC 2015 - guilla...@opensuse.org
+
+- Add rpi2 armv7 board
+
+-------------------------------------------------------------------
+Fri Feb 20 12:31:38 UTC 2015 - guilla...@opensuse.org
+
+- Update to 2015.04-rc2
+
+-------------------------------------------------------------------
+Fri Feb 20 10:04:14 UTC 2015 - guilla...@opensuse.org
+
+- Update to 2015.04-rc1
+  * Remove upstreamed patch pcm051-bootscr.patch
+  * Remove no more used patch fix_bootpart_snow_only.patch (now u-boot 
+  scan all known partitions, so no need to set a different boot partition)
+
+-------------------------------------------------------------------
+Sun Jan 25 20:20:46 UTC 2015 - matwey.korni...@gmail.com
+
+- Enable pcm051rev3 for Phytec Wega board
+  * Add pcm051-bootscr.patch: add bootscript support (upstreamed in 
2015.04-rc1)
+
+-------------------------------------------------------------------
+Tue Jan 13 14:32:17 UTC 2015 - guilla...@opensuse.org
+
+- Update to 2015.01:
+  * Drop upstreamed patches:
+    - 0001-spl-mmc-Fix-raw-boot-mode-related-to-commit.patch
++++ 647 more lines (skipped)
++++ between /dev/null
++++ and /work/SRC/openSUSE:Factory/.u-boot.new/u-boot-firefly-rk3288.changes
--- /work/SRC/openSUSE:Factory/u-boot/u-boot-highbank.changes   2015-10-06 
13:26:16.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.u-boot.new/u-boot-highbank.changes      
2015-10-08 08:25:55.000000000 +0200
@@ -1,0 +2,14 @@
+Mon Oct  5 18:04:28 UTC 2015 - afaer...@suse.de
+
+- Add spring and firefly-rk3288 for armv7hl
+  * Break overly long armv7_boards line in pre_checkin.sh
+  * Clean up case'ing of defconfigs to avoid excessive wildcards
+- Prepare for adding qemu-ppce500 for ppc
+  * Allow for more than two exclusive architectures (cleanup)
+
+-------------------------------------------------------------------
+Mon Oct  5 11:42:08 UTC 2015 - dmuel...@suse.com
+
+- add arndale-apply-cortex-a15-erratas.patch
+
+-------------------------------------------------------------------
u-boot-jetson-tk1.changes: same change
u-boot-melea1000.changes: same change
u-boot-merriia80optimus.changes: same change
u-boot-mx53loco.changes: same change
u-boot-mx6cuboxi.changes: same change
u-boot-mx6qsabrelite.changes: same change
u-boot-odroid-xu3.changes: same change
u-boot-odroid.changes: same change
u-boot-omap3beagle.changes: same change
u-boot-omap4panda.changes: same change
u-boot-paz00.changes: same change
u-boot-pcm051rev3.changes: same change
u-boot-rpi.changes: same change
u-boot-rpi2.changes: same change
u-boot-snow.changes: same change
New Changes file:

--- /dev/null   2015-09-24 09:51:01.260026505 +0200
+++ /work/SRC/openSUSE:Factory/.u-boot.new/u-boot-spring.changes        
2015-10-08 08:25:56.000000000 +0200
@@ -0,0 +1,844 @@
+-------------------------------------------------------------------
+Mon Oct  5 18:04:28 UTC 2015 - afaer...@suse.de
+
+- Add spring and firefly-rk3288 for armv7hl
+  * Break overly long armv7_boards line in pre_checkin.sh
+  * Clean up case'ing of defconfigs to avoid excessive wildcards
+- Prepare for adding qemu-ppce500 for ppc
+  * Allow for more than two exclusive architectures (cleanup)
+
+-------------------------------------------------------------------
+Mon Oct  5 11:42:08 UTC 2015 - dmuel...@suse.com
+
+- add arndale-apply-cortex-a15-erratas.patch
+
+-------------------------------------------------------------------
+Thu Oct  1 16:41:38 UTC 2015 - guillaume.gar...@opensuse.org
+
+- Update to 2015.10-rc4
+- Update drop-marvell.patch
+
+-------------------------------------------------------------------
+Sat Sep 12 12:22:53 UTC 2015 - guilla...@opensuse.org
+
+- Use u-boot-2015.10-rc3.tar.bz2 package provided on FTP instead of
+  packaging it manually.
+
+-------------------------------------------------------------------
+Tue Sep  8 08:52:56 UTC 2015 - guilla...@opensuse.org
+
+- Update to 2015.10-rc3
+
+-------------------------------------------------------------------
+Wed Sep  2 16:28:02 UTC 2015 - guilla...@opensuse.org
+
+- Add odroid and odroid-xu3
+
+-------------------------------------------------------------------
+Tue Aug 18 08:31:48 UTC 2015 - guilla...@opensuse.org
+
+- Update to 2015.10-rc2 
+- Remove upstreamed patch:
+  * jetson-tk1-gpu-1.patch
+  * jetson-tk1-gpu-2.patch
+
+-------------------------------------------------------------------
+Thu Aug  6 12:40:58 UTC 2015 - guilla...@opensuse.org
+
+- Update to 2015.10-rc1
+- Remove upstreamed patch:
+  * mx53loco-bootscr.patch
+- Update patches:
+  * jetson-tk1-gpu-1.patch
+  * jetson-tk1-gpu-2.patch
+
+-------------------------------------------------------------------
+Wed Aug  5 13:36:45 UTC 2015 - dmuel...@suse.com
+
+- add mx6cuboxi
+
+-------------------------------------------------------------------
+Wed Jul 22 22:38:23 UTC 2015 - afaer...@suse.de
+
+- jetson-tk1-gpu-1.patch,
+  jetson-tk1-gpu-2.patch: Enable the Tegra124 GPU device tree node
+
+-------------------------------------------------------------------
+Mon Jul 20 10:45:39 UTC 2015 - afaer...@suse.de
+
+- Add u-boot-jetson-tk1
+
+-------------------------------------------------------------------
+Fri Jul 17 06:42:37 UTC 2015 - afaer...@suse.de
+
+- Add u-boot-merriia80optimus
+
+-------------------------------------------------------------------
+Wed Jul 15 13:05:24 UTC 2015 - guilla...@opensuse.org
+
+- Update to 2015.07
+
+-------------------------------------------------------------------
+Tue Jun 30 07:34:49 UTC 2015 - guilla...@opensuse.org
+
+- Update to 2015.07-rc3
+- Remove upstreamed patches:
+  * enable_spl_ext_support_for_ti_armv7.patch
+  * fix_slow_mmc_on_rpi.patch
+
+-------------------------------------------------------------------
+Thu Jun 18 12:07:10 UTC 2015 - guilla...@opensuse.org
+
+- Add fix_slow_mmc_on_rpi.patch to speed up MMC load on RPi
+- Rework patches (to be upstreamable):
+  * enable_spl_ext_support_for_ti_armv7.patch
+  * mx53loco-bootscr.patch
+- Remove fix_beagle_spl_build.patch
+
+-------------------------------------------------------------------
+Wed Jun 10 10:07:23 UTC 2015 - guilla...@opensuse.org
+
+- Update to 2015.07-rc2
+- Update drop-marvell.patch
+
+-------------------------------------------------------------------
+Wed May 27 10:07:49 UTC 2015 - guilla...@opensuse.org
+
+- Update to 2015.07-rc1:
+- Update drop-marvell.patch
+- Remove no more needed add_snow_usb_boot.patch
+
+-------------------------------------------------------------------
+Wed Apr 29 07:51:25 UTC 2015 - dmuel...@suse.com
+
+- adjust copyright headers
+
+-------------------------------------------------------------------
+Thu Apr 16 08:34:11 UTC 2015 - guilla...@opensuse.org
+
+- update to 2015.04
+- Remove upstreamed patch: 
+  0001-Exynos-Clock-Fix-exynos5_get_periph_rate-for-I2C.patch
+- Follow upstream board rename colibri_t20_iris => colibri_t20
+
+-------------------------------------------------------------------
+Sun Apr 12 19:49:41 UTC 2015 - xxxxxmi...@googlemail.com
+
+- Added support for A13-OLinuXino, A13-OLinuXino-MICRO,
+  A20-OLinuXino-MICRO and A20-OLinuXino-LIME from
+  www.olimex.com
+
+-------------------------------------------------------------------
+Thu Apr  9 07:56:40 UTC 2015 - guilla...@opensuse.org
+
+- Remove u-boot-vexpressaemv8a (dropped upstream and we now use EFI)
+
+-------------------------------------------------------------------
+Thu Apr  2 09:13:49 UTC 2015 - guilla...@opensuse.org
+
+- update to 2015.04-rc5
+
+-------------------------------------------------------------------
+Mon Mar 23 08:39:40 UTC 2015 - guilla...@opensuse.org
+
+- update to 2015.04-rc4 
+
+-------------------------------------------------------------------
+Wed Mar  4 15:51:55 UTC 2015 - guilla...@opensuse.org
+
+- Add 0001-Exynos-Clock-Fix-exynos5_get_periph_rate-for-I2C.patch
+  to fix keyboard on Chromebook
+
+-------------------------------------------------------------------
+Wed Mar  4 15:46:52 UTC 2015 - guilla...@opensuse.org
+
+- update to 2015.04-rc3
+- update patch: drop-marvell.patch
+
+-------------------------------------------------------------------
+Thu Feb 26 16:48:35 UTC 2015 - guilla...@opensuse.org
+
+- Update add_snow_usb_boot.patch to boot on USB2 instead of USB3
+
+-------------------------------------------------------------------
+Wed Feb 25 15:47:07 UTC 2015 - guilla...@opensuse.org
+
+- Remove unneeded fix_snow_config.patch
+
+-------------------------------------------------------------------
+Tue Feb 24 09:48:50 UTC 2015 - guilla...@opensuse.org
+
+- Add rpi2 armv7 board
+
+-------------------------------------------------------------------
+Fri Feb 20 12:31:38 UTC 2015 - guilla...@opensuse.org
+
+- Update to 2015.04-rc2
+
+-------------------------------------------------------------------
+Fri Feb 20 10:04:14 UTC 2015 - guilla...@opensuse.org
+
+- Update to 2015.04-rc1
+  * Remove upstreamed patch pcm051-bootscr.patch
+  * Remove no more used patch fix_bootpart_snow_only.patch (now u-boot 
+  scan all known partitions, so no need to set a different boot partition)
+
+-------------------------------------------------------------------
+Sun Jan 25 20:20:46 UTC 2015 - matwey.korni...@gmail.com
+
+- Enable pcm051rev3 for Phytec Wega board
+  * Add pcm051-bootscr.patch: add bootscript support (upstreamed in 
2015.04-rc1)
+
+-------------------------------------------------------------------
+Tue Jan 13 14:32:17 UTC 2015 - guilla...@opensuse.org
+
+- Update to 2015.01:
+  * Drop upstreamed patches:
+    - 0001-spl-mmc-Fix-raw-boot-mode-related-to-commit.patch
++++ 647 more lines (skipped)
++++ between /dev/null
++++ and /work/SRC/openSUSE:Factory/.u-boot.new/u-boot-spring.changes
--- /work/SRC/openSUSE:Factory/u-boot/u-boot.changes    2015-10-06 
13:26:18.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.u-boot.new/u-boot.changes       2015-10-08 
08:25:56.000000000 +0200
@@ -1,0 +2,14 @@
+Mon Oct  5 18:04:28 UTC 2015 - afaer...@suse.de
+
+- Add spring and firefly-rk3288 for armv7hl
+  * Break overly long armv7_boards line in pre_checkin.sh
+  * Clean up case'ing of defconfigs to avoid excessive wildcards
+- Prepare for adding qemu-ppce500 for ppc
+  * Allow for more than two exclusive architectures (cleanup)
+
+-------------------------------------------------------------------
+Mon Oct  5 11:42:08 UTC 2015 - dmuel...@suse.com
+
+- add arndale-apply-cortex-a15-erratas.patch
+
+-------------------------------------------------------------------

New:
----
  arndale-apply-cortex-a15-erratas.patch
  u-boot-firefly-rk3288.changes
  u-boot-firefly-rk3288.spec
  u-boot-spring.changes
  u-boot-spring.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ u-boot-a10-olinuxino-lime.spec ++++++
--- /var/tmp/diff_new_pack.0wbGTL/_old  2015-10-08 08:25:58.000000000 +0200
+++ /var/tmp/diff_new_pack.0wbGTL/_new  2015-10-08 08:25:58.000000000 +0200
@@ -37,6 +37,9 @@
 Source:         ftp://ftp.denx.de/pub/u-boot/u-boot-%{archive_version}.tar.bz2
 Source2:        arndale-bl1.img
 Source300:      u-boot-rpmlintrc
+# openSUSE fixes hopefully going upstream soon
+# https://www.mail-archive.com/u-boot@lists.denx.de/msg187126.html
+Patch50:        arndale-apply-cortex-a15-erratas.patch
 # Marvell boards support is non-free licensed, and we don't need it 
(bnc#773824)
 Patch99:        drop-marvell.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -65,6 +68,7 @@
 
 %prep
 %setup -q -n u-boot-%{archive_version}
+%patch50 -p1
 # is non-free licensed, and we don't need it (bnc#773824)
 rm -rf board/Marvell
 # Any custom patches to be applied on top of mainline u-boot
@@ -73,8 +77,8 @@
 %build
 make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" A10-OLinuXino-Lime_defconfig
 make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
-%if "%{name}" == "u-boot-snow"
-# Chromebook ARM (snow) need a uImage format
+%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
+# Chromebook ARM (snow) and HP Chromebook 11 (spring) need a uImage format
 export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
 ./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e 
$TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
 %endif

++++++ u-boot-a13-olinuxino.spec ++++++
--- /var/tmp/diff_new_pack.0wbGTL/_old  2015-10-08 08:25:58.000000000 +0200
+++ /var/tmp/diff_new_pack.0wbGTL/_new  2015-10-08 08:25:58.000000000 +0200
@@ -37,6 +37,9 @@
 Source:         ftp://ftp.denx.de/pub/u-boot/u-boot-%{archive_version}.tar.bz2
 Source2:        arndale-bl1.img
 Source300:      u-boot-rpmlintrc
+# openSUSE fixes hopefully going upstream soon
+# https://www.mail-archive.com/u-boot@lists.denx.de/msg187126.html
+Patch50:        arndale-apply-cortex-a15-erratas.patch
 # Marvell boards support is non-free licensed, and we don't need it 
(bnc#773824)
 Patch99:        drop-marvell.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -65,6 +68,7 @@
 
 %prep
 %setup -q -n u-boot-%{archive_version}
+%patch50 -p1
 # is non-free licensed, and we don't need it (bnc#773824)
 rm -rf board/Marvell
 # Any custom patches to be applied on top of mainline u-boot
@@ -73,8 +77,8 @@
 %build
 make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" A13-OLinuXino_defconfig
 make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
-%if "%{name}" == "u-boot-snow"
-# Chromebook ARM (snow) need a uImage format
+%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
+# Chromebook ARM (snow) and HP Chromebook 11 (spring) need a uImage format
 export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
 ./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e 
$TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
 %endif

++++++ u-boot-a13-olinuxinom.spec ++++++
--- /var/tmp/diff_new_pack.0wbGTL/_old  2015-10-08 08:25:58.000000000 +0200
+++ /var/tmp/diff_new_pack.0wbGTL/_new  2015-10-08 08:25:58.000000000 +0200
@@ -37,6 +37,9 @@
 Source:         ftp://ftp.denx.de/pub/u-boot/u-boot-%{archive_version}.tar.bz2
 Source2:        arndale-bl1.img
 Source300:      u-boot-rpmlintrc
+# openSUSE fixes hopefully going upstream soon
+# https://www.mail-archive.com/u-boot@lists.denx.de/msg187126.html
+Patch50:        arndale-apply-cortex-a15-erratas.patch
 # Marvell boards support is non-free licensed, and we don't need it 
(bnc#773824)
 Patch99:        drop-marvell.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -65,6 +68,7 @@
 
 %prep
 %setup -q -n u-boot-%{archive_version}
+%patch50 -p1
 # is non-free licensed, and we don't need it (bnc#773824)
 rm -rf board/Marvell
 # Any custom patches to be applied on top of mainline u-boot
@@ -73,8 +77,8 @@
 %build
 make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" A13-OLinuXinoM_defconfig
 make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
-%if "%{name}" == "u-boot-snow"
-# Chromebook ARM (snow) need a uImage format
+%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
+# Chromebook ARM (snow) and HP Chromebook 11 (spring) need a uImage format
 export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
 ./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e 
$TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
 %endif

++++++ u-boot-a20-olinuxino-lime.spec ++++++
--- /var/tmp/diff_new_pack.0wbGTL/_old  2015-10-08 08:25:58.000000000 +0200
+++ /var/tmp/diff_new_pack.0wbGTL/_new  2015-10-08 08:25:58.000000000 +0200
@@ -37,6 +37,9 @@
 Source:         ftp://ftp.denx.de/pub/u-boot/u-boot-%{archive_version}.tar.bz2
 Source2:        arndale-bl1.img
 Source300:      u-boot-rpmlintrc
+# openSUSE fixes hopefully going upstream soon
+# https://www.mail-archive.com/u-boot@lists.denx.de/msg187126.html
+Patch50:        arndale-apply-cortex-a15-erratas.patch
 # Marvell boards support is non-free licensed, and we don't need it 
(bnc#773824)
 Patch99:        drop-marvell.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -65,6 +68,7 @@
 
 %prep
 %setup -q -n u-boot-%{archive_version}
+%patch50 -p1
 # is non-free licensed, and we don't need it (bnc#773824)
 rm -rf board/Marvell
 # Any custom patches to be applied on top of mainline u-boot
@@ -73,8 +77,8 @@
 %build
 make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" A20-OLinuXino-Lime_defconfig
 make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
-%if "%{name}" == "u-boot-snow"
-# Chromebook ARM (snow) need a uImage format
+%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
+# Chromebook ARM (snow) and HP Chromebook 11 (spring) need a uImage format
 export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
 ./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e 
$TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
 %endif

++++++ u-boot-a20-olinuxino-lime2.spec ++++++
--- /var/tmp/diff_new_pack.0wbGTL/_old  2015-10-08 08:25:58.000000000 +0200
+++ /var/tmp/diff_new_pack.0wbGTL/_new  2015-10-08 08:25:58.000000000 +0200
@@ -37,6 +37,9 @@
 Source:         ftp://ftp.denx.de/pub/u-boot/u-boot-%{archive_version}.tar.bz2
 Source2:        arndale-bl1.img
 Source300:      u-boot-rpmlintrc
+# openSUSE fixes hopefully going upstream soon
+# https://www.mail-archive.com/u-boot@lists.denx.de/msg187126.html
+Patch50:        arndale-apply-cortex-a15-erratas.patch
 # Marvell boards support is non-free licensed, and we don't need it 
(bnc#773824)
 Patch99:        drop-marvell.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -65,6 +68,7 @@
 
 %prep
 %setup -q -n u-boot-%{archive_version}
+%patch50 -p1
 # is non-free licensed, and we don't need it (bnc#773824)
 rm -rf board/Marvell
 # Any custom patches to be applied on top of mainline u-boot
@@ -73,8 +77,8 @@
 %build
 make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" A20-OLinuXino-Lime2_defconfig
 make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
-%if "%{name}" == "u-boot-snow"
-# Chromebook ARM (snow) need a uImage format
+%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
+# Chromebook ARM (snow) and HP Chromebook 11 (spring) need a uImage format
 export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
 ./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e 
$TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
 %endif

++++++ u-boot-a20-olinuxinomicro.spec ++++++
--- /var/tmp/diff_new_pack.0wbGTL/_old  2015-10-08 08:25:58.000000000 +0200
+++ /var/tmp/diff_new_pack.0wbGTL/_new  2015-10-08 08:25:58.000000000 +0200
@@ -37,6 +37,9 @@
 Source:         ftp://ftp.denx.de/pub/u-boot/u-boot-%{archive_version}.tar.bz2
 Source2:        arndale-bl1.img
 Source300:      u-boot-rpmlintrc
+# openSUSE fixes hopefully going upstream soon
+# https://www.mail-archive.com/u-boot@lists.denx.de/msg187126.html
+Patch50:        arndale-apply-cortex-a15-erratas.patch
 # Marvell boards support is non-free licensed, and we don't need it 
(bnc#773824)
 Patch99:        drop-marvell.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -65,6 +68,7 @@
 
 %prep
 %setup -q -n u-boot-%{archive_version}
+%patch50 -p1
 # is non-free licensed, and we don't need it (bnc#773824)
 rm -rf board/Marvell
 # Any custom patches to be applied on top of mainline u-boot
@@ -73,8 +77,8 @@
 %build
 make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" A20-OLinuXino_MICRO_defconfig
 make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
-%if "%{name}" == "u-boot-snow"
-# Chromebook ARM (snow) need a uImage format
+%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
+# Chromebook ARM (snow) and HP Chromebook 11 (spring) need a uImage format
 export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
 ./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e 
$TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
 %endif

++++++ u-boot-am335xevm.spec ++++++
--- /var/tmp/diff_new_pack.0wbGTL/_old  2015-10-08 08:25:58.000000000 +0200
+++ /var/tmp/diff_new_pack.0wbGTL/_new  2015-10-08 08:25:58.000000000 +0200
@@ -37,6 +37,9 @@
 Source:         ftp://ftp.denx.de/pub/u-boot/u-boot-%{archive_version}.tar.bz2
 Source2:        arndale-bl1.img
 Source300:      u-boot-rpmlintrc
+# openSUSE fixes hopefully going upstream soon
+# https://www.mail-archive.com/u-boot@lists.denx.de/msg187126.html
+Patch50:        arndale-apply-cortex-a15-erratas.patch
 # Marvell boards support is non-free licensed, and we don't need it 
(bnc#773824)
 Patch99:        drop-marvell.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -65,6 +68,7 @@
 
 %prep
 %setup -q -n u-boot-%{archive_version}
+%patch50 -p1
 # is non-free licensed, and we don't need it (bnc#773824)
 rm -rf board/Marvell
 # Any custom patches to be applied on top of mainline u-boot
@@ -73,8 +77,8 @@
 %build
 make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" am335x_evm_defconfig
 make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
-%if "%{name}" == "u-boot-snow"
-# Chromebook ARM (snow) need a uImage format
+%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
+# Chromebook ARM (snow) and HP Chromebook 11 (spring) need a uImage format
 export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
 ./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e 
$TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
 %endif

++++++ u-boot-arndale.spec ++++++
--- /var/tmp/diff_new_pack.0wbGTL/_old  2015-10-08 08:25:58.000000000 +0200
+++ /var/tmp/diff_new_pack.0wbGTL/_new  2015-10-08 08:25:58.000000000 +0200
@@ -37,6 +37,9 @@
 Source:         ftp://ftp.denx.de/pub/u-boot/u-boot-%{archive_version}.tar.bz2
 Source2:        arndale-bl1.img
 Source300:      u-boot-rpmlintrc
+# openSUSE fixes hopefully going upstream soon
+# https://www.mail-archive.com/u-boot@lists.denx.de/msg187126.html
+Patch50:        arndale-apply-cortex-a15-erratas.patch
 # Marvell boards support is non-free licensed, and we don't need it 
(bnc#773824)
 Patch99:        drop-marvell.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -65,6 +68,7 @@
 
 %prep
 %setup -q -n u-boot-%{archive_version}
+%patch50 -p1
 # is non-free licensed, and we don't need it (bnc#773824)
 rm -rf board/Marvell
 # Any custom patches to be applied on top of mainline u-boot
@@ -73,8 +77,8 @@
 %build
 make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" arndale_defconfig
 make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
-%if "%{name}" == "u-boot-snow"
-# Chromebook ARM (snow) need a uImage format
+%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
+# Chromebook ARM (snow) and HP Chromebook 11 (spring) need a uImage format
 export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
 ./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e 
$TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
 %endif

++++++ u-boot-bananapi.spec ++++++
--- /var/tmp/diff_new_pack.0wbGTL/_old  2015-10-08 08:25:58.000000000 +0200
+++ /var/tmp/diff_new_pack.0wbGTL/_new  2015-10-08 08:25:58.000000000 +0200
@@ -37,6 +37,9 @@
 Source:         ftp://ftp.denx.de/pub/u-boot/u-boot-%{archive_version}.tar.bz2
 Source2:        arndale-bl1.img
 Source300:      u-boot-rpmlintrc
+# openSUSE fixes hopefully going upstream soon
+# https://www.mail-archive.com/u-boot@lists.denx.de/msg187126.html
+Patch50:        arndale-apply-cortex-a15-erratas.patch
 # Marvell boards support is non-free licensed, and we don't need it 
(bnc#773824)
 Patch99:        drop-marvell.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -65,6 +68,7 @@
 
 %prep
 %setup -q -n u-boot-%{archive_version}
+%patch50 -p1
 # is non-free licensed, and we don't need it (bnc#773824)
 rm -rf board/Marvell
 # Any custom patches to be applied on top of mainline u-boot
@@ -73,8 +77,8 @@
 %build
 make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" Bananapi_defconfig
 make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
-%if "%{name}" == "u-boot-snow"
-# Chromebook ARM (snow) need a uImage format
+%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
+# Chromebook ARM (snow) and HP Chromebook 11 (spring) need a uImage format
 export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
 ./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e 
$TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
 %endif

++++++ u-boot-colibrit20.spec ++++++
--- /var/tmp/diff_new_pack.0wbGTL/_old  2015-10-08 08:25:58.000000000 +0200
+++ /var/tmp/diff_new_pack.0wbGTL/_new  2015-10-08 08:25:58.000000000 +0200
@@ -37,6 +37,9 @@
 Source:         ftp://ftp.denx.de/pub/u-boot/u-boot-%{archive_version}.tar.bz2
 Source2:        arndale-bl1.img
 Source300:      u-boot-rpmlintrc
+# openSUSE fixes hopefully going upstream soon
+# https://www.mail-archive.com/u-boot@lists.denx.de/msg187126.html
+Patch50:        arndale-apply-cortex-a15-erratas.patch
 # Marvell boards support is non-free licensed, and we don't need it 
(bnc#773824)
 Patch99:        drop-marvell.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -65,6 +68,7 @@
 
 %prep
 %setup -q -n u-boot-%{archive_version}
+%patch50 -p1
 # is non-free licensed, and we don't need it (bnc#773824)
 rm -rf board/Marvell
 # Any custom patches to be applied on top of mainline u-boot
@@ -73,8 +77,8 @@
 %build
 make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" colibri_t20_defconfig
 make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
-%if "%{name}" == "u-boot-snow"
-# Chromebook ARM (snow) need a uImage format
+%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
+# Chromebook ARM (snow) and HP Chromebook 11 (spring) need a uImage format
 export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
 ./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e 
$TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
 %endif

++++++ u-boot-cubieboard.spec ++++++
--- /var/tmp/diff_new_pack.0wbGTL/_old  2015-10-08 08:25:58.000000000 +0200
+++ /var/tmp/diff_new_pack.0wbGTL/_new  2015-10-08 08:25:58.000000000 +0200
@@ -37,6 +37,9 @@
 Source:         ftp://ftp.denx.de/pub/u-boot/u-boot-%{archive_version}.tar.bz2
 Source2:        arndale-bl1.img
 Source300:      u-boot-rpmlintrc
+# openSUSE fixes hopefully going upstream soon
+# https://www.mail-archive.com/u-boot@lists.denx.de/msg187126.html
+Patch50:        arndale-apply-cortex-a15-erratas.patch
 # Marvell boards support is non-free licensed, and we don't need it 
(bnc#773824)
 Patch99:        drop-marvell.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -65,6 +68,7 @@
 
 %prep
 %setup -q -n u-boot-%{archive_version}
+%patch50 -p1
 # is non-free licensed, and we don't need it (bnc#773824)
 rm -rf board/Marvell
 # Any custom patches to be applied on top of mainline u-boot
@@ -73,8 +77,8 @@
 %build
 make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" Cubieboard_defconfig
 make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
-%if "%{name}" == "u-boot-snow"
-# Chromebook ARM (snow) need a uImage format
+%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
+# Chromebook ARM (snow) and HP Chromebook 11 (spring) need a uImage format
 export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
 ./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e 
$TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
 %endif

++++++ u-boot-cubieboard2.spec ++++++
--- /var/tmp/diff_new_pack.0wbGTL/_old  2015-10-08 08:25:59.000000000 +0200
+++ /var/tmp/diff_new_pack.0wbGTL/_new  2015-10-08 08:25:59.000000000 +0200
@@ -37,6 +37,9 @@
 Source:         ftp://ftp.denx.de/pub/u-boot/u-boot-%{archive_version}.tar.bz2
 Source2:        arndale-bl1.img
 Source300:      u-boot-rpmlintrc
+# openSUSE fixes hopefully going upstream soon
+# https://www.mail-archive.com/u-boot@lists.denx.de/msg187126.html
+Patch50:        arndale-apply-cortex-a15-erratas.patch
 # Marvell boards support is non-free licensed, and we don't need it 
(bnc#773824)
 Patch99:        drop-marvell.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -65,6 +68,7 @@
 
 %prep
 %setup -q -n u-boot-%{archive_version}
+%patch50 -p1
 # is non-free licensed, and we don't need it (bnc#773824)
 rm -rf board/Marvell
 # Any custom patches to be applied on top of mainline u-boot
@@ -73,8 +77,8 @@
 %build
 make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" Cubieboard2_defconfig
 make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
-%if "%{name}" == "u-boot-snow"
-# Chromebook ARM (snow) need a uImage format
+%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
+# Chromebook ARM (snow) and HP Chromebook 11 (spring) need a uImage format
 export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
 ./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e 
$TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
 %endif

++++++ u-boot-cubietruck.spec ++++++
--- /var/tmp/diff_new_pack.0wbGTL/_old  2015-10-08 08:25:59.000000000 +0200
+++ /var/tmp/diff_new_pack.0wbGTL/_new  2015-10-08 08:25:59.000000000 +0200
@@ -37,6 +37,9 @@
 Source:         ftp://ftp.denx.de/pub/u-boot/u-boot-%{archive_version}.tar.bz2
 Source2:        arndale-bl1.img
 Source300:      u-boot-rpmlintrc
+# openSUSE fixes hopefully going upstream soon
+# https://www.mail-archive.com/u-boot@lists.denx.de/msg187126.html
+Patch50:        arndale-apply-cortex-a15-erratas.patch
 # Marvell boards support is non-free licensed, and we don't need it 
(bnc#773824)
 Patch99:        drop-marvell.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -65,6 +68,7 @@
 
 %prep
 %setup -q -n u-boot-%{archive_version}
+%patch50 -p1
 # is non-free licensed, and we don't need it (bnc#773824)
 rm -rf board/Marvell
 # Any custom patches to be applied on top of mainline u-boot
@@ -73,8 +77,8 @@
 %build
 make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" Cubietruck_defconfig
 make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
-%if "%{name}" == "u-boot-snow"
-# Chromebook ARM (snow) need a uImage format
+%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
+# Chromebook ARM (snow) and HP Chromebook 11 (spring) need a uImage format
 export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
 ./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e 
$TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
 %endif

++++++ u-boot-firefly-rk3288.spec ++++++
#
# spec file for package u-boot-firefly-rk3288
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2010 Texas Instruments Inc by Nishanth Menon
# Copyright (c) 2007-2010 by Silvan Calarco <silvan.cala...@mambasoft.it>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


%define x_loader 0
%define origen_spl 0
%define sunxi_spl 0
%define arndale_spl 0
%define cuboxi_spl 0

# archive_version differs from version for RC version only
%define archive_version 2015.10-rc4

Name:           u-boot-firefly-rk3288
Version:        2015.10~rc4
Release:        0
Summary:        The u-boot firmware for the firefly-rk3288 arm platform
License:        GPL-2.0
Group:          System/Boot
Url:            http://www.denx.de/wiki/U-Boot
Source:         ftp://ftp.denx.de/pub/u-boot/u-boot-%{archive_version}.tar.bz2
Source2:        arndale-bl1.img
Source300:      u-boot-rpmlintrc
# openSUSE fixes hopefully going upstream soon
# https://www.mail-archive.com/u-boot@lists.denx.de/msg187126.html
Patch50:        arndale-apply-cortex-a15-erratas.patch
# Marvell boards support is non-free licensed, and we don't need it (bnc#773824)
Patch99:        drop-marvell.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
# Arndale board need DTC >= 1.4
BuildRequires:  bc
BuildRequires:  dtc >= 1.4.0
Provides:       u-boot-loader
Conflicts:      otherproviders(u-boot-loader)
%if %x_loader == 1
Obsoletes:      x-loader-firefly-rk3288
Provides:       x-loader-firefly-rk3288
%endif
ExclusiveArch:  armv7l armv7hl

%description
Das U-Boot (or just "U-Boot" for short) is Open Source Firmware for Embedded 
PowerPC, ARM, MIPS and x86 processors.
This package contains the firmware for the firefly-rk3288 arm platform.

%package doc
Summary:        Documentation for the u-boot Firmware
Group:          Documentation/Other

%description doc
Das U-Boot (or just "U-Boot" for short) is Open Source Firmware for Embedded 
PowerPC, ARM, MIPS and x86 processors.
This package contains documentation for u-boot firmware

%prep
%setup -q -n u-boot-%{archive_version}
%patch50 -p1
# is non-free licensed, and we don't need it (bnc#773824)
rm -rf board/Marvell
# Any custom patches to be applied on top of mainline u-boot
%patch99 -p1

%build
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" firefly-rk3288_defconfig
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
# Chromebook ARM (snow) and HP Chromebook 11 (spring) need a uImage format
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e $TEXT_START 
-n uboot -d u-boot-dtb.bin u-boot.img
%endif

%install
%if "%{name}" == "u-boot-jetson-tk1"
# tegra-uboot-flasher needs several intermediate files, under their original 
name.
for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do
    install -D -m 0644 $f %{buildroot}/boot/$f
done
%else
# Some times u-boot needs a dtb to configure itself appended to the binary.
# In that case prefer the one with a working dtb already appended.
if [ -f u-boot-dtb-tegra.bin ]; then
    install -D -m 0644 u-boot-dtb-tegra.bin %{buildroot}/boot/u-boot.bin
elif [ -f u-boot-dtb.bin ]; then
    install -D -m 0644 u-boot-dtb.bin %{buildroot}/boot/u-boot.bin
else
    install -D -m 0644 u-boot.bin %{buildroot}/boot/u-boot.bin
fi
%endif
%if %x_loader == 1
install -D -m 0755 MLO %{buildroot}/boot/MLO
%endif
%if %origen_spl == 1
install -D -m 0755 spl/origen-spl.bin %{buildroot}/boot/origen-spl.bin
%endif
%if %arndale_spl == 1
install -D -m 0755 spl/arndale-spl.bin %{buildroot}/boot/arndale-spl.bin
install -D -m 0755 %{SOURCE2} %{buildroot}/boot/arndale-bl1.img
%endif
%if %sunxi_spl == 1
install -D -m 0755 spl/sunxi-spl.bin %{buildroot}/boot/sunxi-spl.bin
install -D -m 0755 u-boot-sunxi-with-spl.bin 
%{buildroot}/boot/u-boot-sunxi-with-spl.bin 
%endif
%if %cuboxi_spl == 1
install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
%endif

%files
%defattr(-,root,root)
/boot/*
%doc Licenses/gpl-2.0.txt README

%files doc
%defattr(-,root,root)
# Generic documents
%doc doc/README.JFFS2 doc/README.JFFS2_NAND doc/README.commands
%doc doc/README.autoboot doc/README.commands doc/README.console doc/README.dns
%doc doc/README.hwconfig doc/README.nand doc/README.NetConsole 
doc/README.serial_multi
%doc doc/README.SNTP doc/README.standalone doc/README.update doc/README.usb
%doc doc/README.video doc/README.VLAN doc/README.silent doc/README.POST 
doc/README.Modem
# Copy some useful kermit scripts as well
%doc tools/kermit/dot.kermrc tools/kermit/flash_param tools/kermit/send_cmd 
tools/kermit/send_image
# Now any h/w dependent Documentation
%doc doc/README.ARM-memory-map 

%changelog
++++++ u-boot-highbank.spec ++++++
--- /var/tmp/diff_new_pack.0wbGTL/_old  2015-10-08 08:25:59.000000000 +0200
+++ /var/tmp/diff_new_pack.0wbGTL/_new  2015-10-08 08:25:59.000000000 +0200
@@ -37,6 +37,9 @@
 Source:         ftp://ftp.denx.de/pub/u-boot/u-boot-%{archive_version}.tar.bz2
 Source2:        arndale-bl1.img
 Source300:      u-boot-rpmlintrc
+# openSUSE fixes hopefully going upstream soon
+# https://www.mail-archive.com/u-boot@lists.denx.de/msg187126.html
+Patch50:        arndale-apply-cortex-a15-erratas.patch
 # Marvell boards support is non-free licensed, and we don't need it 
(bnc#773824)
 Patch99:        drop-marvell.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -65,6 +68,7 @@
 
 %prep
 %setup -q -n u-boot-%{archive_version}
+%patch50 -p1
 # is non-free licensed, and we don't need it (bnc#773824)
 rm -rf board/Marvell
 # Any custom patches to be applied on top of mainline u-boot
@@ -73,8 +77,8 @@
 %build
 make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" highbank_defconfig
 make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
-%if "%{name}" == "u-boot-snow"
-# Chromebook ARM (snow) need a uImage format
+%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
+# Chromebook ARM (snow) and HP Chromebook 11 (spring) need a uImage format
 export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
 ./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e 
$TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
 %endif

++++++ u-boot-jetson-tk1.spec ++++++
--- /var/tmp/diff_new_pack.0wbGTL/_old  2015-10-08 08:25:59.000000000 +0200
+++ /var/tmp/diff_new_pack.0wbGTL/_new  2015-10-08 08:25:59.000000000 +0200
@@ -37,6 +37,9 @@
 Source:         ftp://ftp.denx.de/pub/u-boot/u-boot-%{archive_version}.tar.bz2
 Source2:        arndale-bl1.img
 Source300:      u-boot-rpmlintrc
+# openSUSE fixes hopefully going upstream soon
+# https://www.mail-archive.com/u-boot@lists.denx.de/msg187126.html
+Patch50:        arndale-apply-cortex-a15-erratas.patch
 # Marvell boards support is non-free licensed, and we don't need it 
(bnc#773824)
 Patch99:        drop-marvell.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -65,6 +68,7 @@
 
 %prep
 %setup -q -n u-boot-%{archive_version}
+%patch50 -p1
 # is non-free licensed, and we don't need it (bnc#773824)
 rm -rf board/Marvell
 # Any custom patches to be applied on top of mainline u-boot
@@ -73,8 +77,8 @@
 %build
 make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" jetson-tk1_defconfig
 make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
-%if "%{name}" == "u-boot-snow"
-# Chromebook ARM (snow) need a uImage format
+%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
+# Chromebook ARM (snow) and HP Chromebook 11 (spring) need a uImage format
 export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
 ./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e 
$TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
 %endif

++++++ u-boot-melea1000.spec ++++++
--- /var/tmp/diff_new_pack.0wbGTL/_old  2015-10-08 08:25:59.000000000 +0200
+++ /var/tmp/diff_new_pack.0wbGTL/_new  2015-10-08 08:25:59.000000000 +0200
@@ -37,6 +37,9 @@
 Source:         ftp://ftp.denx.de/pub/u-boot/u-boot-%{archive_version}.tar.bz2
 Source2:        arndale-bl1.img
 Source300:      u-boot-rpmlintrc
+# openSUSE fixes hopefully going upstream soon
+# https://www.mail-archive.com/u-boot@lists.denx.de/msg187126.html
+Patch50:        arndale-apply-cortex-a15-erratas.patch
 # Marvell boards support is non-free licensed, and we don't need it 
(bnc#773824)
 Patch99:        drop-marvell.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -65,6 +68,7 @@
 
 %prep
 %setup -q -n u-boot-%{archive_version}
+%patch50 -p1
 # is non-free licensed, and we don't need it (bnc#773824)
 rm -rf board/Marvell
 # Any custom patches to be applied on top of mainline u-boot
@@ -73,8 +77,8 @@
 %build
 make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" Mele_A1000_defconfig
 make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
-%if "%{name}" == "u-boot-snow"
-# Chromebook ARM (snow) need a uImage format
+%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
+# Chromebook ARM (snow) and HP Chromebook 11 (spring) need a uImage format
 export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
 ./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e 
$TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
 %endif

++++++ u-boot-merriia80optimus.spec ++++++
--- /var/tmp/diff_new_pack.0wbGTL/_old  2015-10-08 08:25:59.000000000 +0200
+++ /var/tmp/diff_new_pack.0wbGTL/_new  2015-10-08 08:25:59.000000000 +0200
@@ -37,6 +37,9 @@
 Source:         ftp://ftp.denx.de/pub/u-boot/u-boot-%{archive_version}.tar.bz2
 Source2:        arndale-bl1.img
 Source300:      u-boot-rpmlintrc
+# openSUSE fixes hopefully going upstream soon
+# https://www.mail-archive.com/u-boot@lists.denx.de/msg187126.html
+Patch50:        arndale-apply-cortex-a15-erratas.patch
 # Marvell boards support is non-free licensed, and we don't need it 
(bnc#773824)
 Patch99:        drop-marvell.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -65,6 +68,7 @@
 
 %prep
 %setup -q -n u-boot-%{archive_version}
+%patch50 -p1
 # is non-free licensed, and we don't need it (bnc#773824)
 rm -rf board/Marvell
 # Any custom patches to be applied on top of mainline u-boot
@@ -73,8 +77,8 @@
 %build
 make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" Merrii_A80_Optimus_defconfig
 make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
-%if "%{name}" == "u-boot-snow"
-# Chromebook ARM (snow) need a uImage format
+%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
+# Chromebook ARM (snow) and HP Chromebook 11 (spring) need a uImage format
 export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
 ./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e 
$TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
 %endif

++++++ u-boot-mx53loco.spec ++++++
--- /var/tmp/diff_new_pack.0wbGTL/_old  2015-10-08 08:25:59.000000000 +0200
+++ /var/tmp/diff_new_pack.0wbGTL/_new  2015-10-08 08:25:59.000000000 +0200
@@ -37,6 +37,9 @@
 Source:         ftp://ftp.denx.de/pub/u-boot/u-boot-%{archive_version}.tar.bz2
 Source2:        arndale-bl1.img
 Source300:      u-boot-rpmlintrc
+# openSUSE fixes hopefully going upstream soon
+# https://www.mail-archive.com/u-boot@lists.denx.de/msg187126.html
+Patch50:        arndale-apply-cortex-a15-erratas.patch
 # Marvell boards support is non-free licensed, and we don't need it 
(bnc#773824)
 Patch99:        drop-marvell.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -65,6 +68,7 @@
 
 %prep
 %setup -q -n u-boot-%{archive_version}
+%patch50 -p1
 # is non-free licensed, and we don't need it (bnc#773824)
 rm -rf board/Marvell
 # Any custom patches to be applied on top of mainline u-boot
@@ -73,8 +77,8 @@
 %build
 make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" mx53loco_defconfig
 make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
-%if "%{name}" == "u-boot-snow"
-# Chromebook ARM (snow) need a uImage format
+%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
+# Chromebook ARM (snow) and HP Chromebook 11 (spring) need a uImage format
 export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
 ./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e 
$TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
 %endif

++++++ u-boot-mx6cuboxi.spec ++++++
--- /var/tmp/diff_new_pack.0wbGTL/_old  2015-10-08 08:25:59.000000000 +0200
+++ /var/tmp/diff_new_pack.0wbGTL/_new  2015-10-08 08:25:59.000000000 +0200
@@ -37,6 +37,9 @@
 Source:         ftp://ftp.denx.de/pub/u-boot/u-boot-%{archive_version}.tar.bz2
 Source2:        arndale-bl1.img
 Source300:      u-boot-rpmlintrc
+# openSUSE fixes hopefully going upstream soon
+# https://www.mail-archive.com/u-boot@lists.denx.de/msg187126.html
+Patch50:        arndale-apply-cortex-a15-erratas.patch
 # Marvell boards support is non-free licensed, and we don't need it 
(bnc#773824)
 Patch99:        drop-marvell.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -65,6 +68,7 @@
 
 %prep
 %setup -q -n u-boot-%{archive_version}
+%patch50 -p1
 # is non-free licensed, and we don't need it (bnc#773824)
 rm -rf board/Marvell
 # Any custom patches to be applied on top of mainline u-boot
@@ -73,8 +77,8 @@
 %build
 make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" mx6cuboxi_defconfig
 make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
-%if "%{name}" == "u-boot-snow"
-# Chromebook ARM (snow) need a uImage format
+%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
+# Chromebook ARM (snow) and HP Chromebook 11 (spring) need a uImage format
 export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
 ./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e 
$TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
 %endif

++++++ u-boot-mx6qsabrelite.spec ++++++
--- /var/tmp/diff_new_pack.0wbGTL/_old  2015-10-08 08:25:59.000000000 +0200
+++ /var/tmp/diff_new_pack.0wbGTL/_new  2015-10-08 08:25:59.000000000 +0200
@@ -37,6 +37,9 @@
 Source:         ftp://ftp.denx.de/pub/u-boot/u-boot-%{archive_version}.tar.bz2
 Source2:        arndale-bl1.img
 Source300:      u-boot-rpmlintrc
+# openSUSE fixes hopefully going upstream soon
+# https://www.mail-archive.com/u-boot@lists.denx.de/msg187126.html
+Patch50:        arndale-apply-cortex-a15-erratas.patch
 # Marvell boards support is non-free licensed, and we don't need it 
(bnc#773824)
 Patch99:        drop-marvell.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -65,6 +68,7 @@
 
 %prep
 %setup -q -n u-boot-%{archive_version}
+%patch50 -p1
 # is non-free licensed, and we don't need it (bnc#773824)
 rm -rf board/Marvell
 # Any custom patches to be applied on top of mainline u-boot
@@ -73,8 +77,8 @@
 %build
 make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" mx6qsabrelite_defconfig
 make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
-%if "%{name}" == "u-boot-snow"
-# Chromebook ARM (snow) need a uImage format
+%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
+# Chromebook ARM (snow) and HP Chromebook 11 (spring) need a uImage format
 export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
 ./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e 
$TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
 %endif

++++++ u-boot-odroid-xu3.spec ++++++
--- /var/tmp/diff_new_pack.0wbGTL/_old  2015-10-08 08:25:59.000000000 +0200
+++ /var/tmp/diff_new_pack.0wbGTL/_new  2015-10-08 08:25:59.000000000 +0200
@@ -37,6 +37,9 @@
 Source:         ftp://ftp.denx.de/pub/u-boot/u-boot-%{archive_version}.tar.bz2
 Source2:        arndale-bl1.img
 Source300:      u-boot-rpmlintrc
+# openSUSE fixes hopefully going upstream soon
+# https://www.mail-archive.com/u-boot@lists.denx.de/msg187126.html
+Patch50:        arndale-apply-cortex-a15-erratas.patch
 # Marvell boards support is non-free licensed, and we don't need it 
(bnc#773824)
 Patch99:        drop-marvell.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -65,6 +68,7 @@
 
 %prep
 %setup -q -n u-boot-%{archive_version}
+%patch50 -p1
 # is non-free licensed, and we don't need it (bnc#773824)
 rm -rf board/Marvell
 # Any custom patches to be applied on top of mainline u-boot
@@ -73,8 +77,8 @@
 %build
 make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" odroid-xu3_defconfig
 make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
-%if "%{name}" == "u-boot-snow"
-# Chromebook ARM (snow) need a uImage format
+%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
+# Chromebook ARM (snow) and HP Chromebook 11 (spring) need a uImage format
 export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
 ./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e 
$TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
 %endif

++++++ u-boot-odroid.spec ++++++
--- /var/tmp/diff_new_pack.0wbGTL/_old  2015-10-08 08:25:59.000000000 +0200
+++ /var/tmp/diff_new_pack.0wbGTL/_new  2015-10-08 08:25:59.000000000 +0200
@@ -37,6 +37,9 @@
 Source:         ftp://ftp.denx.de/pub/u-boot/u-boot-%{archive_version}.tar.bz2
 Source2:        arndale-bl1.img
 Source300:      u-boot-rpmlintrc
+# openSUSE fixes hopefully going upstream soon
+# https://www.mail-archive.com/u-boot@lists.denx.de/msg187126.html
+Patch50:        arndale-apply-cortex-a15-erratas.patch
 # Marvell boards support is non-free licensed, and we don't need it 
(bnc#773824)
 Patch99:        drop-marvell.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -65,6 +68,7 @@
 
 %prep
 %setup -q -n u-boot-%{archive_version}
+%patch50 -p1
 # is non-free licensed, and we don't need it (bnc#773824)
 rm -rf board/Marvell
 # Any custom patches to be applied on top of mainline u-boot
@@ -73,8 +77,8 @@
 %build
 make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" odroid_defconfig
 make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
-%if "%{name}" == "u-boot-snow"
-# Chromebook ARM (snow) need a uImage format
+%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
+# Chromebook ARM (snow) and HP Chromebook 11 (spring) need a uImage format
 export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
 ./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e 
$TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
 %endif

++++++ u-boot-omap3beagle.spec ++++++
--- /var/tmp/diff_new_pack.0wbGTL/_old  2015-10-08 08:25:59.000000000 +0200
+++ /var/tmp/diff_new_pack.0wbGTL/_new  2015-10-08 08:25:59.000000000 +0200
@@ -37,6 +37,9 @@
 Source:         ftp://ftp.denx.de/pub/u-boot/u-boot-%{archive_version}.tar.bz2
 Source2:        arndale-bl1.img
 Source300:      u-boot-rpmlintrc
+# openSUSE fixes hopefully going upstream soon
+# https://www.mail-archive.com/u-boot@lists.denx.de/msg187126.html
+Patch50:        arndale-apply-cortex-a15-erratas.patch
 # Marvell boards support is non-free licensed, and we don't need it 
(bnc#773824)
 Patch99:        drop-marvell.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -65,6 +68,7 @@
 
 %prep
 %setup -q -n u-boot-%{archive_version}
+%patch50 -p1
 # is non-free licensed, and we don't need it (bnc#773824)
 rm -rf board/Marvell
 # Any custom patches to be applied on top of mainline u-boot
@@ -73,8 +77,8 @@
 %build
 make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" omap3_beagle_defconfig
 make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
-%if "%{name}" == "u-boot-snow"
-# Chromebook ARM (snow) need a uImage format
+%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
+# Chromebook ARM (snow) and HP Chromebook 11 (spring) need a uImage format
 export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
 ./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e 
$TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
 %endif

++++++ u-boot-omap4panda.spec ++++++
--- /var/tmp/diff_new_pack.0wbGTL/_old  2015-10-08 08:25:59.000000000 +0200
+++ /var/tmp/diff_new_pack.0wbGTL/_new  2015-10-08 08:25:59.000000000 +0200
@@ -37,6 +37,9 @@
 Source:         ftp://ftp.denx.de/pub/u-boot/u-boot-%{archive_version}.tar.bz2
 Source2:        arndale-bl1.img
 Source300:      u-boot-rpmlintrc
+# openSUSE fixes hopefully going upstream soon
+# https://www.mail-archive.com/u-boot@lists.denx.de/msg187126.html
+Patch50:        arndale-apply-cortex-a15-erratas.patch
 # Marvell boards support is non-free licensed, and we don't need it 
(bnc#773824)
 Patch99:        drop-marvell.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -65,6 +68,7 @@
 
 %prep
 %setup -q -n u-boot-%{archive_version}
+%patch50 -p1
 # is non-free licensed, and we don't need it (bnc#773824)
 rm -rf board/Marvell
 # Any custom patches to be applied on top of mainline u-boot
@@ -73,8 +77,8 @@
 %build
 make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" omap4_panda_defconfig
 make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
-%if "%{name}" == "u-boot-snow"
-# Chromebook ARM (snow) need a uImage format
+%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
+# Chromebook ARM (snow) and HP Chromebook 11 (spring) need a uImage format
 export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
 ./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e 
$TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
 %endif

++++++ u-boot-paz00.spec ++++++
--- /var/tmp/diff_new_pack.0wbGTL/_old  2015-10-08 08:25:59.000000000 +0200
+++ /var/tmp/diff_new_pack.0wbGTL/_new  2015-10-08 08:25:59.000000000 +0200
@@ -37,6 +37,9 @@
 Source:         ftp://ftp.denx.de/pub/u-boot/u-boot-%{archive_version}.tar.bz2
 Source2:        arndale-bl1.img
 Source300:      u-boot-rpmlintrc
+# openSUSE fixes hopefully going upstream soon
+# https://www.mail-archive.com/u-boot@lists.denx.de/msg187126.html
+Patch50:        arndale-apply-cortex-a15-erratas.patch
 # Marvell boards support is non-free licensed, and we don't need it 
(bnc#773824)
 Patch99:        drop-marvell.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -65,6 +68,7 @@
 
 %prep
 %setup -q -n u-boot-%{archive_version}
+%patch50 -p1
 # is non-free licensed, and we don't need it (bnc#773824)
 rm -rf board/Marvell
 # Any custom patches to be applied on top of mainline u-boot
@@ -73,8 +77,8 @@
 %build
 make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" paz00_defconfig
 make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
-%if "%{name}" == "u-boot-snow"
-# Chromebook ARM (snow) need a uImage format
+%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
+# Chromebook ARM (snow) and HP Chromebook 11 (spring) need a uImage format
 export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
 ./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e 
$TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
 %endif

++++++ u-boot-pcm051rev3.spec ++++++
--- /var/tmp/diff_new_pack.0wbGTL/_old  2015-10-08 08:25:59.000000000 +0200
+++ /var/tmp/diff_new_pack.0wbGTL/_new  2015-10-08 08:25:59.000000000 +0200
@@ -37,6 +37,9 @@
 Source:         ftp://ftp.denx.de/pub/u-boot/u-boot-%{archive_version}.tar.bz2
 Source2:        arndale-bl1.img
 Source300:      u-boot-rpmlintrc
+# openSUSE fixes hopefully going upstream soon
+# https://www.mail-archive.com/u-boot@lists.denx.de/msg187126.html
+Patch50:        arndale-apply-cortex-a15-erratas.patch
 # Marvell boards support is non-free licensed, and we don't need it 
(bnc#773824)
 Patch99:        drop-marvell.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -65,6 +68,7 @@
 
 %prep
 %setup -q -n u-boot-%{archive_version}
+%patch50 -p1
 # is non-free licensed, and we don't need it (bnc#773824)
 rm -rf board/Marvell
 # Any custom patches to be applied on top of mainline u-boot
@@ -73,8 +77,8 @@
 %build
 make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" pcm051_rev3_defconfig
 make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
-%if "%{name}" == "u-boot-snow"
-# Chromebook ARM (snow) need a uImage format
+%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
+# Chromebook ARM (snow) and HP Chromebook 11 (spring) need a uImage format
 export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
 ./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e 
$TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
 %endif

++++++ u-boot-rpi.spec ++++++
--- /var/tmp/diff_new_pack.0wbGTL/_old  2015-10-08 08:25:59.000000000 +0200
+++ /var/tmp/diff_new_pack.0wbGTL/_new  2015-10-08 08:25:59.000000000 +0200
@@ -37,6 +37,9 @@
 Source:         ftp://ftp.denx.de/pub/u-boot/u-boot-%{archive_version}.tar.bz2
 Source2:        arndale-bl1.img
 Source300:      u-boot-rpmlintrc
+# openSUSE fixes hopefully going upstream soon
+# https://www.mail-archive.com/u-boot@lists.denx.de/msg187126.html
+Patch50:        arndale-apply-cortex-a15-erratas.patch
 # Marvell boards support is non-free licensed, and we don't need it 
(bnc#773824)
 Patch99:        drop-marvell.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -65,6 +68,7 @@
 
 %prep
 %setup -q -n u-boot-%{archive_version}
+%patch50 -p1
 # is non-free licensed, and we don't need it (bnc#773824)
 rm -rf board/Marvell
 # Any custom patches to be applied on top of mainline u-boot
@@ -73,8 +77,8 @@
 %build
 make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" rpi_defconfig
 make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
-%if "%{name}" == "u-boot-snow"
-# Chromebook ARM (snow) need a uImage format
+%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
+# Chromebook ARM (snow) and HP Chromebook 11 (spring) need a uImage format
 export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
 ./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e 
$TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
 %endif

++++++ u-boot-rpi2.spec ++++++
--- /var/tmp/diff_new_pack.0wbGTL/_old  2015-10-08 08:25:59.000000000 +0200
+++ /var/tmp/diff_new_pack.0wbGTL/_new  2015-10-08 08:25:59.000000000 +0200
@@ -37,6 +37,9 @@
 Source:         ftp://ftp.denx.de/pub/u-boot/u-boot-%{archive_version}.tar.bz2
 Source2:        arndale-bl1.img
 Source300:      u-boot-rpmlintrc
+# openSUSE fixes hopefully going upstream soon
+# https://www.mail-archive.com/u-boot@lists.denx.de/msg187126.html
+Patch50:        arndale-apply-cortex-a15-erratas.patch
 # Marvell boards support is non-free licensed, and we don't need it 
(bnc#773824)
 Patch99:        drop-marvell.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -65,6 +68,7 @@
 
 %prep
 %setup -q -n u-boot-%{archive_version}
+%patch50 -p1
 # is non-free licensed, and we don't need it (bnc#773824)
 rm -rf board/Marvell
 # Any custom patches to be applied on top of mainline u-boot
@@ -73,8 +77,8 @@
 %build
 make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" rpi_2_defconfig
 make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
-%if "%{name}" == "u-boot-snow"
-# Chromebook ARM (snow) need a uImage format
+%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
+# Chromebook ARM (snow) and HP Chromebook 11 (spring) need a uImage format
 export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
 ./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e 
$TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
 %endif

++++++ u-boot-snow.spec ++++++
--- /var/tmp/diff_new_pack.0wbGTL/_old  2015-10-08 08:25:59.000000000 +0200
+++ /var/tmp/diff_new_pack.0wbGTL/_new  2015-10-08 08:25:59.000000000 +0200
@@ -37,6 +37,9 @@
 Source:         ftp://ftp.denx.de/pub/u-boot/u-boot-%{archive_version}.tar.bz2
 Source2:        arndale-bl1.img
 Source300:      u-boot-rpmlintrc
+# openSUSE fixes hopefully going upstream soon
+# https://www.mail-archive.com/u-boot@lists.denx.de/msg187126.html
+Patch50:        arndale-apply-cortex-a15-erratas.patch
 # Marvell boards support is non-free licensed, and we don't need it 
(bnc#773824)
 Patch99:        drop-marvell.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -65,6 +68,7 @@
 
 %prep
 %setup -q -n u-boot-%{archive_version}
+%patch50 -p1
 # is non-free licensed, and we don't need it (bnc#773824)
 rm -rf board/Marvell
 # Any custom patches to be applied on top of mainline u-boot
@@ -73,8 +77,8 @@
 %build
 make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" snow_defconfig
 make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
-%if "%{name}" == "u-boot-snow"
-# Chromebook ARM (snow) need a uImage format
+%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
+# Chromebook ARM (snow) and HP Chromebook 11 (spring) need a uImage format
 export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
 ./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e 
$TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
 %endif

++++++ u-boot-spring.spec ++++++
#
# spec file for package u-boot-spring
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2010 Texas Instruments Inc by Nishanth Menon
# Copyright (c) 2007-2010 by Silvan Calarco <silvan.cala...@mambasoft.it>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


%define x_loader 0
%define origen_spl 0
%define sunxi_spl 0
%define arndale_spl 0
%define cuboxi_spl 0

# archive_version differs from version for RC version only
%define archive_version 2015.10-rc4

Name:           u-boot-spring
Version:        2015.10~rc4
Release:        0
Summary:        The u-boot firmware for the spring arm platform
License:        GPL-2.0
Group:          System/Boot
Url:            http://www.denx.de/wiki/U-Boot
Source:         ftp://ftp.denx.de/pub/u-boot/u-boot-%{archive_version}.tar.bz2
Source2:        arndale-bl1.img
Source300:      u-boot-rpmlintrc
# openSUSE fixes hopefully going upstream soon
# https://www.mail-archive.com/u-boot@lists.denx.de/msg187126.html
Patch50:        arndale-apply-cortex-a15-erratas.patch
# Marvell boards support is non-free licensed, and we don't need it (bnc#773824)
Patch99:        drop-marvell.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
# Arndale board need DTC >= 1.4
BuildRequires:  bc
BuildRequires:  dtc >= 1.4.0
Provides:       u-boot-loader
Conflicts:      otherproviders(u-boot-loader)
%if %x_loader == 1
Obsoletes:      x-loader-spring
Provides:       x-loader-spring
%endif
ExclusiveArch:  armv7l armv7hl

%description
Das U-Boot (or just "U-Boot" for short) is Open Source Firmware for Embedded 
PowerPC, ARM, MIPS and x86 processors.
This package contains the firmware for the spring arm platform.

%package doc
Summary:        Documentation for the u-boot Firmware
Group:          Documentation/Other

%description doc
Das U-Boot (or just "U-Boot" for short) is Open Source Firmware for Embedded 
PowerPC, ARM, MIPS and x86 processors.
This package contains documentation for u-boot firmware

%prep
%setup -q -n u-boot-%{archive_version}
%patch50 -p1
# is non-free licensed, and we don't need it (bnc#773824)
rm -rf board/Marvell
# Any custom patches to be applied on top of mainline u-boot
%patch99 -p1

%build
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" spring_defconfig
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
# Chromebook ARM (snow) and HP Chromebook 11 (spring) need a uImage format
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e $TEXT_START 
-n uboot -d u-boot-dtb.bin u-boot.img
%endif

%install
%if "%{name}" == "u-boot-jetson-tk1"
# tegra-uboot-flasher needs several intermediate files, under their original 
name.
for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do
    install -D -m 0644 $f %{buildroot}/boot/$f
done
%else
# Some times u-boot needs a dtb to configure itself appended to the binary.
# In that case prefer the one with a working dtb already appended.
if [ -f u-boot-dtb-tegra.bin ]; then
    install -D -m 0644 u-boot-dtb-tegra.img %{buildroot}/boot/u-boot.img
elif [ -f u-boot-dtb.img ]; then
    install -D -m 0644 u-boot-dtb.img %{buildroot}/boot/u-boot.img
else
    install -D -m 0644 u-boot.img %{buildroot}/boot/u-boot.img
fi
%endif
%if %x_loader == 1
install -D -m 0755 MLO %{buildroot}/boot/MLO
%endif
%if %origen_spl == 1
install -D -m 0755 spl/origen-spl.bin %{buildroot}/boot/origen-spl.bin
%endif
%if %arndale_spl == 1
install -D -m 0755 spl/arndale-spl.bin %{buildroot}/boot/arndale-spl.bin
install -D -m 0755 %{SOURCE2} %{buildroot}/boot/arndale-bl1.img
%endif
%if %sunxi_spl == 1
install -D -m 0755 spl/sunxi-spl.bin %{buildroot}/boot/sunxi-spl.bin
install -D -m 0755 u-boot-sunxi-with-spl.bin 
%{buildroot}/boot/u-boot-sunxi-with-spl.bin 
%endif
%if %cuboxi_spl == 1
install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
%endif

%files
%defattr(-,root,root)
/boot/*
%doc Licenses/gpl-2.0.txt README

%files doc
%defattr(-,root,root)
# Generic documents
%doc doc/README.JFFS2 doc/README.JFFS2_NAND doc/README.commands
%doc doc/README.autoboot doc/README.commands doc/README.console doc/README.dns
%doc doc/README.hwconfig doc/README.nand doc/README.NetConsole 
doc/README.serial_multi
%doc doc/README.SNTP doc/README.standalone doc/README.update doc/README.usb
%doc doc/README.video doc/README.VLAN doc/README.silent doc/README.POST 
doc/README.Modem
# Copy some useful kermit scripts as well
%doc tools/kermit/dot.kermrc tools/kermit/flash_param tools/kermit/send_cmd 
tools/kermit/send_image
# Now any h/w dependent Documentation
%doc doc/README.ARM-memory-map 

%changelog
++++++ arndale-apply-cortex-a15-erratas.patch ++++++
>From 0052a7d99a9182e0ad343a98e77406226ea81740 Mon Sep 17 00:00:00 2001
From: Ian Campbell <ian.campb...@citrix.com>
Date: Tue, 29 Sep 2015 09:54:13 +0100
Subject: [PATCH] arndale: Apply Cortex-A15 errata #773022 and #774769

We run 4 Arndale boards in our automated test framework, they have
been running quite happily for quite some time using a Debian Wheezy
userspace.

However when upgrading to a Debian Jessie we started seeing frequent
segmentation faults from gcc when building the kernel, to the extent
that it is unable to successfully build the kernel twice in a row, and
often fails on the first attempt.

Searching around I found https://bugs.launchpad.net/arndale/+bug/1081417
which pointed towards http://www.spinics.net/lists/kvm-arm/msg03723.html
and CPU Errata 773022 and 774769.

This errata needs to be applied to all processors in an SMP system,
meaning that the usual strategy of applying them in
arch/arm/cpu/armv7/start.S is not appropriate (since that applies to
the boot processor only). Instead we apply these errata in the secure
monitor which is code that is traversed by all processors as they are
brought up.

The net affect on Arndale is that ACTLR changes from 0x40 to
0x2000042. I ran 17 kernel compile iterations overnight with no
segfaults.

Runtime testing was done on our v2014.10 based branch and forward
ported (with only minimal and trivial contextual conflicts) to current
master, where it has been build tested only.

I suppose in theory these errata apply to any Exynos5250 based boards,
but Arndale is the only one I have access to and I have therefore
chosen to be conservative and only apply it there.

Also, reorder CONFIG_ARM_ERRATA_794072 in README to make the list
numerically sorted.

Signed-off-by: Ian Campbell <ian.campb...@citrix.com>
---
Our v2014.10 based branch:
http://xenbits.xen.org/gitweb/?p=people/ianc/osstest/u-boot.git;a=shortlog;h=refs/heads/arndale
---
 README                           |    4 +++-
 arch/arm/cpu/armv7/nonsec_virt.S |   14 ++++++++++++++
 include/configs/arndale.h        |    4 ++++
 3 files changed, 21 insertions(+), 1 deletions(-)

Index: u-boot-2015.10-rc4/README
===================================================================
--- u-boot-2015.10-rc4.orig/README
+++ u-boot-2015.10-rc4/README
@@ -681,8 +681,10 @@ The following options need to be configu
                CONFIG_ARM_ERRATA_742230
                CONFIG_ARM_ERRATA_743622
                CONFIG_ARM_ERRATA_751472
-               CONFIG_ARM_ERRATA_794072
                CONFIG_ARM_ERRATA_761320
+               CONFIG_ARM_ERRATA_773022
+               CONFIG_ARM_ERRATA_774769
+               CONFIG_ARM_ERRATA_794072
 
                If set, the workarounds for these ARM errata are applied early
                during U-Boot startup. Note that these options force the
Index: u-boot-2015.10-rc4/arch/arm/cpu/armv7/nonsec_virt.S
===================================================================
--- u-boot-2015.10-rc4.orig/arch/arm/cpu/armv7/nonsec_virt.S
+++ u-boot-2015.10-rc4/arch/arm/cpu/armv7/nonsec_virt.S
@@ -53,6 +53,20 @@ _secure_monitor:
        bl      psci_arch_init
 #endif
 
+#ifdef CONFIG_ARM_ERRATA_773022
+       mrc     p15, 0, r5, c1, c0, 1
+       orr     r5, r5, #(1 << 1)
+       mcr     p15, 0, r5, c1, c0, 1
+       isb
+#endif
+
+#ifdef CONFIG_ARM_ERRATA_774769
+       mrc     p15, 0, r5, c1, c0, 1
+       orr     r5, r5, #(1 << 25)
+       mcr     p15, 0, r5, c1, c0, 1
+       isb
+#endif
+
        mrc     p15, 0, r5, c1, c1, 0           @ read SCR
        bic     r5, r5, #0x4a                   @ clear IRQ, EA, nET bits
        orr     r5, r5, #0x31                   @ enable NS, AW, FW bits
Index: u-boot-2015.10-rc4/include/configs/arndale.h
===================================================================
--- u-boot-2015.10-rc4.orig/include/configs/arndale.h
+++ u-boot-2015.10-rc4/include/configs/arndale.h
@@ -49,6 +49,10 @@
 /* The PERIPHBASE in the CBAR register is wrong on the Arndale, so override it 
*/
 #define CONFIG_ARM_GIC_BASE_ADDRESS    0x10480000
 
+/* CPU Errata */
+#define CONFIG_ARM_ERRATA_773022
+#define CONFIG_ARM_ERRATA_774769
+
 /* Power */
 #define CONFIG_POWER
 #define CONFIG_POWER_I2C

++++++ pre_checkin.sh ++++++
--- /var/tmp/diff_new_pack.0wbGTL/_old  2015-10-08 08:25:59.000000000 +0200
+++ /var/tmp/diff_new_pack.0wbGTL/_new  2015-10-08 08:25:59.000000000 +0200
@@ -2,33 +2,61 @@
 
 BOARDNAME="$1"
 BOARDCONFIG="$2"
-ARCH_RESTRICTIONS="$3 $4"
+ARCH_RESTRICTIONS="$3"
 
 armv6_boards="rpi"
-armv7_boards="omap3_beagle omap4_panda am335x_evm arndale highbank mx53loco 
mx6cuboxi mx6qsabrelite Bananapi Cubieboard Cubieboard2 Cubietruck Mele_A1000 
colibri_t20 paz00 snow A10-OLinuXino-Lime A20-OLinuXino-Lime2 pcm051_rev3 rpi_2 
A20-OLinuXino-Lime A13-OLinuXinoM A13-OLinuXino A20-OLinuXino_MICRO 
Merrii_A80_Optimus jetson-tk1 odroid odroid-xu3"
+
+# TI
+armv7_boards="omap3_beagle omap4_panda am335x_evm pcm051_rev3"
+# Exynos
+armv7_boards="$armv7_boards arndale snow spring odroid odroid-xu3"
+# Calxeda
+armv7_boards="$armv7_boards highbank"
+# Freescale
+armv7_boards="$armv7_boards mx53loco mx6cuboxi mx6qsabrelite"
+# Allwinner
+armv7_boards="$armv7_boards Bananapi Cubieboard Cubieboard2 Cubietruck 
Mele_A1000 Merrii_A80_Optimus"
+armv7_boards="$armv7_boards A10-OLinuXino-Lime A13-OLinuXino A13-OLinuXinoM"
+armv7_boards="$armv7_boards A20-OLinuXino-Lime A20-OLinuXino-Lime2 
A20-OLinuXino_MICRO"
+# Broadcom
+armv7_boards="$armv7_boards rpi_2"
+# Nvidia
+armv7_boards="$armv7_boards colibri_t20 paz00 jetson-tk1"
+# Rockchip
+armv7_boards="$armv7_boards firefly-rk3288"
+
 aarch64_boards=""
 
+ppc_boards=""
+
 if [ ! "$1" -o ! "$2" -o ! "$3" ]; then
     # armv6 boards
     for BOARDCONFIG in $armv6_boards; do
         BOARDNAME="$(echo $BOARDCONFIG | tr -d '_' | tr '[:upper:]' 
'[:lower:]')"
         BOARDCONFIG=${BOARDCONFIG}_defconfig
         ARCH_RESTRICTIONS="armv6l armv6hl"
-        bash $0 $BOARDNAME $BOARDCONFIG $ARCH_RESTRICTIONS
+        bash $0 $BOARDNAME $BOARDCONFIG "$ARCH_RESTRICTIONS"
     done
     # armv7 boards
     for BOARDCONFIG in $armv7_boards; do
         BOARDNAME="$(echo $BOARDCONFIG | tr -d '_' | tr '[:upper:]' 
'[:lower:]')"
         BOARDCONFIG=${BOARDCONFIG}_defconfig
         ARCH_RESTRICTIONS="armv7l armv7hl"
-        bash $0 $BOARDNAME $BOARDCONFIG $ARCH_RESTRICTIONS
+        bash $0 $BOARDNAME $BOARDCONFIG "$ARCH_RESTRICTIONS"
     done
     # aarch64 boards
     for BOARDCONFIG in $aarch64_boards; do
         BOARDNAME="$(echo $BOARDCONFIG | tr -d '_' | tr '[:upper:]' 
'[:lower:]')"
         BOARDCONFIG=${BOARDCONFIG}_defconfig
         ARCH_RESTRICTIONS="aarch64"
-        bash $0 $BOARDNAME $BOARDCONFIG $ARCH_RESTRICTIONS
+        bash $0 $BOARDNAME $BOARDCONFIG "$ARCH_RESTRICTIONS"
+    done
+    # ppc boards
+    for BOARDCONFIG in $ppc_boards; do
+        BOARDNAME="$(echo $BOARDCONFIG | tr -d '_' | tr '[:upper:]' 
'[:lower:]')"
+        BOARDCONFIG=${BOARDCONFIG}_defconfig
+        ARCH_RESTRICTIONS="ppc"
+        bash $0 $BOARDNAME $BOARDCONFIG "$ARCH_RESTRICTIONS"
     done
     exit 0
 fi
@@ -38,30 +66,30 @@
 SUNXI_SPL=0
 ARNDALE_SPL=0
 CUBOXI_SPL=0
-case "$BOARDCONFIG" in
-mx53loco*|mx6qsabrelite*|efika*)
+case "$(echo $BOARDCONFIG | sed -e 's/_defconfig//')" in
+mx53loco|mx6qsabrelite|efika*)
     BINEND=imx
     ;;
-*omap*|*am335x*|pcm051*)  BINEND=img
+omap*|am335x*|pcm051*)  BINEND=img
             OMAP_SPL=1  ;;
-*arndale*)  BINEND=bin
+arndale)  BINEND=bin
             ARNDALE_SPL=1 ;;
-*Bananapi*|*Cubieboard*|Cubietruck*|*-OLinuXino*)
+Bananapi*|Cubieboard*|Cubietruck*|*-OLinuXino*)
     BINEND=img
     SUNXI_SPL=1
     ;;
-*Mele_A1000*)
+Mele_A1000)
     BINEND=img
     SUNXI_SPL=1
     ;;
-*Hyundai_A7HD*)
+Hyundai_A7HD)
     BINEND=img
     SUNXI_SPL=1
     ;;
-*snow*)
+snow|spring)
     BINEND=img
     ;;
-mx6cuboxi*)
+mx6cuboxi)
     BINEND=img
     CUBOXI_SPL=1
     ;;

++++++ u-boot.spec.in ++++++
--- /var/tmp/diff_new_pack.0wbGTL/_old  2015-10-08 08:25:59.000000000 +0200
+++ /var/tmp/diff_new_pack.0wbGTL/_new  2015-10-08 08:25:59.000000000 +0200
@@ -37,6 +37,9 @@
 Source:         ftp://ftp.denx.de/pub/u-boot/u-boot-%{archive_version}.tar.bz2
 Source2:        arndale-bl1.img
 Source300:      u-boot-rpmlintrc
+# openSUSE fixes hopefully going upstream soon
+# https://www.mail-archive.com/u-boot@lists.denx.de/msg187126.html
+Patch50:        arndale-apply-cortex-a15-erratas.patch
 # Marvell boards support is non-free licensed, and we don't need it 
(bnc#773824)
 Patch99:        drop-marvell.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -65,6 +68,7 @@
 
 %prep
 %setup -q -n u-boot-%{archive_version}
+%patch50 -p1
 # is non-free licensed, and we don't need it (bnc#773824)
 rm -rf board/Marvell
 # Any custom patches to be applied on top of mainline u-boot
@@ -73,8 +77,8 @@
 %build
 make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" BOARDCONFIG
 make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
-%if "%{name}" == "u-boot-snow"
-# Chromebook ARM (snow) need a uImage format
+%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
+# Chromebook ARM (snow) and HP Chromebook 11 (spring) need a uImage format
 export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
 ./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e 
$TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
 %endif


Reply via email to