[PATCH u-boot 08/39] linker_lists: prepare macros to avoid code repetition

Bin Meng bmeng.cn at gmail.com
Mon Mar 8 08:44:45 CET 2021


On Sun, Mar 7, 2021 at 12:26 PM Marek Behún <marek.behun at nic.cz> wrote:
>
> Prepare private macros expanding to linker list entry symbol name and
> declaration to avoid nasty code repetition in the next patch.
>
> We also avoid some code repetition in current code with these macros.
>
> Signed-off-by: Marek Behún <marek.behun at nic.cz>
> ---
>  include/linker_lists.h | 46 ++++++++++++++++++++++++++++--------------
>  1 file changed, 31 insertions(+), 15 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list