[flashrom] [PATCH 1/3] layout: change return type and name of find_next_included_romentry
Stefan Tauner
stefan.tauner at student.tuwien.ac.at
Thu Aug 18 06:30:55 CEST 2011
On Mon, 15 Aug 2011 06:43:36 +0200
Stefan Tauner <stefan.tauner at student.tuwien.ac.at> 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
More information about the flashrom
mailing list