From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andre Przywara Subject: [PATCH 0/4] ARM/early-printk: Improve reusability and add Calxeda support Date: Fri, 24 May 2013 12:42:28 +0200 Message-ID: <1369392152-1305-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 , 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 Andre Przywara (4): 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 Calxeda Midway UART support xen/arch/arm/Rules.mk | 13 +++++++++++++ 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 ++ 6 files changed, 23 insertions(+), 12 deletions(-) -- 1.7.12.1