blob: 865c6d02b332f891ff612cc25bf1208547c1df80 [file] [log] [blame]
* Early serial output macro for Marvell SoC
* Copyright (C) 2012 Marvell
* Lior Amsalem <>
* Gregory Clement <>
* 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.
#define ARMADA_370_XP_REGS_PHYS_BASE 0xd0000000
#define ARMADA_370_XP_REGS_VIRT_BASE 0xfeb00000
.macro addruart, rp, rv, tmp
orr \rp, \rp, #0x00012000
orr \rv, \rv, #0x00012000
#define UART_SHIFT 2
#include <asm/hardware/debug-8250.S>