]> code.ossystems Code Review - bsp/u-boot.git/commit
fdt_support: define stub for fdt_fixup_mtdparts
authorChristopher Spinrath <christopher.spinrath@rwth-aachen.de>
Tue, 12 Jul 2016 21:37:35 +0000 (23:37 +0200)
committerOtavio Salvador <otavio@ossystems.com.br>
Wed, 20 Jul 2016 21:06:59 +0000 (18:06 -0300)
commit9fa3af03698edf5a91cdcc4140b878dd1f02086e
tree30cab8bf394f20a50b176690cf09ae5ebb41b718
parentf1a2b5658a50d04ef4f02e2977c4a66df979c053
fdt_support: define stub for fdt_fixup_mtdparts

Define an inline stub for fdt_fixup_mtdparts in the case that
CONFIG_FDT_FIXUP_PARTITIONS is not defined. This avoids the need
to guard every call to this function by a proper #ifdef in board
files.

Signed-off-by: Christopher Spinrath <christopher.spinrath@rwth-aachen.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Igor Grinberg <grinberg@compulab.co.il>
include/fdt_support.h