include: board: provide empty stubs when the BOARD option is not selected
authorJean-Jacques Hiblot <jjhiblot@ti.com>
Tue, 22 Oct 2019 14:39:20 +0000 (16:39 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 7 Jan 2020 16:13:24 +0000 (11:13 -0500)
commit02806e9ac1fbff2f1507f5565d738ac4e3c25709
tree67a47a01eec6f21ff3642f8a1bb4b8a41a7579c0
parentd42730e8c67a0955c2f8236157b4723c585b9d24
include: board: provide empty stubs when the BOARD option is not selected

Useful to avoid #ifdef throughout the code that uses the board driver API.

Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
include/board.h