]> git.dujemihanovic.xyz Git - u-boot.git/commit
fit: use 'const' for the input of fdt_offset() and locate_dtb_in_fit()
authorJean-Jacques Hiblot <jjhiblot@ti.com>
Fri, 15 Sep 2017 10:57:25 +0000 (12:57 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 6 Oct 2017 01:31:04 +0000 (21:31 -0400)
commit906a9dbbcba85e8b02414c960c75103cc4755102
tree7ed6863f3bcc59acf9e9b83df92d5c2435e99dbc
parent11955590a284ecb75892aad5f1174ca1b94a709b
fit: use 'const' for the input of fdt_offset() and locate_dtb_in_fit()

Those 2 functions don't modify their input, we can mark it const.
This prevents compilation warnings when they are provided const input.

Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
common/boot_fit.c
include/boot_fit.h