From: Gabor Juhos Date: Sun, 11 Dec 2011 15:52:47 +0000 (+0000) Subject: ar71xx: use RedBoot parser on PB44 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f27f94699f15798e4db70dc76ac2c05192a8a585;p=openwrt%2Fsvn-archive%2Farchive.git ar71xx: use RedBoot parser on PB44 SVN-Revision: 29501 --- diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-pb44.c b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-pb44.c index a66be18584..5e013504e6 100644 --- a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-pb44.c +++ b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-pb44.c @@ -129,12 +129,22 @@ static struct vsc7385_platform_data pb44_vsc7395_data = { }, }; +static const char *pb44_part_probes[] = { + "RedBoot", + NULL, +}; + +static struct flash_platform_data pb44_flash_data = { + .part_probes = pb44_part_probes, +}; + static struct spi_board_info pb44_spi_info[] = { { .bus_num = 0, .chip_select = 0, .max_speed_hz = 25000000, .modalias = "m25p80", + .platform_data = &pb44_flash_data, }, { .bus_num = 0, .chip_select = 1,