diff options
author | Paul Cercueil <paul@crapouillou.net> | 2018-03-28 17:38:12 +0200 |
---|---|---|
committer | James Hogan <jhogan@kernel.org> | 2018-05-14 23:54:25 +0100 |
commit | c60128ce97674fd05adb8b5ae79eb6745a03192e (patch) | |
tree | 783beace1c1def02fc96d795e88c6e9c470c1398 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 55a2aa08b3af519a9693f99cdf7fa6d8b62d9f65 (diff) |
MIPS: Fix build with DEBUG_ZBOOT and MACH_JZ4770
The debug definitions were missing for MACH_JZ4770, resulting in a build
failure when DEBUG_ZBOOT was set.
Since the UART addresses are the same across all Ingenic SoCs, we just
use a #ifdef CONFIG_MACH_INGENIC instead of checking for individual
Ingenic SoCs.
Additionally, I added a #define for the UART0 address in-code and
dropped the <asm/mach-jz4740/base.h> include, for the reason that this
include file is slowly being phased out as the whole platform is being
moved to devicetree.
Fixes: 9be5f3e92ed5 ("MIPS: ingenic: Initial JZ4770 support")
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: linux-mips@linux-mips.org
Cc: <stable@vger.kernel.org> # 4.16
Patchwork: https://patchwork.linux-mips.org/patch/18957/
Signed-off-by: James Hogan <jhogan@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions