From: Andre Przywara Subject: [PATCH v2 0/5] arm/early-printk: Improve reusability and add Calxeda support Date: Fri, 24 May 2013 15:47:25 +0200 Message-ID: <1369403250-9132-1-git-send-email-andre.przywara@calxeda.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: stefano.stabellini@eu.citrix.com, Ian.Campbell@citrix.com Cc: Andre Przywara , julien.grall@linaro.org, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org The current early-printk support for ARM is rather hard-coded, making it hard to add machines or tweak settings. This series slightly moves some code to gather UART settings in xen/arch/arm/Rules.mk instead of the actual .c files. Also it allows two different machines with different settings to share the same driver, which the last patch exploits to add support the Calxeda Midway hardware. This haven't been extensively tested, but I looked at the generated assembly and did some quick checks on Versatile Express. Signed-off-by: Andre Przywara Changes from v1: - add documentation - add extra support for ARM Fastmodel software emulators Andre Przywara (5): arm/early-printk: calculate baud rate divisor from user provided value arm/early-printk: allow skipping of UART init arm/early-printk: move UART base address to Rules.mk arm/early-printk: add support for ARM Fastmodel arm/early-printk: add Calxeda Midway UART support docs/misc/arm/early-printk.txt | 9 +++++++++ xen/arch/arm/Rules.mk | 20 +++++++++++++++++++- xen/arch/arm/arm32/debug-exynos4210.inc | 6 ++---- xen/arch/arm/arm32/debug-pl011.inc | 6 ++---- xen/arch/arm/arm32/head.S | 2 ++ xen/arch/arm/arm64/debug-pl011.inc | 6 ++---- xen/arch/arm/arm64/head.S | 2 ++ 7 files changed, 38 insertions(+), 13 deletions(-) -- 1.7.12.1