diff options
author | Antony Pavlov <antonynpavlov@gmail.com> | 2014-12-27 02:56:29 +0300 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2015-01-05 12:33:54 +0100 |
commit | c535c7a45abf7705480f85fc4fbdc44a2b5c59b0 (patch) | |
tree | e6653a086b275b9216fb185f41a0abf62dc9bbba | |
parent | 45de5790d017ff7473d59cbd7c48265539673e69 (diff) | |
download | barebox-c535c7a45abf7705480f85fc4fbdc44a2b5c59b0.tar.gz barebox-c535c7a45abf7705480f85fc4fbdc44a2b5c59b0.tar.xz |
ARM: bcm2835: add DEBUG_LL support
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r-- | arch/arm/Kconfig | 1 | ||||
-rw-r--r-- | arch/arm/mach-bcm2835/include/mach/debug_ll.h | 27 |
2 files changed, 28 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 97e2526d10..08d5b3d9b2 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -53,6 +53,7 @@ config ARCH_BCM2835 select COMMON_CLK select CLOCKSOURCE_BCM2835 select ARM_AMBA + select HAS_DEBUG_LL config ARCH_CLPS711X bool "Cirrus Logic EP711x/EP721x/EP731x" diff --git a/arch/arm/mach-bcm2835/include/mach/debug_ll.h b/arch/arm/mach-bcm2835/include/mach/debug_ll.h new file mode 100644 index 0000000000..be93cd95ad --- /dev/null +++ b/arch/arm/mach-bcm2835/include/mach/debug_ll.h @@ -0,0 +1,27 @@ +/* + * Copyright (C) 2014 Antony Pavlov <antonynpavlov@gmail.com> + * + * This file is part of barebox. + * See file CREDITS for list of people who contributed to this project. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 + * as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + */ + +#ifndef __MACH_BCM2835_DEBUG_LL_H__ +#define __MACH_BCM2835_DEBUG_LL_H__ + +#include <mach/platform.h> + +#define DEBUG_LL_UART_ADDR BCM2835_UART0_BASE + +#include <asm/debug_ll_pl011.h> + +#endif /* __MACH_BCM2835_DEBUG_LL_H__ */ |