[U-Boot] [PATCH 1/2] fdt_support: fdt_translate_address() blob const correctness

Simon Glass sjg at chromium.org
Thu Aug 4 00:00:15 CEST 2016


On 1 August 2016 at 14:52, Stephen Warren <swarren at wwwdotorg.org> wrote:
>
> From: Stephen Warren <swarren at nvidia.com>
>
> The next patch will call fdt_translate_address() from somewhere with a
> "const void *blob" rather than a "void *blob", so fdt_translate_address()
> must accept a const pointer too. Constify the minimum number of function
> parameters to achieve this.
>
> Signed-off-by: Stephen Warren <swarren at nvidia.com>
> ---
>  common/fdt_support.c  | 19 ++++++++++---------
>  include/fdt_support.h |  5 +++--
>  2 files changed, 13 insertions(+), 11 deletions(-)

Acked-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list