On Mon, 15 Aug 2011 06:43:36 +0200
Stefan Tauner <[email protected]> wrote:

> -typedef struct {
> +static struct rom_entry {
>       unsigned int start;
>       unsigned int end;
>       unsigned int included;
>       char name[256];
> -} romlayout_t;
> -
> -static romlayout_t rom_entries[MAX_ROMLAYOUT];
> +} rom_entries[MAX_ROMLAYOUT];

this was a big mistake. this type is very useful - not necessarily in
this setup, but in general we want a rom_entry type to pass around
functions that operate on parts of the flash only (i am working
on making reads obey layouts atm).

-- 
Kind regards/Mit freundlichen Grüßen, Stefan Tauner

_______________________________________________
flashrom mailing list
[email protected]
http://www.flashrom.org/mailman/listinfo/flashrom

Reply via email to