[PATCH 12/26] lib: addr_map: Move address_map[] type to the header file

Simon Glass sjg at chromium.org
Mon Feb 8 05:21:01 CET 2021


On Sun, 7 Feb 2021 at 08:12, Bin Meng <bmeng.cn at gmail.com> wrote:
>
> At present address_map[] is static and its type is unknown to external
> modules. In preparation to create a command to list its contents, this
> patch moves its type definition and declaration to the header file.
>
> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
> ---
>
>  include/addr_map.h | 8 ++++++++
>  lib/addr_map.c     | 6 +-----
>  2 files changed, 9 insertions(+), 5 deletions(-)

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


More information about the U-Boot mailing list