mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-02-21 18:14:43 +02:00
ar71xx: use RedBoot parser on PB44
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29501 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
6e2a326218
commit
1e26277d1e
@ -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[] = {
|
static struct spi_board_info pb44_spi_info[] = {
|
||||||
{
|
{
|
||||||
.bus_num = 0,
|
.bus_num = 0,
|
||||||
.chip_select = 0,
|
.chip_select = 0,
|
||||||
.max_speed_hz = 25000000,
|
.max_speed_hz = 25000000,
|
||||||
.modalias = "m25p80",
|
.modalias = "m25p80",
|
||||||
|
.platform_data = &pb44_flash_data,
|
||||||
}, {
|
}, {
|
||||||
.bus_num = 0,
|
.bus_num = 0,
|
||||||
.chip_select = 1,
|
.chip_select = 1,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user