From patchwork Fri Sep 30 08:55:45 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ashok Reddy Soma X-Patchwork-Id: 1684774 X-Patchwork-Delegate: monstr@monstr.eu Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=amd.com header.i=@amd.com header.a=rsa-sha256 header.s=selector1 header.b=gPsJfOyr; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Mf3xR2JX1z20Zd for ; Fri, 30 Sep 2022 18:56:25 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 40F1884CDB; Fri, 30 Sep 2022 10:56:10 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=amd.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=amd.com header.i=@amd.com header.b="gPsJfOyr"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id DB2AF84C7C; Fri, 30 Sep 2022 10:56:08 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, SPF_PASS,UPPERCASE_50_75 autolearn=no autolearn_force=no version=3.4.2 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2052.outbound.protection.outlook.com [40.107.93.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 816FC84C7C for ; Fri, 30 Sep 2022 10:56:05 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=amd.com Authentication-Results: phobos.denx.de; spf=fail smtp.mailfrom=ashok.reddy.soma@amd.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=X++TsCwqtjeyjiEHHXigrJVeCI9yI6APTtGZUL1+08Na8q6pMQcmjmF+0xK+44H+YfyBWDSsWmwSHBhVplarctKUtFq4Ny0zl5j979N38pUY2G+LJGHtJA/LiGb/xi5yXjXwGoOprQOotsTeVREaEvhf6Zivj4U4AYTe0nsKKRJ1p2QKghliHt9Nf7DxX0sjKMd7ze9gtphl7iKM89lvWu7axAInrORlq6QuIuASKAFrgbz3Rm+v8NjptyadH7+q4CaZCnZ75HuyKHRRuWeWBqu8OsrmmVhf0VT94pYjBcmUHj+SevhBYBLgCweeD9+IRikSdptGTyDHbnC9YfCHZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=/J/YrhGpNL6ahyo+yZiQ1C4cdL6kd2En5KJ2yfNle7A=; b=A2j9r6iBXNKYi7sUicQ7OrXyO0PalJ17ww8kJq8LtJgLZHkWQO7M05gLMg/avR4Iu5q0fW82g/KuGPX49Zb34+d9hOODMl5wD108iuCYiWPB5r6e3zbve5+rYgjnFTOFENUw7j59n3/pByIrtr03H4zLXFt7LP3ywTCiqv8v7QKf61ulXbNxprgiT0Xz2uliqJhTGG3KobSbEmA+vXpknUoo/ljtK29UKOTybjKZsLAPeOoLaYbPS2EGPJAIieGEhyOCkDxfwCelFQnTFhIAWbGNmuzbblsGGlSC688A+PlElju6Dy9zk31dwIb6+FGUaG0Mmpuwjiekg/FT7efJnQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=lists.denx.de smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/J/YrhGpNL6ahyo+yZiQ1C4cdL6kd2En5KJ2yfNle7A=; b=gPsJfOyrrMBo0F50kmc6hDXET9UR+xXJnQEe3rGi+wsg6jjPaMyBHWCMSnlAmMPDWU0K3DNC5Th5oNx/Y0tzNR/va+gRVvhGDX93x2rC5U4bCxoutYoE27SyQx8UfAuLdDj5zJjUnPihWtnCB02cjpH4hyIaKgUgMZLIVMHkVeM= Received: from BN0PR07CA0005.namprd07.prod.outlook.com (2603:10b6:408:141::20) by DS7PR12MB5766.namprd12.prod.outlook.com (2603:10b6:8:75::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5676.23; Fri, 30 Sep 2022 08:56:01 +0000 Received: from BN8NAM11FT004.eop-nam11.prod.protection.outlook.com (2603:10b6:408:141:cafe::cb) by BN0PR07CA0005.outlook.office365.com (2603:10b6:408:141::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5676.23 via Frontend Transport; Fri, 30 Sep 2022 08:56:01 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB03.amd.com; pr=C Received: from SATLEXMB03.amd.com (165.204.84.17) by BN8NAM11FT004.mail.protection.outlook.com (10.13.176.164) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5676.17 via Frontend Transport; Fri, 30 Sep 2022 08:56:00 +0000 Received: from SATLEXMB07.amd.com (10.181.41.45) by SATLEXMB03.amd.com (10.181.40.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.28; Fri, 30 Sep 2022 03:56:00 -0500 Received: from SATLEXMB04.amd.com (10.181.40.145) by SATLEXMB07.amd.com (10.181.41.45) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.28; Fri, 30 Sep 2022 01:55:59 -0700 Received: from xhdashokred41.xilinx.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.28 via Frontend Transport; Fri, 30 Sep 2022 03:55:58 -0500 From: Ashok Reddy Soma To: CC: , , Ashok Reddy Soma Subject: [PATCH 2/2] arm64: versal: Add octal spi flash mini u-boot configuration Date: Fri, 30 Sep 2022 02:55:45 -0600 Message-ID: <20220930085545.16743-3-ashok.reddy.soma@amd.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220930085545.16743-1-ashok.reddy.soma@amd.com> References: <20220930085545.16743-1-ashok.reddy.soma@amd.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN8NAM11FT004:EE_|DS7PR12MB5766:EE_ X-MS-Office365-Filtering-Correlation-Id: 0fd06c56-7dd1-4361-98e9-08daa2c19923 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ijbjJU4VKms0cAdicLxwOEIiQ6XcbUr993cfzUPDdidbdat9s2ojQIwmt/Hmb3oJoGPr0cxQEBZXKNClajtI7ryvr5F37uB6ChJpQZKRsh34bV4V2bldo7ykM+VJIYl7zKbsjOjAIWPyIylW4NiXBftUYIJRtbOFkN/8VmW4MvrOCvhxTT8kGMS+4ci+CrrKlr2N5nDg0IrQm9wjZiKPTUqUoArAOkgnoBNWCwgTE2FxZ5rUSOl7e0YEs8abHMB0XMDOFp8FK3GwdMghedLX+8tesuSZDJdRZINXYsbioBm/BRF/00trfx2iBfy033C/pgzWxihd/CmzHmU/Udxo1fVFlgTlcK0Zr2LFEi4552n+mVNBbTsXEbkIVIwIw+6zsmyioDmCBBNs0f14FxuNpDsUVT1aDr7LiT8NiwVtnAQD3yYzQTPUxzddf3Byxloot2DHJlZMZrzv4OQHr34ppWvJXtfkEMXeFEWG0vI3M8/oRVFdF76DkkCe6PItNF3kA+8shLgV7yuqeEM1K1GNazDSdSbJ+PXnPIF3EERcPF7HnvW+RB1ekzncwm+b4RDFfGXmztlFCdFML9Z2buaGJ5NybbShpSgvXlS7kThEjOWl89M/lzUID9h3/SWelEzfOBAWF7zvXG4wHVKx5Acsn299Mx0ocfSjOt5CezXk0hge/ffYIVDfdKxZ2pcy1VW6iUhtjzOG02zqXD4x+8bWC2NWxkh7Lf5xF/nkMO3wbCNIlEv4/NAHI1anJNfUfe92XOyEHzpYv0I2PyLDjK84ehiXlxDdzUC1QgkqvebahXs= X-Forefront-Antispam-Report: CIP:165.204.84.17; CTRY:US; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:SATLEXMB03.amd.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230022)(4636009)(346002)(396003)(136003)(376002)(39860400002)(451199015)(40470700004)(46966006)(36840700001)(316002)(82310400005)(82740400003)(83380400001)(4326008)(81166007)(8676002)(103116003)(54906003)(6916009)(36756003)(356005)(70206006)(70586007)(2906002)(47076005)(41300700001)(86362001)(1076003)(2616005)(5660300002)(186003)(478600001)(6666004)(426003)(336012)(40480700001)(26005)(36860700001)(40460700003)(8936002)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Sep 2022 08:56:00.7356 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 0fd06c56-7dd1-4361-98e9-08daa2c19923 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d; Ip=[165.204.84.17]; Helo=[SATLEXMB03.amd.com] X-MS-Exchange-CrossTenant-AuthSource: BN8NAM11FT004.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS7PR12MB5766 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean Add configuration file for mini u-boot configuration which runs on a smaller footprint from on chip memory(OCM). This configuration has required CONFIG's enabled to support octal spi flash and uses DCC terminal for console output. Signed-off-by: Ashok Reddy Soma --- configs/xilinx_versal_mini_ospi_defconfig | 71 +++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 configs/xilinx_versal_mini_ospi_defconfig diff --git a/configs/xilinx_versal_mini_ospi_defconfig b/configs/xilinx_versal_mini_ospi_defconfig new file mode 100644 index 0000000000..7212c38083 --- /dev/null +++ b/configs/xilinx_versal_mini_ospi_defconfig @@ -0,0 +1,71 @@ +CONFIG_ARM=y +CONFIG_SYS_CONFIG_NAME="xilinx_versal_mini_qspi" +CONFIG_ARCH_VERSAL=y +CONFIG_SYS_TEXT_BASE=0xFFFC0000 +CONFIG_SYS_MALLOC_LEN=0x2000 +CONFIG_SYS_MALLOC_F_LEN=0x500 +CONFIG_NR_DRAM_BANKS=1 +CONFIG_ENV_SIZE=0x80 +# CONFIG_DM_GPIO is not set +CONFIG_DEFAULT_DEVICE_TREE="versal-mini-ospi-single" +CONFIG_SYS_MEM_RSVD_FOR_MMU=y +CONFIG_COUNTER_FREQUENCY=100000000 +CONFIG_VERSAL_NO_DDR=y +# CONFIG_PSCI_RESET is not set +# CONFIG_EXPERT is not set +CONFIG_SYS_LOAD_ADDR=0x8000000 +# CONFIG_AUTOBOOT is not set +CONFIG_SYS_CONSOLE_INFO_QUIET=y +# CONFIG_DISPLAY_CPUINFO is not set +CONFIG_BOARD_EARLY_INIT_R=y +# CONFIG_BOARD_LATE_INIT is not set +# CONFIG_CMDLINE_EDITING is not set +# CONFIG_AUTO_COMPLETE is not set +# CONFIG_SYS_LONGHELP is not set +CONFIG_SYS_PROMPT="Versal> " +# CONFIG_CMD_BDI is not set +# CONFIG_CMD_CONSOLE is not set +# CONFIG_CMD_BOOTD is not set +# CONFIG_CMD_BOOTM is not set +# CONFIG_CMD_BOOTI is not set +# CONFIG_CMD_ELF is not set +# CONFIG_CMD_FDT is not set +# CONFIG_CMD_GO is not set +# CONFIG_CMD_RUN is not set +# CONFIG_CMD_IMI is not set +# CONFIG_CMD_XIMG is not set +# CONFIG_CMD_EXPORTENV is not set +# CONFIG_CMD_IMPORTENV is not set +# CONFIG_CMD_EDITENV is not set +# CONFIG_CMD_SAVEENV is not set +# CONFIG_CMD_ENV_EXISTS is not set +# CONFIG_CMD_CRC32 is not set +# CONFIG_CMD_LOADB is not set +# CONFIG_CMD_LOADS is not set +# CONFIG_CMD_ECHO is not set +# CONFIG_CMD_ITEST is not set +# CONFIG_CMD_SOURCE is not set +# CONFIG_CMD_SETEXPR is not set +# CONFIG_PARTITIONS is not set +# CONFIG_NET is not set +# CONFIG_DM_WARN is not set +# CONFIG_DM_DEVICE_REMOVE is not set +# CONFIG_MMC is not set +CONFIG_DM_SPI_FLASH=y +CONFIG_SF_DEFAULT_SPEED=30000000 +CONFIG_SPI_FLASH_SOFT_RESET=y +CONFIG_SPI_FLASH_SOFT_RESET_ON_BOOT=y +CONFIG_SPI_FLASH_GIGADEVICE=y +CONFIG_SPI_FLASH_ISSI=y +CONFIG_SPI_FLASH_MACRONIX=y +CONFIG_SPI_FLASH_STMICRO=y +CONFIG_SPI_FLASH_MT35XU=y +CONFIG_ARM_DCC=y +CONFIG_SOC_XILINX_VERSAL=y +CONFIG_SPI=y +CONFIG_DM_SPI=y +CONFIG_CADENCE_QSPI=y +CONFIG_CADENCE_OSPI_VERSAL=y +CONFIG_HAS_CQSPI_REF_CLK=y +CONFIG_CQSPI_REF_CLK=200000000 +# CONFIG_LMB is not set