From 2a2b16210bbc8c5881286d2ff742f3bdf1a7fd9c Mon Sep 17 00:00:00 2001 From: Jonas Gorski Date: Tue, 7 Feb 2017 12:01:46 +0100 Subject: brcm63xx: backport upstream solution for SPI message size limits Backport upstream solution for working around SPI controller maximum message sizes. Signed-off-by: Jonas Gorski --- .../patches-4.4/414-MTD-m25p80-allow-passing-pp_data.patch | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'target/linux/brcm63xx/patches-4.4/414-MTD-m25p80-allow-passing-pp_data.patch') diff --git a/target/linux/brcm63xx/patches-4.4/414-MTD-m25p80-allow-passing-pp_data.patch b/target/linux/brcm63xx/patches-4.4/414-MTD-m25p80-allow-passing-pp_data.patch index a0b4b4f..c565ac0 100644 --- a/target/linux/brcm63xx/patches-4.4/414-MTD-m25p80-allow-passing-pp_data.patch +++ b/target/linux/brcm63xx/patches-4.4/414-MTD-m25p80-allow-passing-pp_data.patch @@ -10,7 +10,7 @@ Subject: [PATCH 64/79] MTD: m25p80: allow passing pp_data --- a/drivers/mtd/devices/m25p80.c +++ b/drivers/mtd/devices/m25p80.c -@@ -276,7 +276,8 @@ static int m25p_probe(struct spi_device +@@ -261,7 +261,8 @@ static int m25p_probe(struct spi_device return ret; return mtd_device_parse_register(&nor->mtd, @@ -28,13 +28,13 @@ Subject: [PATCH 64/79] MTD: m25p80: allow passing pp_data * partitioning + * @pp_data: optional partition parser data. * - * @max_transfer_len: option maximum read/write length limitation for - * SPI controllers not able to transfer any length commands. -@@ -30,6 +31,7 @@ struct flash_platform_data { + * Board init code (in arch/.../mach-xxx/board-yyy.c files) can + * provide information about SPI flash parts (such as DataFlash) to +@@ -28,6 +29,7 @@ struct flash_platform_data { char *type; const char **part_probe_types; + struct mtd_part_parser_data *pp_data; - - unsigned int max_transfer_len; /* we'll likely add more ... use JEDEC IDs, etc */ + }; + -- cgit v1.1