[U-Boot] [PATCH] mtd: SPI Flash: Support the STMicro Flash

Scott Wood scottwood at freescale.com
Thu Aug 28 19:07:41 CEST 2008


Liew Tsi Chung-R5AAHP wrote:
> Scott,
> 
> 	I do have -i8 included. So, which one I should edit by hand? The
> " }," or " .xxxx =".

Both.

It should look like this:

struct foo bar[] = {
	{
		.aoeu = AOEU1,
		.htns = HTNS1,
	},
	{
		.aoeu = AOEU2,
		.htns = HTNS2,
	},
};

-Scott


More information about the U-Boot mailing list