Skip to content
Snippets Groups Projects
Commit ace4275e authored by Tom Rini's avatar Tom Rini
Browse files

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: default avatarPeter Korsgaard <jacmet@sunsite.dk>
Signed-off-by: default avatarTom Rini <trini@ti.com>
parent 6454028a
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment