[U-Boot] [PATCH v2 1/2] fdt: add call to ft_board_setup_ex() for ks2 boards

Nicholas Faustini nicholas.faustini at azcomtech.com
Wed Oct 3 10:58:48 UTC 2018


When updating the board FDT, some of the operations
are performed by ft_board_setup_ex() and should be
executed also by the fdt command.

Signed-off-by: Nicholas Faustini <nicholas.faustini at azcomtech.com>
Reviewed-by: Tom Rini <trini at konsulko.com>

---

Changes in v2:
- Add reviewed-by tag

 cmd/fdt.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/cmd/fdt.c b/cmd/fdt.c
index 28de467f96..8a19a3fdbf 100644
--- a/cmd/fdt.c
+++ b/cmd/fdt.c
@@ -596,6 +596,9 @@ static int do_fdt(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
 			       fdt_strerror(err));
 			return CMD_RET_FAILURE;
 		}
+#ifdef CONFIG_SOC_KEYSTONE
+		ft_board_setup_ex(working_fdt, gd->bd);
+#endif
 	}
 #endif
 	/* Create a chosen node */
-- 
2.17.1


-- 
Disclaimer: This email and any files transmitted along with it may contain 
Azcom confidential and proprietary information. If you are not the intended 
recipient, you are notified that disclosing, copying, distributing or 
taking any action based on the contents of the information contained herein 
is strictly prohibited.
If you are not an intended recipient of this 
transmission and you received it in error, please inform the sender by 
reply e-mail and destroy this and all other copies of this transmission to 
which you have access.
The sender of this email or Azcom does not accept 
liability for any errors or omissions in the contents of this message that 
may occur as a result.


More information about the U-Boot mailing list