mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2025-12-10 07:44:53 +01:00
ipq8064: Added mtd_node for qcom_nand and updated MTDPARTS_MAXLEN to 4096
In ft_board_setup, 1. Added ipq nand device qcom,qcom_nand to mtd nodes list. 2. The maximum size of mtdparts used is 4096. Hence, updating MTDPARTS_MAXLEN to match this value. Change-Id: Iede752ddf72c410c6f4a6f828d8c2caef90cbf09 Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
This commit is contained in:
parent
e664dcf4bc
commit
fae4bc20ab
2 changed files with 2 additions and 1 deletions
|
|
@ -231,6 +231,7 @@ int ft_board_setup(void *blob, bd_t *bd)
|
|||
qca_smem_flash_info_t *sfi = &qca_smem_flash_info;
|
||||
struct flash_node_info nodes[] = {
|
||||
{ "qcom,msm-nand", MTD_DEV_TYPE_NAND, 0 },
|
||||
{ "qcom,qcom_nand", MTD_DEV_TYPE_NAND, 0 },
|
||||
{ "spinand,mt29f", MTD_DEV_TYPE_NAND, 1 },
|
||||
{ "n25q128a11", MTD_DEV_TYPE_NAND, 2 },
|
||||
{ NULL, 0, -1 }, /* Terminator */
|
||||
|
|
|
|||
|
|
@ -123,7 +123,7 @@ static const char *const mtdparts_default = NULL;
|
|||
|
||||
/* copies of last seen 'mtdids', 'mtdparts' and 'partition' env variables */
|
||||
#define MTDIDS_MAXLEN 128
|
||||
#define MTDPARTS_MAXLEN 512
|
||||
#define MTDPARTS_MAXLEN 4096
|
||||
#define PARTITION_MAXLEN 16
|
||||
static char last_ids[MTDIDS_MAXLEN];
|
||||
static char last_parts[MTDPARTS_MAXLEN];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue