[U-Boot] [PATCH 4/6] autoboot: rename abortboot_{keyed, normal} to __abortboot

Simon Glass sjg at chromium.org
Tue Jun 21 18:06:03 CEST 2016


On 20 June 2016 at 23:32, Masahiro Yamada <yamada.masahiro at socionext.com> wrote:
> Because abortboot_keyed() and abortboot_normal() are not compiled
> at the same time, we can rename both of them to __abortboot().
> This allows to drop #ifdef from the caller.
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro at socionext.com>
> ---
>
>  common/autoboot.c | 10 +++-------
>  1 file changed, 3 insertions(+), 7 deletions(-)

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

BTW I suggest _abortboot() - single underscore. But it's not important.


More information about the U-Boot mailing list