diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2023-03-01 09:00:34 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2023-03-07 10:39:30 +0100 |
commit | 0fff6cb9bb4f269e03839ba9f41f3459b1f6df3e (patch) | |
tree | 653d5b7cc488eda49a3b01165c3808f0794e39ad /arch/arm/boards/phytec-som-imx6 | |
parent | c7c3059ddd32053ff8c1798f0a0f51fddcac96f8 (diff) | |
download | barebox-0fff6cb9bb4f269e03839ba9f41f3459b1f6df3e.tar.gz barebox-0fff6cb9bb4f269e03839ba9f41f3459b1f6df3e.tar.xz |
ARM: i.MX: Only provide PUTC_LL() when activated
With multi-arch support we must make sure we provide exactly one
PUTC_LL() function as indicated by the "Kernel low-level debugging port"
Kconfig choice. Make sure that the i.MX specific debug_ll.h only
provides PUTC_LL() when specified.
The i.MX specific debug_ll.h also provides other functions needed
by board code regardless if the i.MX debug_ll port is enabled or
not, so include it explicitly where needed.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/boards/phytec-som-imx6')
-rw-r--r-- | arch/arm/boards/phytec-som-imx6/lowlevel.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/boards/phytec-som-imx6/lowlevel.c b/arch/arm/boards/phytec-som-imx6/lowlevel.c index a783bcb477..bbd77dd734 100644 --- a/arch/arm/boards/phytec-som-imx6/lowlevel.c +++ b/arch/arm/boards/phytec-som-imx6/lowlevel.c @@ -6,6 +6,7 @@ * Author: Stefan Christ <s.christ@phytec.de> */ #include <debug_ll.h> +#include <mach/imx/debug_ll.h> #include <common.h> #include <linux/sizes.h> #include <io.h> |