diff options
author | Tim Harvey <tharvey@gateworks.com> | 2016-09-01 07:45:37 -0700 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2016-09-04 13:36:09 +0200 |
commit | a4b86b292a0bce95b9874d6c757a709c5a5269b4 (patch) | |
tree | 7922e9c3677adc852b5812519866586fd9fb2c80 /package/boot/kobs-ng/patches/003-missing_include.patch | |
parent | f8c7e935ef8060b8ab2f5ca52832ef8dfea361bc (diff) | |
download | mtk-20170518-a4b86b292a0bce95b9874d6c757a709c5a5269b4.zip mtk-20170518-a4b86b292a0bce95b9874d6c757a709c5a5269b4.tar.gz mtk-20170518-a4b86b292a0bce95b9874d6c757a709c5a5269b4.tar.bz2 |
boot: kobs-ng: update kobs-ng for newer kernels
This allows kobs-ng to flash the SPL successfully on the 4.4 kernel used by
the Gateworks IMX boards supporting NAND. The previous version of kobs-ng
worked with the 3.14 kernel but will brick a board making its SPL unbootable
for the 4.4 kernel.
See http://trac.gateworks.com/wiki/ventana/bootloader#nandspl for instructions
on updating the SPL from Linux.
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Diffstat (limited to 'package/boot/kobs-ng/patches/003-missing_include.patch')
-rw-r--r-- | package/boot/kobs-ng/patches/003-missing_include.patch | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/package/boot/kobs-ng/patches/003-missing_include.patch b/package/boot/kobs-ng/patches/003-missing_include.patch deleted file mode 100644 index b91c050..0000000 --- a/package/boot/kobs-ng/patches/003-missing_include.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- a/src/mtd.c -+++ b/src/mtd.c -@@ -28,6 +28,7 @@ - #include <unistd.h> - #include <stdlib.h> - #include <string.h> -+#include <stddef.h> - #include <fcntl.h> - #include <ctype.h> - #include <errno.h> ---- a/src/mtd.h -+++ b/src/mtd.h -@@ -27,6 +27,7 @@ - - #include <mtd/mtd-user.h> - #include <endian.h> -+#include <fcntl.h> - - #include "BootControlBlocks.h" - #include "rom_nand_hamming_code_ecc.h" |