uboot-realtek: support SPI
This commit is contained in:
parent
8f125636f0
commit
4598762d8f
@ -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
|
||||
|
||||
|
||||
17
package/boot/uboot-realtek/patches/904-enable-spi.diff
Normal file
17
package/boot/uboot-realtek/patches/904-enable-spi.diff
Normal file
@ -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
|
||||
Loading…
Reference in New Issue
Block a user