From 638ba8f9246ae6390c62b7dde25c2e6ab2740d91 Mon Sep 17 00:00:00 2001 From: Heesub Shin Date: Sat, 18 Mar 2017 19:58:12 +0900 Subject: [PATCH] sidk_s5jt200: enable flash partitions Configure flash partitions at boot time. Change-Id: I92c69894dc583418367481dc4c66f4607ae32f86 Signed-off-by: Heesub Shin --- build/configs/sidk_s5jt200/hello_with_tash/defconfig | 14 +++++++++++++- build/configs/sidk_s5jt200/kernel_sample/defconfig | 14 +++++++++++++- build/configs/sidk_s5jt200/sidk_tash_wlan/defconfig | 10 +++++++++- build/configs/sidk_s5jt200/tc/defconfig | 15 ++++++++++++++- 4 files changed, 49 insertions(+), 4 deletions(-) diff --git a/build/configs/sidk_s5jt200/hello_with_tash/defconfig b/build/configs/sidk_s5jt200/hello_with_tash/defconfig index 41e1535..db5facb 100644 --- a/build/configs/sidk_s5jt200/hello_with_tash/defconfig +++ b/build/configs/sidk_s5jt200/hello_with_tash/defconfig @@ -301,6 +301,17 @@ CONFIG_ARCH_HAVE_IRQBUTTONS=y # CONFIG_BOARD_RAMDUMP_UART is not set # +# Board-Specific Options +# +CONFIG_SIDK_S5JT200_FLASH_CAPACITY=8388608 +CONFIG_SIDK_S5JT200_FLASH_PAGE_SIZE=4096 +CONFIG_SIDK_S5JT200_FLASH_MINOR=0 +CONFIG_SIDK_S5JT200_FLASH_PART=y +CONFIG_SIDK_S5JT200_FLASH_PART_LIST="16,48,192,32,512,2400,1536,1536,1400,8,512," +CONFIG_SIDK_S5JT200_FLASH_PART_TYPE="none,none,none,none,none,none,none,none,smartfs,none,smartfs," +CONFIG_SIDK_S5JT200_FLASH_PART_NAME="bl1,sssro,bl2,sssfw,wififw,os,factory,ota,userfs,nvram,sssrw," + +# # RTOS Features # CONFIG_DISABLE_OS_API=y @@ -624,7 +635,8 @@ CONFIG_FS_PROCFS=y # CONFIG_MTD=y CONFIG_MTD_PARTITION=y -# CONFIG_MTD_PARTITION_NAMES is not set +CONFIG_MTD_PARTITION_NAMES=y +CONFIG_MTD_PROGMEM=y # CONFIG_MTD_CONFIG is not set # CONFIG_MTD_BYTE_WRITE is not set diff --git a/build/configs/sidk_s5jt200/kernel_sample/defconfig b/build/configs/sidk_s5jt200/kernel_sample/defconfig index 02f16c7..b2cc4e5 100644 --- a/build/configs/sidk_s5jt200/kernel_sample/defconfig +++ b/build/configs/sidk_s5jt200/kernel_sample/defconfig @@ -302,6 +302,17 @@ CONFIG_BOARD_CRASHDUMP=y CONFIG_BOARD_RAMDUMP_UART=y # +# Board-Specific Options +# +CONFIG_SIDK_S5JT200_FLASH_CAPACITY=8388608 +CONFIG_SIDK_S5JT200_FLASH_PAGE_SIZE=4096 +CONFIG_SIDK_S5JT200_FLASH_MINOR=0 +CONFIG_SIDK_S5JT200_FLASH_PART=y +CONFIG_SIDK_S5JT200_FLASH_PART_LIST="16,48,192,32,512,2400,1536,1536,1400,8,512," +CONFIG_SIDK_S5JT200_FLASH_PART_TYPE="none,none,none,none,none,none,none,none,smartfs,none,smartfs," +CONFIG_SIDK_S5JT200_FLASH_PART_NAME="bl1,sssro,bl2,sssfw,wififw,os,factory,ota,userfs,nvram,sssrw," + +# # RTOS Features # CONFIG_DISABLE_OS_API=y @@ -628,7 +639,8 @@ CONFIG_FS_PROCFS=y # CONFIG_MTD=y CONFIG_MTD_PARTITION=y -# CONFIG_MTD_PARTITION_NAMES is not set +CONFIG_MTD_PARTITION_NAMES=y +CONFIG_MTD_PROGMEM=y # CONFIG_MTD_CONFIG is not set # CONFIG_MTD_BYTE_WRITE is not set diff --git a/build/configs/sidk_s5jt200/sidk_tash_wlan/defconfig b/build/configs/sidk_s5jt200/sidk_tash_wlan/defconfig index cb847a4..e39a00d 100755 --- a/build/configs/sidk_s5jt200/sidk_tash_wlan/defconfig +++ b/build/configs/sidk_s5jt200/sidk_tash_wlan/defconfig @@ -308,6 +308,13 @@ CONFIG_ARCH_HAVE_IRQBUTTONS=y # # Board-Specific Options # +CONFIG_SIDK_S5JT200_FLASH_CAPACITY=8388608 +CONFIG_SIDK_S5JT200_FLASH_PAGE_SIZE=4096 +CONFIG_SIDK_S5JT200_FLASH_MINOR=0 +CONFIG_SIDK_S5JT200_FLASH_PART=y +CONFIG_SIDK_S5JT200_FLASH_PART_LIST="16,48,192,32,512,2400,1536,1536,1400,8,512," +CONFIG_SIDK_S5JT200_FLASH_PART_TYPE="none,none,none,none,none,none,none,none,smartfs,none,smartfs," +CONFIG_SIDK_S5JT200_FLASH_PART_NAME="bl1,sssro,bl2,sssfw,wififw,os,factory,ota,userfs,nvram,sssrw," # # RTOS Features @@ -708,7 +715,8 @@ CONFIG_FS_PROCFS=y # CONFIG_MTD=y CONFIG_MTD_PARTITION=y -# CONFIG_MTD_PARTITION_NAMES is not set +CONFIG_MTD_PARTITION_NAMES=y +CONFIG_MTD_PROGMEM=y # CONFIG_MTD_CONFIG is not set # CONFIG_MTD_BYTE_WRITE is not set diff --git a/build/configs/sidk_s5jt200/tc/defconfig b/build/configs/sidk_s5jt200/tc/defconfig index ee52198..f3973be 100644 --- a/build/configs/sidk_s5jt200/tc/defconfig +++ b/build/configs/sidk_s5jt200/tc/defconfig @@ -30,6 +30,7 @@ CONFIG_BUILD_FLAT=y # CONFIG_INTELHEX_BINARY is not set # CONFIG_MOTOROLA_SREC is not set CONFIG_RAW_BINARY=y +CONFIG_SAMSUNG_NS2=y # CONFIG_UBOOT_UIMAGE is not set # CONFIG_DOWNLOAD_IMAGE is not set # CONFIG_SMARTFS_IMAGE is not set @@ -301,6 +302,17 @@ CONFIG_BOARD_CRASHDUMP=y CONFIG_BOARD_RAMDUMP_UART=y # +# Board-Specific Options +# +CONFIG_SIDK_S5JT200_FLASH_CAPACITY=8388608 +CONFIG_SIDK_S5JT200_FLASH_PAGE_SIZE=4096 +CONFIG_SIDK_S5JT200_FLASH_MINOR=0 +CONFIG_SIDK_S5JT200_FLASH_PART=y +CONFIG_SIDK_S5JT200_FLASH_PART_LIST="16,48,192,32,512,2400,1536,1536,1400,8,512," +CONFIG_SIDK_S5JT200_FLASH_PART_TYPE="none,none,none,none,none,none,none,none,smartfs,none,smartfs," +CONFIG_SIDK_S5JT200_FLASH_PART_NAME="bl1,sssro,bl2,sssfw,wififw,os,factory,ota,userfs,nvram,sssrw," + +# # RTOS Features # CONFIG_DISABLE_OS_API=y @@ -627,7 +639,8 @@ CONFIG_FS_PROCFS=y # CONFIG_MTD=y CONFIG_MTD_PARTITION=y -# CONFIG_MTD_PARTITION_NAMES is not set +CONFIG_MTD_PARTITION_NAMES=y +CONFIG_MTD_PROGMEM=y # CONFIG_MTD_CONFIG is not set # CONFIG_MTD_BYTE_WRITE is not set -- 2.7.4