summaryrefslogtreecommitdiff
path: root/lib/efi
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-10-18 19:51:23 -0600
committerSimon Glass <sjg@chromium.org>2015-10-21 07:46:50 -0600
commit97b059730218824a1455f030aadd78ef51729ec0 (patch)
tree82a2ac7f538fcfb1e1ab827e9f07711930cecd8f /lib/efi
parent5ac98cb9bd1f9b74e2165d69da267f3522714c56 (diff)
downloadu-boot-imx-97b059730218824a1455f030aadd78ef51729ec0.zip
u-boot-imx-97b059730218824a1455f030aadd78ef51729ec0.tar.gz
u-boot-imx-97b059730218824a1455f030aadd78ef51729ec0.tar.bz2
debug_uart: Adjust the declaration of debug_uart_init()
We want to be able to add other common code to this function. So change the driver's version to have an underscore before it, just like _debug_uart_putc(). Define debug_uart_init() to call this version. Update all drivers to this new method. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'lib/efi')
-rw-r--r--lib/efi/efi_stub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/efi/efi_stub.c b/lib/efi/efi_stub.c
index d4d3e49..e138709 100644
--- a/lib/efi/efi_stub.c
+++ b/lib/efi/efi_stub.c
@@ -59,7 +59,7 @@ struct __packed desctab_info {
* considering if we start needing more U-Boot functionality. Note that we
* could then move get_codeseg32() to arch/x86/cpu/cpu.c.
*/
-void debug_uart_init(void)
+void _debug_uart_init(void)
{
}