diff options
author | Antony Pavlov <antonynpavlov@gmail.com> | 2013-06-24 23:10:11 +0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2013-06-25 21:36:04 +0200 |
commit | 78d13b1339da0a9452cc505f6ff59fe60fb3ff6a (patch) | |
tree | f28520425ee9c72607c94b634a695af6997898d8 /arch/mips/mach-malta | |
parent | 15001b1f95635a25f08e3b1e2463da280a5409a3 (diff) | |
download | barebox-78d13b1339da0a9452cc505f6ff59fe60fb3ff6a.tar.gz barebox-78d13b1339da0a9452cc505f6ff59fe60fb3ff6a.tar.xz |
MIPS: qemu-malta: rework debug_ll.h
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/mips/mach-malta')
-rw-r--r-- | arch/mips/mach-malta/include/mach/debug_ll.h | 9 | ||||
-rw-r--r-- | arch/mips/mach-malta/include/mach/hardware.h | 4 |
2 files changed, 5 insertions, 8 deletions
diff --git a/arch/mips/mach-malta/include/mach/debug_ll.h b/arch/mips/mach-malta/include/mach/debug_ll.h index 3e8b01b6a9..c9e89bcc9d 100644 --- a/arch/mips/mach-malta/include/mach/debug_ll.h +++ b/arch/mips/mach-malta/include/mach/debug_ll.h @@ -18,11 +18,10 @@ /** @file * This File contains declaration for early output support */ -#ifndef __INCLUDE_ARCH_DEBUG_LL_H__ -#define __INCLUDE_ARCH_DEBUG_LL_H__ - -#include <mach/hardware.h> +#ifndef __MACH_MALTA_DEBUG_LL_H__ +#define __MACH_MALTA_DEBUG_LL_H__ +#include <board/debug_ll.h> #include <asm/debug_ll_ns16550.h> -#endif /* __INCLUDE_ARCH_DEBUG_LL_H__ */ +#endif /* __MACH_MALTA_DEBUG_LL_H__ */ diff --git a/arch/mips/mach-malta/include/mach/hardware.h b/arch/mips/mach-malta/include/mach/hardware.h index 8bd814d240..affb4ea081 100644 --- a/arch/mips/mach-malta/include/mach/hardware.h +++ b/arch/mips/mach-malta/include/mach/hardware.h @@ -18,9 +18,7 @@ #ifndef __INCLUDE_ARCH_HARDWARE_H__ #define __INCLUDE_ARCH_HARDWARE_H__ -#define DEBUG_LL_UART_ADDR 0xb00003f8 -#define DEBUG_LL_UART_SHIFT 0 -#define DEBUG_LL_UART_DIVISOR 1 /* no matter for emulated port */ +#define MALTA_PIIX4_UART0 0xb00003f8 /* * Reset register. |