diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2017-02-15 20:34:12 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2017-02-24 08:21:33 +0100 |
commit | c7263b02f83c330ffaf0f7f7128f747681e08a9e (patch) | |
tree | 6a6ef6a16478f5a9287216f45e56ed77276076e8 /arch | |
parent | 3858b78c1bea4d8b6aca73348edd48cbe59a428e (diff) | |
download | barebox-c7263b02f83c330ffaf0f7f7128f747681e08a9e.tar.gz barebox-c7263b02f83c330ffaf0f7f7128f747681e08a9e.tar.xz |
efi: move debug_ll.h to include/efi
so other arch could include it too
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/efi/include/mach/debug_ll.h | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/arch/efi/include/mach/debug_ll.h b/arch/efi/include/mach/debug_ll.h index 4ca72de312..e144d86e00 100644 --- a/arch/efi/include/mach/debug_ll.h +++ b/arch/efi/include/mach/debug_ll.h @@ -1,20 +1 @@ -#ifndef __MACH_DEBUG_LL_H__ -#define __MACH_DEBUG_LL_H__ - -#define EFI_DEBUG 0 -#define EFI_DEBUG_CLEAR_MEMORY 0 - -#include <efi.h> -#include <efi/efi.h> - -static inline void PUTC_LL(char c) -{ - uint16_t str[2] = {}; - struct efi_simple_text_output_protocol *con_out = efi_sys_table->con_out; - - str[0] = c; - - con_out->output_string(con_out, str); -} - -#endif +#include <efi/debug_ll.h> |