From patchwork Fri Jul 12 09:33:52 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ye Li X-Patchwork-Id: 1131244 X-Patchwork-Delegate: sbabic@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=nxp.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=nxp.com header.i=@nxp.com header.b="NFSev8bQ"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 45lSRZ4LH9z9s3l for ; Fri, 12 Jul 2019 19:34:02 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 430A6C21D56; Fri, 12 Jul 2019 09:33:58 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=SPF_HELO_PASS, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 6DE51C21C8B; Fri, 12 Jul 2019 09:33:56 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id E17ACC21C6A; Fri, 12 Jul 2019 09:33:54 +0000 (UTC) Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-eopbgr130072.outbound.protection.outlook.com [40.107.13.72]) by lists.denx.de (Postfix) with ESMTPS id 50920C21BE5 for ; Fri, 12 Jul 2019 09:33:54 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=i2eAnkercXo84Tf1VQBzwrHeAOecsZqqO3BQq5zmPkSPxgMXfUn0N4gucY7dWnx+4aaBl4VxT2g6gnj/f2+NjhT6P8jXrBsB5eG2DesujfBBDaGMIBbafiOtlXNWspKVmjHZEpzxmSRccqSd7+hNQozZNf4YMMMRRkLNkk+LOisRiOkD5P5xp9Psxs0YMX1970hF9WPVR/Qbj1uP90cAJv82HWoHUCpqJOenr7CzQbYwxdGT6XheJjfhxX1xekF/PEFMT8y0wuihyhBKt5nIplFEV7zWY+Tt39zLplLlJY7bPmsH/8bXHIaWqz3xck9nDj5feJnYaLJ09LED9McVPA== 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-SenderADCheck; bh=uVtaORJ1Yhk4lxciocZp5o508NQwpNmOe/gQMZ0hlb4=; b=YWKqUbw7Sd+iaE+Slo9V/KdH0mtAUq0Z/znw65scZM6h3jHKqE+4ocIm/cWHT51rRrMTSmp55xpysnI8uDx0MNIBpVAoLGeLTDPAs/PpmLwqywm/FyTsigizRL/XRDfs35pV6eIlqJZFutQ6mX9cI7MJ3wHFbF74LEa9g8BlSH/3fF2Lr/Pbw2wPzAy7hE46RX/WrbcDHL+NsVEt4pixFN8ackREl1oV2sUx1jtoKfIOZsePImY6noQKg6L2wedXUO2RllbociQILImVSUyQAa3mY5ozehwGkNppGTFBgMZsem77X0Wh9tgP5YDG/BxcOnDhetFbGnc4lmegHvaaqA== ARC-Authentication-Results: i=1; mx.microsoft.com 1;spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com;arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=uVtaORJ1Yhk4lxciocZp5o508NQwpNmOe/gQMZ0hlb4=; b=NFSev8bQ4t1kJc30SQDxK5R4eee5+XX5MJ2bmH8YXk/5MJBj5n2kRRQhQRecC7x21pJEb4Kovbhk9ULcesJMjr9pxE96MUCtae4JdU/zqR/xcYSHsegFLrWVLbFVkwqpB6A/21H6yfX5xSB1uWWimzKM4xLMOdhsisevPLBLJGU= Received: from VI1PR04MB4414.eurprd04.prod.outlook.com (20.177.55.153) by VI1PR04MB5581.eurprd04.prod.outlook.com (20.178.123.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2073.11; Fri, 12 Jul 2019 09:33:52 +0000 Received: from VI1PR04MB4414.eurprd04.prod.outlook.com ([fe80::6517:7774:1033:6466]) by VI1PR04MB4414.eurprd04.prod.outlook.com ([fe80::6517:7774:1033:6466%7]) with mapi id 15.20.2052.020; Fri, 12 Jul 2019 09:33:52 +0000 From: Ye Li To: "sbabic@denx.de" Thread-Topic: [PATCH 1/2] imx8: Jump from alias to OCRAM address at SPL init Thread-Index: AQHVOJTqgND3rh+GW0q8ZAFho/0rwQ== Date: Fri, 12 Jul 2019 09:33:52 +0000 Message-ID: <1562924015-109688-1-git-send-email-ye.li@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: git-send-email 2.7.4 x-clientproxiedby: HK2PR02CA0216.apcprd02.prod.outlook.com (2603:1096:201:20::28) To VI1PR04MB4414.eurprd04.prod.outlook.com (2603:10a6:803:6e::25) authentication-results: spf=none (sender IP is ) smtp.mailfrom=ye.li@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [119.31.174.68] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 163c49d3-968a-46eb-dafd-08d706ac0d04 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020); SRVR:VI1PR04MB5581; x-ms-traffictypediagnostic: VI1PR04MB5581: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6108; x-forefront-prvs: 00963989E5 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(366004)(346002)(376002)(39860400002)(136003)(396003)(199004)(189003)(25786009)(5640700003)(6916009)(6436002)(186003)(66446008)(6486002)(4326008)(8936002)(66946007)(66556008)(66476007)(64756008)(6506007)(52116002)(386003)(102836004)(26005)(71200400001)(99286004)(7736002)(6512007)(305945005)(53936002)(8676002)(1730700003)(71190400001)(81156014)(81166006)(5660300002)(2501003)(2616005)(14454004)(476003)(486006)(36756003)(68736007)(44832011)(2906002)(86362001)(50226002)(6116002)(3846002)(54906003)(316002)(478600001)(2351001)(14444005)(66066001)(256004); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR04MB5581; H:VI1PR04MB4414.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: UEk9NylHJ23oloHkx+QHt6Nz1HCAKP4o1QCb6qBsH1FkM35OUZzHV0hUSjj3YL3D9cZBoOOEYmlu2zSRvnywUAaznlDI2GX1dv3H2rMgGjb4TpPVPRalLe7QwtILH6DzgmB6nTzda4y5iIOwW0FR+WNS1vA2IUjKfJufKnYkWnbqeMOnMJ+46iT5R1XCBM4KfRI3jJofXhE9xNZDtL5F7usZgWNLjTJ1jIePGzS6GrN3JG50TjDDFfASdcGGuJQgkw/fO7WXuEha+n7YSTyCWYbfbDTZn+VcJGru3dA9FXt10zU8SjHK0+pysJaHwhGw1kqf59vmVhmoV+iIWCskjR5jHt12q8q2vMzu2mmm1qvkTq5BHXoqrjRLLHDaAt1Ut79JNSWpZoNlekCehE7A6SnklTF+L7f/ydmxv5d+pdE= MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 163c49d3-968a-46eb-dafd-08d706ac0d04 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Jul 2019 09:33:52.3445 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: ye.li@nxp.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB5581 Cc: "u-boot@lists.denx.de" , dl-uboot-imx Subject: [U-Boot] [PATCH 1/2] imx8: Jump from alias to OCRAM address at SPL init X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 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" When running SPL on iMX8, the A core starts at address 0 which is a alias to OCRAM 0x100000. The alias only map first 96KB of OCRAM, so this require the SPL size can't beyond 96KB. But when using SPL DM, the size increase significantly and may exceed 96KB. So to fix the problem, we will change SPL linker address to OCRAM address 0x100000. And then jump to the absolute address not the PC relative address for entering OCRAM. Signed-off-by: Ye Li Reviewed-by: Oleksandr Suvorov --- arch/arm/Kconfig | 1 + arch/arm/include/asm/arch-imx8/boot0.h | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 arch/arm/include/asm/arch-imx8/boot0.h diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 01ff57c..6ea21b7 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -755,6 +755,7 @@ config ARCH_IMX8 select ARM64 select DM select OF_CONTROL + select ENABLE_ARM_SOC_BOOT0_HOOK config ARCH_IMX8M bool "NXP i.MX8M platform" diff --git a/arch/arm/include/asm/arch-imx8/boot0.h b/arch/arm/include/asm/arch-imx8/boot0.h new file mode 100644 index 0000000..5ce781a --- /dev/null +++ b/arch/arm/include/asm/arch-imx8/boot0.h @@ -0,0 +1,21 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * Copyright 2019 NXP + */ + +#if defined(CONFIG_SPL_BUILD) + /* + * We use absolute address not PC relative address to jump. + * When running SPL on iMX8, the A core starts at address 0, a alias to OCRAM 0x100000, + * our linker address for SPL is from 0x100000. So using absolute address can jump to + * the OCRAM address from the alias. + * The alias only map first 96KB of OCRAM, so this require the SPL size can't beyond 96KB. + * But when using SPL DM, the size increase significantly and may exceed 96KB. + * That's why we have to jump to OCRAM. + */ + + ldr x0, =reset + br x0 +#else + b reset +#endif From patchwork Fri Jul 12 09:33:55 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ye Li X-Patchwork-Id: 1131245 X-Patchwork-Delegate: sbabic@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=nxp.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=nxp.com header.i=@nxp.com header.b="UesnVtJ/"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 45lSSD3wHZz9s3l for ; Fri, 12 Jul 2019 19:34:36 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 3501EC21D65; Fri, 12 Jul 2019 09:34:11 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=SPF_HELO_PASS, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 03348C21D4A; Fri, 12 Jul 2019 09:34:03 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 99B59C21DD9; Fri, 12 Jul 2019 09:34:00 +0000 (UTC) Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-eopbgr10068.outbound.protection.outlook.com [40.107.1.68]) by lists.denx.de (Postfix) with ESMTPS id BB77DC21D4A for ; Fri, 12 Jul 2019 09:33:56 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bbVZQhGWyHNdm1SIUU3au4wt+i4nAF1+PTd0T1zJqfC/Y+eUXpl22szUqspZ5ozzFCo2eqN6odrwxJL6GaU5ztNGHKLa3h1JFZQlvrp/meaNgv/X2F1uL+s/xjS24r+O4gr4QtzIqz57WjjhKh+cT2oXgZy4SZdmFTGunquHFThydCymi0pkbz8AB6gWs4BVOBpiI2abhYm/4pXiI6aWhruNPNcH3jOSR6MwwiQGAp8QsU/EECVcWUrOKkShFif6XtbeMnk7Rq613Xd7C+fQ24maat8dOhIMPtqNXFAT/4B/i/0vzzfeOwJBlR3Ei3d5HIxnf2KPl/aOFWfLQ+7L0g== 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-SenderADCheck; bh=HWo40SzqR0GA5mNqITLFn8xrjntyd2V2gBGnF0ZECCs=; b=Zah21+I2a6HQ4m7McBiRnSWqke9MKpxiCKWPu43QBYF8rv5K1E5J/NN4t43Xr9gp/tismjyzYIllPFfapKSZX2d9BZOOhOiXwimHzDoUNr2GpH/G0cMtwul5tuwaFrzOuTYWQpua9oLGshiZwq+j/qRSucTnMW5dKLYrkE10ycpsqLDswEzbNT41OwZrd8y7gnXeSnJcWNg10hmYN7aQd8y7Lp4GsfDtt0IsvzzVS089kEPX/9XeZ24YiF70wr5eVZ0s7wIN9wvrwlv/Ff3QcFU7+Y+ieEOwjaqAB93v9gQFMnLhD7IwwU96Pn17bBmfnfbmhdQSXGL8yvqmSdF8oQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1;spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com;arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=HWo40SzqR0GA5mNqITLFn8xrjntyd2V2gBGnF0ZECCs=; b=UesnVtJ/QC3MpTMcXgafObp3PAUn5lxmgBek4qFsRK/f2w6i+s47aGiUs6wi3dalehZDDappc8v7oJ7lWoROeZ/KA5+xZB6TmIiY3Iz/Sspezxrb3jaPTqojI9TlkNi0O3jeWP0/MjNbuyqFpJJ2VQgH5kSfzea3ezlbuMtigHo= Received: from VI1PR04MB4414.eurprd04.prod.outlook.com (20.177.55.153) by VI1PR04MB5581.eurprd04.prod.outlook.com (20.178.123.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2073.11; Fri, 12 Jul 2019 09:33:55 +0000 Received: from VI1PR04MB4414.eurprd04.prod.outlook.com ([fe80::6517:7774:1033:6466]) by VI1PR04MB4414.eurprd04.prod.outlook.com ([fe80::6517:7774:1033:6466%7]) with mapi id 15.20.2052.020; Fri, 12 Jul 2019 09:33:55 +0000 From: Ye Li To: "sbabic@denx.de" Thread-Topic: [PATCH 2/2] imx8qm/qxp: Set SPL TEXT base to OCRAM base Thread-Index: AQHVOJTsQ/CiSY4MOEi+f6xMJGTSSA== Date: Fri, 12 Jul 2019 09:33:55 +0000 Message-ID: <1562924015-109688-2-git-send-email-ye.li@nxp.com> References: <1562924015-109688-1-git-send-email-ye.li@nxp.com> In-Reply-To: <1562924015-109688-1-git-send-email-ye.li@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: git-send-email 2.7.4 x-clientproxiedby: HK2PR02CA0216.apcprd02.prod.outlook.com (2603:1096:201:20::28) To VI1PR04MB4414.eurprd04.prod.outlook.com (2603:10a6:803:6e::25) authentication-results: spf=none (sender IP is ) smtp.mailfrom=ye.li@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [119.31.174.68] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: ef70b124-cf79-4978-a946-08d706ac0ece x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020); SRVR:VI1PR04MB5581; x-ms-traffictypediagnostic: VI1PR04MB5581: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:241; x-forefront-prvs: 00963989E5 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(366004)(346002)(376002)(39860400002)(136003)(396003)(199004)(189003)(25786009)(5640700003)(6916009)(6436002)(186003)(66446008)(6486002)(4326008)(8936002)(66946007)(66556008)(66476007)(64756008)(6506007)(52116002)(386003)(76176011)(102836004)(26005)(71200400001)(99286004)(7736002)(6512007)(305945005)(53936002)(8676002)(1730700003)(71190400001)(81156014)(81166006)(5660300002)(2501003)(446003)(2616005)(11346002)(14454004)(476003)(486006)(36756003)(68736007)(44832011)(2906002)(86362001)(50226002)(6116002)(3846002)(54906003)(316002)(478600001)(2351001)(14444005)(66066001)(256004)(32563001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR04MB5581; H:VI1PR04MB4414.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: zzoH4/YARnVFS3HYLrSbI/Zvq0YufzoCflzCZ+kHsaZkXiXghbwUPweBHvkFEeQxtABoXQ2ocdFwulWHxQHLDJkWdw2eP5BkX869qQ2Q/MKLM4ehMmUmmAZSMu2Yrji98lRckDGFYrR2aAgatttORbcXCRI01IV6OAvhWYhcZm2N/z1v1KGwh8VQ/Ojxkbrxfeq8TnMUzXdiVlDIbn5USuwmfryubuNvT1mVCuEPG/SbSLuW3Iz2fG/9ilbUO0g99BvByIqo7K8VMdOLqbRlDt0oVNuOka0K1IAlXBgHbq+OyU/pnEiqmqKxYbF47Y0axh/lTs0PWp6ar2FaaYbXiYdUSyILiAFV77POBhpo29MFqDwh/4Gjfe+8k/hEjo0EZ2eFYjW2SyW3au2kTISN7HBzLHyJh/LtB0dyiuvK3bE= MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: ef70b124-cf79-4978-a946-08d706ac0ece X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Jul 2019 09:33:55.5307 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: ye.li@nxp.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB5581 Cc: "u-boot@lists.denx.de" , dl-uboot-imx Subject: [U-Boot] [PATCH 2/2] imx8qm/qxp: Set SPL TEXT base to OCRAM base X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 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" Modify the SPL TEXT base from OCRAM alias to OCRAM base 0x100000, so we can use full OCRAM not limit to 96KB Signed-off-by: Ye Li Reviewed-by: Oleksandr Suvorov --- configs/imx8qm_mek_defconfig | 1 + configs/imx8qxp_mek_defconfig | 1 + include/configs/imx8qm_mek.h | 1 - 3 files changed, 2 insertions(+), 1 deletion(-) diff --git a/configs/imx8qm_mek_defconfig b/configs/imx8qm_mek_defconfig index a4d2619..544a5d9 100644 --- a/configs/imx8qm_mek_defconfig +++ b/configs/imx8qm_mek_defconfig @@ -3,6 +3,7 @@ CONFIG_SPL_SYS_ICACHE_OFF=y CONFIG_SPL_SYS_DCACHE_OFF=y CONFIG_ARCH_IMX8=y CONFIG_SYS_TEXT_BASE=0x80020000 +CONFIG_SPL_TEXT_BASE=0x100000 CONFIG_SPL_GPIO_SUPPORT=y CONFIG_SPL_LIBCOMMON_SUPPORT=y CONFIG_SPL_LIBGENERIC_SUPPORT=y diff --git a/configs/imx8qxp_mek_defconfig b/configs/imx8qxp_mek_defconfig index 92927e3..73d6d13 100644 --- a/configs/imx8qxp_mek_defconfig +++ b/configs/imx8qxp_mek_defconfig @@ -3,6 +3,7 @@ CONFIG_SPL_SYS_ICACHE_OFF=y CONFIG_SPL_SYS_DCACHE_OFF=y CONFIG_ARCH_IMX8=y CONFIG_SYS_TEXT_BASE=0x80020000 +CONFIG_SPL_TEXT_BASE=0x100000 CONFIG_SPL_GPIO_SUPPORT=y CONFIG_SPL_LIBCOMMON_SUPPORT=y CONFIG_SPL_LIBGENERIC_SUPPORT=y diff --git a/include/configs/imx8qm_mek.h b/include/configs/imx8qm_mek.h index d06ed61..148a4ff 100644 --- a/include/configs/imx8qm_mek.h +++ b/include/configs/imx8qm_mek.h @@ -10,7 +10,6 @@ #include #ifdef CONFIG_SPL_BUILD -#define CONFIG_SPL_TEXT_BASE 0x0 #define CONFIG_SPL_MAX_SIZE (124 * 1024) #define CONFIG_SYS_MONITOR_LEN (1024 * 1024) #define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR