[PATCH v2] arm: configs: aspeed: Add UBI support

Adriana Kobylak anoo at linux.vnet.ibm.com
Fri Feb 17 08:33:49 AEDT 2017


Add UBI support to aspeed_g4_defconfig and aspeed_g5_defconfig

Signed-off-by: Adriana Kobylak <anoo at linux.vnet.ibm.com>
---
 arch/arm/configs/aspeed_g4_defconfig | 7 +++++++
 arch/arm/configs/aspeed_g5_defconfig | 7 +++++++
 2 files changed, 14 insertions(+)

diff --git a/arch/arm/configs/aspeed_g4_defconfig b/arch/arm/configs/aspeed_g4_defconfig
index 2edad5c..fdc331a 100644
--- a/arch/arm/configs/aspeed_g4_defconfig
+++ b/arch/arm/configs/aspeed_g4_defconfig
@@ -10,6 +10,7 @@ CONFIG_BLK_DEV_INITRD=y
 # CONFIG_RD_BZIP2 is not set
 # CONFIG_RD_LZO is not set
 # CONFIG_RD_LZ4 is not set
+CONFIG_LZO=y
 CONFIG_CC_OPTIMIZE_FOR_SIZE=y
 CONFIG_BPF_SYSCALL=y
 # CONFIG_AIO is not set
@@ -57,7 +58,9 @@ CONFIG_DEVTMPFS_MOUNT=y
 # CONFIG_PREVENT_FIRMWARE_BUILD is not set
 CONFIG_MTD=y
 CONFIG_MTD_BLOCK=y
+CONFIG_MTD_DEVICE=y
 CONFIG_MTD_PARTITIONED_MASTER=y
+CONFIG_MTD_PARTITIONS=y
 CONFIG_MTD_SPI_NOR=y
 CONFIG_ASPEED_FLASH_SPI=y
 CONFIG_BLK_DEV_RAM=y
@@ -163,3 +166,7 @@ CONFIG_DEBUG_SET_MODULE_RONX=y
 # CONFIG_XZ_DEC_POWERPC is not set
 # CONFIG_XZ_DEC_IA64 is not set
 # CONFIG_XZ_DEC_SPARC is not set
+CONFIG_CMD_MTDPARTS=y
+CONFIG_CMD_UBI=y
+CONFIG_CMD_UBIFS=y
+CONFIG_RBTREE=y
diff --git a/arch/arm/configs/aspeed_g5_defconfig b/arch/arm/configs/aspeed_g5_defconfig
index a5c6ddb..19c37ea 100644
--- a/arch/arm/configs/aspeed_g5_defconfig
+++ b/arch/arm/configs/aspeed_g5_defconfig
@@ -10,6 +10,7 @@ CONFIG_BLK_DEV_INITRD=y
 # CONFIG_RD_BZIP2 is not set
 # CONFIG_RD_LZO is not set
 # CONFIG_RD_LZ4 is not set
+CONFIG_LZO=y
 CONFIG_CC_OPTIMIZE_FOR_SIZE=y
 CONFIG_BPF_SYSCALL=y
 # CONFIG_AIO is not set
@@ -59,7 +60,9 @@ CONFIG_DEVTMPFS_MOUNT=y
 # CONFIG_PREVENT_FIRMWARE_BUILD is not set
 CONFIG_MTD=y
 CONFIG_MTD_BLOCK=y
+CONFIG_MTD_DEVICE=y
 CONFIG_MTD_PARTITIONED_MASTER=y
+CONFIG_MTD_PARTITIONS=y
 CONFIG_MTD_SPI_NOR=y
 CONFIG_ASPEED_FLASH_SPI=y
 CONFIG_BLK_DEV_RAM=y
@@ -167,3 +170,7 @@ CONFIG_DEBUG_SET_MODULE_RONX=y
 # CONFIG_XZ_DEC_POWERPC is not set
 # CONFIG_XZ_DEC_IA64 is not set
 # CONFIG_XZ_DEC_SPARC is not set
+CONFIG_CMD_MTDPARTS=y
+CONFIG_CMD_UBI=y
+CONFIG_CMD_UBIFS=y
+CONFIG_RBTREE=y
-- 
1.8.2.2



More information about the openbmc mailing list