[U-Boot] [PATCH] mtd: SPI Flash: Support the STMicro Flash
Scott Wood
scottwood at freescale.com
Thu Aug 28 19:00:50 CEST 2008
On Thu, Aug 28, 2008 at 06:44:56AM -0700, Liew Tsi Chung-R5AAHP wrote:
> >> + {
> >> + .idcode1 = STM_ID_M25P80,
> >> + .page_size = 256,
> >> + .pages_per_sector = 256,
> >> + .nr_sectors = 16,
> >> + .name = "M25P80",
> >> + },
> >> + {
> >> + .idcode1 = STM_ID_M25P128,
> >> + .page_size = 256,
> >> + .pages_per_sector = 1024,
> >> + .nr_sectors = 64,
> >> + .name = "M25P128",
> >> + },
> >> +};
>
> > The indentation is a bit weird here. Please use tabs only.
> The indentation is generated by "indent -npro -kr -ts8 -sob -l80 -ss
> -ncs "$@"".
Try adding "-i8". If it still spits out anything looking like the above
with the options you said you used, it's broken and you should do the
formatting by hand.
-Scott
More information about the U-Boot
mailing list