[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH v1 4/5] xen/arm: Enable early printk for S32CC via LINFlexD UART


  • To: xen-devel@xxxxxxxxxxxxxxxxxxxx
  • From: "Andrei Cherechesu (OSS)" <andrei.cherechesu@xxxxxxxxxxx>
  • Date: Tue, 10 Sep 2024 17:34:10 +0300
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=UO5KBFZz/KdCTUZRSQwTx6QNHVXbOXMluYbVu8Z7lic=; b=enTdU5ktxm/7Kgm/kAi9Imc49I9oTGhnzzWf5fiDZjWBqcvNTuVLjAeSF7GcUIGAQDTNzsNJctgGARaQ/+M5gH1cNCudibjDRLdXHStQpDdCuYdWZ3fPPFWLwYj1nCPvVEjDnGNv+4+PsHGBN6njku18Kt6wNAWiZOPk5GJCqB1CZ47TLfnYJXb6k1CXDN87686x8WScE3lHlkLmXK2JQWPUjcboiUvFACMHbd9g85JAq5uAgnCzWQETJEJzjADiQ3N7L6GGw4It03hK7ICAcLcR4CLmkgKZE1TTDknh66epD5HB+S8o15z0nR8rOwEjbdF7ADhc4C61yuwjXGFrog==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=CgW4wGjH35aQLv5AuPm221lwhmdA86TnBn23zotRrhsZJUtrSzu3A5ygtLp139jHEPJshSU01DXzmZT4ziiRwY/7AiggyXL9qkiUBPYXpFJhlzEnsKHGc/P0dunh7uob/toZ23cxHXX2mY9Y4QMJeE73DWAgXFRiMP/m+YqkEWrFa/7yK6wN2HcKEA7V+bHvW3iXiAZQBv/mG43UoCQGkb4X4HjK0zIgpNy5POJXOgj8+Bz27WevCbyVe/v/UzTbXYs/+0KR5Sh+1CkaXvHR7rYUjll1re6CxvJygrLOoByd1KKgKnApnqz4TVnfDTrCfVgsGjJM7CsyaymDKunm+A==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com;
  • Cc: S32@xxxxxxx, andrei.cherechesu@xxxxxxxxxxx, Andrei Cherechesu <andrei.cherechesu@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>, Michal Orzel <michal.orzel@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>
  • Delivery-date: Tue, 10 Sep 2024 14:34:44 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

From: Andrei Cherechesu <andrei.cherechesu@xxxxxxx>

Enabled the support for debug through early printk on S32CC
platforms via the NXP LINFlexD UART driver.

Signed-off-by: Andrei Cherechesu <andrei.cherechesu@xxxxxxx>
---
 xen/arch/arm/Kconfig.debug | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/xen/arch/arm/Kconfig.debug b/xen/arch/arm/Kconfig.debug
index a309f67f90..9725f4193c 100644
--- a/xen/arch/arm/Kconfig.debug
+++ b/xen/arch/arm/Kconfig.debug
@@ -168,6 +168,9 @@ choice
        config EARLY_PRINTK_RCAR3
                bool "Early printk with SCIF2 on Renesas R-Car Gen3 processors"
                select EARLY_UART_SCIF
+       config EARLY_PRINTK_S32CC
+               bool "Early printk with NXP LINFlexD UART on NXP S32CC 
processors"
+               select EARLY_UART_LINFLEX
        config EARLY_PRINTK_SEATTLE
                bool "Early printk with pl011 for AMD Seattle processor"
                select EARLY_UART_PL011
@@ -243,6 +246,7 @@ config EARLY_UART_BASE_ADDRESS
        default 0xd0012000 if EARLY_PRINTK_MVEBU
        default 0x48020000 if EARLY_PRINTK_OMAP5432
        default 0xe6e88000 if EARLY_PRINTK_RCAR3
+       default 0x401c8000 if EARLY_PRINTK_S32CC
        default 0xe1010000 if EARLY_PRINTK_SEATTLE
        default 0x01c28000 if EARLY_PRINTK_SUN6I
        default 0x01c28000 if EARLY_PRINTK_SUN7I
-- 
2.45.2




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.