diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2015-09-21 15:27:31 (GMT) |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2015-09-24 15:27:53 (GMT) |
commit | 8469700b6c9cf31e4e2df7a005f5f5385c5be5d4 (patch) | |
tree | 9b7616b8d09d6197f7835b82f60b65c33801a50e /arch/arm/mach-uniphier/board_common.c | |
parent | 0b198670c6525392337462282efeaefe459e14cd (diff) | |
download | u-boot-8469700b6c9cf31e4e2df7a005f5f5385c5be5d4.tar.xz |
ARM: uniphier: refactor LED function
The macro, led_write(), is now only used in C sources. There is no
more reason to keep the tricky assembly macro. Replace it with a
new C function led_puts().
Also, rename board.h to micro-support-card.h.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'arch/arm/mach-uniphier/board_common.c')
-rw-r--r-- | arch/arm/mach-uniphier/board_common.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/arch/arm/mach-uniphier/board_common.c b/arch/arm/mach-uniphier/board_common.c index 967fa6c..198004b 100644 --- a/arch/arm/mach-uniphier/board_common.c +++ b/arch/arm/mach-uniphier/board_common.c @@ -1,20 +1,15 @@ /* - * Copyright (C) 2012-2014 Panasonic Corporation - * Author: Masahiro Yamada <yamada.m@jp.panasonic.com> + * Copyright (C) 2012-2015 Masahiro Yamada <yamada.masahiro@socionext.com> * * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> -#include <mach/led.h> +#include <mach/micro-support-card.h> -/* - * Routine: board_init - * Description: Early hardware init. - */ int board_init(void) { - led_write(U, B, O, O); + led_puts("Uboo"); return 0; } |