]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
am335x_evm: Rework board_is_foo() checks
authorTom Rini <trini@ti.com>
Thu, 18 Jul 2013 19:13:01 +0000 (15:13 -0400)
committerTom Rini <trini@ti.com>
Tue, 30 Jul 2013 13:21:41 +0000 (09:21 -0400)
commitace4275eb33b7833d96fa2db02d253e06cc1a734
treeb87ef8256138084811001fa2e89533249d5c0b3a
parent6454028abbfcbfb6c448bafa165eeebf2da420c8
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>
board/ti/am335x/board.c
board/ti/am335x/board.h
board/ti/am335x/mux.c