]> git.sur5r.net Git - u-boot/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)
committerStefano Babic <sbabic@denx.de>
Tue, 19 Jul 2016 17:52:12 +0000 (19:52 +0200)
commitf4ae23a7cd6fff3e0b9d250411b6714c6a1a2930
tree37292e89a04cfdf1b8cb5be6d20bc68a34e42a63
parentf0f6724f86b4e86c8977f33a835a1b77352be7c4
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