package/boot: update uboot-kirkwood to 2017.03
[openwrt/openwrt.git] / package / boot / uboot-kirkwood / patches / 110-dockstar.patch
index 07d65de174abf19eb8fda95319112f468b8376dd..46b838f30b99cf7f6249661210ef20f4ecd5b170 100644 (file)
@@ -1,14 +1,14 @@
 --- a/include/configs/dockstar.h
 +++ b/include/configs/dockstar.h
-@@ -31,6 +31,7 @@
-  * Commands configuration
-  */
- #define CONFIG_SYS_NO_FLASH           /* Declare no flash (NOR/SPI) */
+@@ -19,6 +19,7 @@
+ #define CONFIG_KW88F6281      1       /* SOC Name */
#define CONFIG_MACH_DOCKSTAR  /* Machine type */
+ #define CONFIG_SKIP_LOWLEVEL_INIT     /* disable board lowlevel_init */
 +#define CONFIG_SYS_MVFS
- #define CONFIG_CMD_ENV
- #define CONFIG_CMD_NAND
  /*
-@@ -53,29 +54,29 @@
+  * Commands configuration
+@@ -45,29 +46,29 @@
   * it has to be rounded to sector size
   */
  #define CONFIG_ENV_SIZE                       0x20000 /* 128k */
 -      "ubifsload 0x800000 ${kernel}; " \
 -      "ubifsload 0x1100000 ${initrd}; " \
 -      "bootm 0x800000 0x1100000"
+-
+-#define CONFIG_MTDPARTS               "mtdparts=orion_nand:1m(uboot),-(root)\0"
 +      "ubi part ubi; " \
 +      "ubi read 0x800000 kernel; " \
 +      "bootm 0x800000"
--#define CONFIG_MTDPARTS               "mtdparts=orion_nand:1m(uboot),-(root)\0"
++
 +#define CONFIG_MTDPARTS \
 +      "mtdparts=orion_nand:"                          \
 +      "0xe0000@0x0(uboot),"                           \