diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2011-12-11 15:52:47 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2011-12-11 15:52:47 +0000 |
commit | c9fcfa6fba481b3f270b671f5ef2efe57eda7c7c (patch) | |
tree | b2651bd0a52b135bcfbcf184f93a6daf9275c9d9 /target/linux/ar71xx/files/arch | |
parent | 145b0ef954f58e82d778400f9f331ead43755b75 (diff) | |
download | master-187ad058-c9fcfa6fba481b3f270b671f5ef2efe57eda7c7c.tar.gz master-187ad058-c9fcfa6fba481b3f270b671f5ef2efe57eda7c7c.tar.bz2 master-187ad058-c9fcfa6fba481b3f270b671f5ef2efe57eda7c7c.zip |
ar71xx: use RedBoot parser on PB44
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29501 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/files/arch')
-rw-r--r-- | target/linux/ar71xx/files/arch/mips/ar71xx/mach-pb44.c | 10 |
1 files changed, 10 insertions, 0 deletions
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, |