diff --git a/package/boot/uboot-realtek/Makefile b/package/boot/uboot-realtek/Makefile index 24f41010c2..67f14a4def 100644 --- a/package/boot/uboot-realtek/Makefile +++ b/package/boot/uboot-realtek/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/kernel.mk PKG_VERSION:=2015.07 -PKG_RELEASE:=7 +PKG_RELEASE:=8 PKG_HASH:=0b48c9bd717f2c322ef791f8282e14c88be942dc7d1226df7e31a812a3af94d9 diff --git a/package/boot/uboot-realtek/patches/904-enable-spi.diff b/package/boot/uboot-realtek/patches/904-enable-spi.diff new file mode 100644 index 0000000000..3bd1ebb376 --- /dev/null +++ b/package/boot/uboot-realtek/patches/904-enable-spi.diff @@ -0,0 +1,17 @@ +diff --git a/include/configs/rtd1295_qa_emmc_64.h b/include/configs/rtd1295_qa_emmc_64.h +index 91e357f093..cdd0edd13d 100644 +--- a/include/configs/rtd1295_qa_emmc_64.h ++++ b/include/configs/rtd1295_qa_emmc_64.h +@@ -84,6 +84,12 @@ + #define CONFIG_RESCUE_FROM_USB_ROOTFS "rescue.root.emmc.cpio.gz_pad.img" + #endif /* CONFIG_RESCUE_FROM_USB */ + ++ /* SPI */ ++ #define CONFIG_RTKSPI ++ #define CONFIG_CMD_RTKSPI ++ #define CONFIG_LZMA ++ #define CONFIG_CMD_LZMADEC ++ + #elif defined(CONFIG_SYS_RTK_NAND_FLASH) + /* Flash writer setting: + * The corresponding setting will be located at