colibri_t20: add update_uboot wrapper
authorIgor Opaniuk <igor.opaniuk@toradex.com>
Fri, 27 Mar 2020 10:15:47 +0000 (12:15 +0200)
committerTom Warren <twarren@nvidia.com>
Thu, 2 Apr 2020 21:30:00 +0000 (14:30 -0700)
commita63dd9840096df8f8bb6d36981505ba7c42350d3
tree1fd6ca0a45352d533bb493cb72db7b727e430461
parent195b48367fcb01ee0578f56615c2087ff756bbf2
colibri_t20: add update_uboot wrapper

Add universal update_uboot wrapper that helps to update
U-Boot image on internal storage(NAND).

Create an proper tegra image:
$ cbootimage -s tegra20 colibri_t20-512-v12-nand.img.cfg colibri_t20.img

Flash in U-boot shell:
> tftpboot ${loadaddr} ${board_name}/${board_name}.img
> run update_uboot

Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
Reviewed-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
include/configs/colibri_t20.h