commit | 4021fd98015807b03ec031ad325c8be2bdf95e10 | [log] [tgz] |
---|---|---|
author | Tom Rini <trini@ti.com> | Thu Jul 18 15:13:01 2013 -0400 |
committer | Tom Rini <trini@ti.com> | Tue Jul 30 09:21:41 2013 -0400 |
tree | b87ef8256138084811001fa2e89533249d5c0b3a | |
parent | b7691243b97137f2c0495a657b229a58b3d76740 [diff] |
am335x_evm: Rework board_is_foo() checks 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. Reviewed-by: Peter Korsgaard <jacmet@sunsite.dk> Signed-off-by: Tom Rini <trini@ti.com>