]> git.ipfire.org Git - people/ms/u-boot.git/commit
ARM: keystone2: Add support for parsing monitor header
authorLokesh Vutla <lokeshvutla@ti.com>
Fri, 16 Sep 2016 04:47:12 +0000 (10:17 +0530)
committerTom Rini <trini@konsulko.com>
Sun, 2 Oct 2016 00:05:10 +0000 (20:05 -0400)
commit5d214065167ed4052b552a7224b9fbf807b8c107
treea67b7d45f9abdf75b8269f05cde0665820b181ac
parent86e3ca1178820f0bfd62607d9198eb3c91c00e95
ARM: keystone2: Add support for parsing monitor header

Given that boot monitor image is being generated to a specific target location
depending on the SoC and U-boot relies on addr_mon env variable to be aligned
with boot monitor target location. When ever the target address gets updated in
boot monitor, it is difficult to sync between u-boot and boot monitor and also
there is no way to update user that boot monitor image is updated.

To avoid this problem, boot monitor image is being generated with mkimage
header. Adding support in mon_install command for parsing this header.

Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
arch/arm/mach-keystone/cmd_mon.c