From 1e26277d1e6b0d3ee496e5b646c2546ebf89d0fa Mon Sep 17 00:00:00 2001 From: juhosg Date: Sun, 11 Dec 2011 15:52:47 +0000 Subject: ar71xx: use RedBoot parser on PB44 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29501 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ar71xx/files/arch/mips/ar71xx/mach-pb44.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'target/linux') 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 a66be1858..5e013504e 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, -- cgit v1.2.3