Re: [U-Boot] [PATCH v2 5/7] am335x_evm: Rework board_is_foo() checks

2013-05-15 Thread Peter Korsgaard
> "Tom" == Tom Rini writes: Tom> We rework the various board_is_foo() checks to take a pointer to Tom> struct am335x_baseboard_id rather than using a local copy in board.c. Tom> This allows us to make use of the same checks in mux.c as well as fixing Tom> problems when this code could be

[U-Boot] [PATCH v2 5/7] am335x_evm: Rework board_is_foo() checks

2013-05-13 Thread Tom Rini
We rework the various board_is_foo() checks to take a pointer to struct am335x_baseboard_id rather than using a local copy in board.c. This allows us to make use of the same checks in mux.c as well as fixing problems when this code could be running from read-only memory. Signed-off-by: Tom Rini