[U-Boot] [PATCH 7/8] ARM: UniPhier: display model name if it is available in device tree
Simon Glass
sjg at chromium.org
Wed Nov 26 21:15:48 CET 2014
Hi Masahiro,
On 26 November 2014 at 02:34, Masahiro Yamada <yamada.m at jp.panasonic.com> wrote:
> If CONFIG_OF_CONTROL is defined and the root node of the device tree
> has "model" property, display the model name instead of the hard-coded
> board name.
>
> Signed-off-by: Masahiro Yamada <yamada.m at jp.panasonic.com>
Reviewed-by: Simon Glass <sjg at chromium.org>
This works, but also see if CONFIG_DISPLAY_BOARDINFO_LATE works for
you. Or perhaps we can do this prior to relocation if
CONFIG_DISPLAY_BOARDINFO is not defined?
Anyway your code is not really board-specific.
Regards,
Simon
More information about the U-Boot
mailing list