]> git.baikalelectronics.ru Git - uboot.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)
commit27c4d6dddd989eae43ea9a81fccba6fee0985e4a
tree7ed6863f3bcc59acf9e9b83df92d5c2435e99dbc
parentd162a16f5f76686229e10cde05fb8840536c7e07
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