[U-Boot] [PATCH v2 2/4] fdt_support: define stub for fdt_fixup_mtdparts

Simon Glass
2016-07-12T21:57:13Z

On 12 July 2016 at 15:37, <christopher.spinrath@rwth-aachen.de> wrote:
> From: Christopher Spinrath <christopher.spinrath@rwth-aachen.de>
>
> 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>
> ---
>
> Notes:
> Changes since v1:
> - this is a new patch in v2 that is required to address the review
> comments for patch 3 (remove #ifdef guards)
>
> include/fdt_support.h | 6 ++++++
> 1 file changed, 6 insertions(+)

Reviewed-by: Simon Glass <sjg@chromium.org>