[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] problems with flatfs
Hi Sigi,
Sigmund Homolya wrote:
> microblaze auto-config flash probe(0x21000000,8388608,2): 800000 at
> 21000000
> amd/fujitsu extended query table v1.0 at 0x0041
> flash: ....
> flash: ....
> number of cfi chips: 1
>
> what I get instead is:
>
> ....
> microblaze auto-config flash probe(0x21000000,8388608,4): 800000 at
> 21000000
> cfi: found no flash device at location zero
> ....
>
> can you tell me where i can change the 'four' at the end of the brackets
> to a 'two' ?
That will be the flash bus width, it's set in the file
drivers/mtd/maps/mb_auto.c, around lline 45
#define BUS_WIDTH 4
change it to a 2, you should be right.
This probably should be a configuration parameter, might even be
possible to infer it in the auto-config architecture, so you don't have
to worry about it. I'll give it some thought.
John
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/