[U-Boot] [PATCH 02/11] fdt: Report failure of ft_board_setup()
Anatolij Gustschin
agust at denx.de
Fri Oct 17 22:23:58 CEST 2014
Hi Simon,
On Wed, 15 Oct 2014 02:05:32 -0600
Simon Glass <sjg at chromium.org> wrote:
...
> + else if (strncmp(argv[1], "boa", 3) == 0) {
> + int err = ft_board_setup(working_fdt, gd->bd);
> +
> + if (err) {
> + printf("Failed to add board information to FDT: %s\n",
> + fdt_strerror(err));
ft_board_setup() can also remove nodes or properties, so a message
like "Failed to update board information in FDT: %s\n" would be
better here.
Thanks,
Anatolij
More information about the U-Boot
mailing list