Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7C165C433FE for ; Mon, 17 Oct 2022 08:03:55 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0068F84F48; Mon, 17 Oct 2022 10:03:52 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=oss.nxp.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=NXP1.onmicrosoft.com header.i=@NXP1.onmicrosoft.com header.b="QcrITY9w"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 7259F84F5C; Mon, 17 Oct 2022 10:03:51 +0200 (CEST) Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70057.outbound.protection.outlook.com [40.107.7.57]) (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 2732A84F39 for ; Mon, 17 Oct 2022 10:03:48 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=oss.nxp.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=peng.fan@oss.nxp.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=W2YlUaY4BvUcRV/I7crA8102SlV5qXC2VpHEFdqPHecj7UAFBKvLR2DSgdBvE6aKbsWEJ1iMTrD66bA8ifYdG6XiXWoYCzk8gZ7K7TbZjV8cO5+XwZ0CA52ov2AlzOPUTssWocAZ5cwrEyxyT9AUTafHhDrUpUJTHgOxNwfgJGE3w35IQZ5sg0oz5Zg+ttCSvbiBc77M0tmcYY/Msr5BnM9lp77388MDwNM8qaQwCq9mPJRB6+KTGF4yINZEi6V0x8jFcPqlBEgG6ips9P/XT1YQVkfJZavPP5RjvpE+ZdUn10CZjA9jn19ELZ0iHvnvDruYhA7E105ewA7Iu97ywQ== 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=lDVTSzTadlKSkXHjEF2hNtLQ63NYeYYPqI2e9/q8KIA=; b=IlucFO+Thh7ur6MezXZ7Z6Mqrk4wDpeIAwAtn+lI6OHLLRl5SvF1XIzi/R1havM9noWKq1VZMqYfpigvKGgG+AurKGRFVKEVtmant/crut0j1kmv6Ob1dfTCfHYu9OnYgxMBaqEZuIvfznLAxI3u389sL3145Ib2MPWhAj2GdCT9et4pJbIpWu6X53lxALOBihN3+DsVUb7B82ZMGrzGiud4/eGzQIU0cON61uH2hahprfbhk7Xf14y95blTtlU88s48RYSxTh4Oh9Op1lqUVCnyX+lsMk2PVn/50FHYwllpRsWt4KCQ+sy7Ix8AJL9hu5wcaM9FURlZR247lMt0sQ== 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=lDVTSzTadlKSkXHjEF2hNtLQ63NYeYYPqI2e9/q8KIA=; b=QcrITY9wW2aqA3XWbv5ZW3F/A/Sv7m+OlQP5trB51aXwlm4TUu+8lKvDv8IlVaR2AYvsBewkPtQdsjRZzZ0HvcWmoriz2TR577LuFbqXiX/2hhSNd9YzydI/C/k2cSWf7W+mrM/kA2kaIj3B6Z9c0SHJZVHUhY1QGImZs/i0i1Q= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) by PAXPR04MB9139.eurprd04.prod.outlook.com (2603:10a6:102:22e::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5723.26; Mon, 17 Oct 2022 08:03:44 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::a5ff:3d28:4bbc:e1ed]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::a5ff:3d28:4bbc:e1ed%6]) with mapi id 15.20.5723.032; Mon, 17 Oct 2022 08:03:44 +0000 Message-ID: <5bf0bf11-179c-e946-e492-423a77002f8b@oss.nxp.com> Date: Mon, 17 Oct 2022 16:03:31 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.0 Subject: Re: [PATCH 0/3] arm64: layerscape: Various small size reductions for SPL Content-Language: en-US To: Sean Anderson , Priyanka Jain , u-boot@lists.denx.de Cc: Ran Wang , Rajesh Bhagat , Pramod Kumar , Mingkai Hu , Tom Rini References: <20221011215106.4133222-1-sean.anderson@seco.com> From: Peng Fan In-Reply-To: <20221011215106.4133222-1-sean.anderson@seco.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: SG2PR01CA0198.apcprd01.prod.exchangelabs.com (2603:1096:4:189::7) To DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR04MB9417:EE_|PAXPR04MB9139:EE_ X-MS-Office365-Filtering-Correlation-Id: 7ccac74e-8b0e-4ef3-a87f-08dab0161c3d X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-LD-Processed: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 0MVr0W08LbBnlNApM7hPLH/z2hnvyUBt2M4sulMxZ2aYXmn+fVTgAHnrxYeC5ePZ1H2EpssFVQYB5/18+DT9CTGXlAPzuEGEXDfGbCsrZKenk9k2RMnvoZoWeP/bbpwlV4vdIcSGIcFGMqaIyYOnNvSl9AGN1kHhVvDMlszT8l7l7vdveTu/rHaOWid+ult4+2CefX4vTFX31ZFE2q6pGRbuNngAo8IG20G+z/C+e6YQ6eQQX4EKHwhFbGiyNbkk6Rv/xi35xGEepdd3BxFKLQ5FwkdMkqrs+8eCjNSz10SCQRVUCAc9TbNAGBRxh/StuWq3itg/Kxu3FtIFIiMrM+XViE9Wg+SGpwXAcHldTwmxAQegEpK1tz5rIvc0FVfk1PFR+MNh8VXGO627XGxQp4iO+9L7uxPhBI8vxsl+qHQID5bO1PG7JjuHLm89nNs66AgfhVfJYrVIeS+PfumseHLNewqkuSovNWwPFThlW7dHt2WPB38gAG1TPmWcoDOl+sBTRPHuH3krj4yWdYstIUi4kihAfJuDOqN8fRIapHfXWlbdyMAADDcBMGPSeekJeCpsqXCT3+JJ87OgYTNOqTqpXi+ZDB6MNuVHIAakbquUydln0LEznmBGxaeGvqSBKuPDL4yf6e3IPPK1ptj4pLjxpbqv8uyNUC1uFQqUH190TEQ/ZAxcdjLAl3vwrbOSjy8ns2obWaikRsBrP47iF9L/1v/vXlMR8wjxAIhdrZAFOz1FC1Ot2b2+uMSwTfZfHS1Yq0itLiw4enTR8q/s76PpIunIHy9+G/8Fc0Z+r8VhYrN4WtHZrpksX/cNJfBQNqYb858zV7Le9Fwt3cDxIQ== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DU0PR04MB9417.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(4636009)(39860400002)(366004)(136003)(396003)(376002)(346002)(451199015)(54906003)(6486002)(2616005)(186003)(83380400001)(31696002)(86362001)(38350700002)(38100700002)(30864003)(5660300002)(2906002)(44832011)(41300700001)(4326008)(6666004)(8676002)(478600001)(6512007)(53546011)(6506007)(52116002)(316002)(66476007)(66556008)(66946007)(110136005)(26005)(8936002)(31686004)(43740500002)(45980500001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?bUlhMkMwdFVIcmpxWjh5bVUwcm1Gd1kySEQwWHdnVmU3NDhEcUVCS3Q3bU1n?= =?utf-8?B?d0RveWZOMUt6dkIvdHhUR0pMTldqTDdTUUhjM2dLUWRRNW1SNDhRMnM5MEg1?= =?utf-8?B?R09aZnptSzBtbnRDZVpVOWxsVmN3TVpQYjlneHRwM21zczhqN2pFK2JzQzVq?= =?utf-8?B?MHM1K0g3Rnd1TnNyRHdBWE5kYjB6Z2Vza1NGVncrNjJlSXZCaVNXWTFQa3Bn?= =?utf-8?B?YkpOenhvRmdnWC9IVUQ4ZW9WWGxsYjY5ck9NVERYSHlFcklXWFU3VXRNbmln?= =?utf-8?B?KzF1S2s2QVNPWksrZXZ1UEVWNG9hWUVFUU85WnkwdEVFaUZiYUxzWnEyU2Qx?= =?utf-8?B?ci9lelA4U0svOVJyZHEzeE43czJaRnAyUnYzdUpOcDNPdk9BdERpakgrMlhI?= =?utf-8?B?UllTK2V2SDFyeGs4am4yZUM5RnRJcjdYeWNVeUxqRFRZdmE5dnRzamRZM1Nz?= =?utf-8?B?cHR2RWV0bFJ3eVRBcDhCR3k4b1JqQ0lUcVNUMVR5UVpLTjdJc3Z3a21GaGQw?= =?utf-8?B?YnhVaUtRRXZ2eS9OZW1sa1N6VXd2NjQ0dkdYcWFBTDBaU3VNMWdkem85b1By?= =?utf-8?B?dGZUeEdGdzIrc04xaWxJbGtIYkNCMnRPaVZyT1l6S2h4S0J4WXpNNHBYejM2?= =?utf-8?B?U3ZiMHc5S3ZkV09qVmM3SU9sUlprZ3NGNmZkT2QxQWkyckUxWjFuU254QThD?= =?utf-8?B?ZEdYakd3Z0s0d21UaDgrUWRnZENRa1VISzF0QlZERHd0SWVIU3RKUlQxSGht?= =?utf-8?B?ZFQvS2xiZElCU01CLzh0UGQyL3NnK0sxRFVxb1d3SU55Qk0wdUZ4NXVRNE9B?= =?utf-8?B?amRHWm5rdlBvNHo1Q0Zsa2d1NS9HbjN5bGJzdkZFN2JxQWp6UkRoT0RFaGtS?= =?utf-8?B?SXJ4UDRhbWsySldCclc5SmtyMzVudzIyYzNPN0ZBN3ZGY3RkNlhJWmRBakdI?= =?utf-8?B?M1F4b3ZQVDMzTzhOcXgzOEhEL053NFppcUJlNERXNG1TZnZXa01lR2ZUV0tU?= =?utf-8?B?cVh3ZTRHVXRPaDZieUVOa0ZlRzd1Q3lJNzJZQ2JLaDNTQU1qaEVkWWdpcDhE?= =?utf-8?B?a2RpdDhsUWZjcUd4Y1RqdW1yanhjVldMcXQvc2l0YXRUUGRDTTBsMUVFNkZE?= =?utf-8?B?MlE3QlBBbUw2ZUVPcHZqWjJ6T2lSUHJKNkJZZ2RTZTVramJOSURyTDRNS0E4?= =?utf-8?B?REZ5ZFZIa2RxU2pOZVpHLzc0VlkwSWUwM1MwT0pPUzFxQW9OdlBmS09Xb3l3?= =?utf-8?B?TTQydG40QkZTdThObDlxTEZNcHl4UXFCaFhOWHBoTTlRZG5wM2pTUVdjQ1J1?= =?utf-8?B?MThSWlJobHIzeEIwdTBNZnRudE9iNzVyZFdkUmZBRUYvWVNhQzczbHFUK0Zq?= =?utf-8?B?Yjh4eGxmRkZqbVdVSm1IRkh1NjFKajNsS09HU0dSMGdyZHllZ2pxMDI4WG8z?= =?utf-8?B?akxYYmtWRjhlWDl6ZDlvSWZldGwrNE5QMU5MUWRqTUIxcDgvT0NlQzhCWXU0?= =?utf-8?B?czZTQ2wrU1hxaHJGa3FXemJpTWxneElITUNhOTNqZlZOMzBFaUpYZmV0MmxB?= =?utf-8?B?cUxJdXJzMElXTWhRWDhYZUZ3WGNxQXZia2xQTzM0V3YrV202ZUFra1VkR1FX?= =?utf-8?B?NXRkdU5rMkJzcmdteTd1SjJ2RUt1ZUtEeWRMSDhsQ2VwZU5RNmdMcGs1Z1Fo?= =?utf-8?B?a1lGUXZYMVpRTnduTjNnQTRzeThTWmREdVZwQlNUdXF4VGdDazl6Z3RUQTAr?= =?utf-8?B?eDRlWEtDdnI5SjBHN1dXRHpLYWNjVlZLZU0xOG02NTIySm8yWTZTK0RJUWt2?= =?utf-8?B?TTFlOHdRYUhvTlFHN3NsRTE1VWZFS3U3ZGlPVDd5ZnZhREhZWjdkT2REVitX?= =?utf-8?B?WG5hRVZSNGdSVDVGblJQdE9TdE9hMkV6VHVwMFhHWVN2MXowMlh0UVJuQTVt?= =?utf-8?B?cUtCT1o2R3g0UmI5RnpZNml0MHpiVXlMV0V4a0JURkRrUHp5WEFidEFQSlBh?= =?utf-8?B?b2ppbk5hSkhXSmE2S1ZUcFdsak5MTkdmdXRZeXpKL0dNMzVzVlVza3B6NG5v?= =?utf-8?B?RjUyT1hLalBZVTdtVUkwVmRBS1NYVm5IVkYxK3ZXR0IyanFKYjRGOHZEMEVF?= =?utf-8?Q?oshnHsncP7l1OABasJIPsWxO5?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7ccac74e-8b0e-4ef3-a87f-08dab0161c3d X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Oct 2022 08:03:44.5929 (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: IOr96//bmEBZfilE4q69/LPT3Kw/1RAhJxrjWp9c7WY2xR7CGzt05+rskAGHcINYlV8K4pPv3xBlKR9FXGjxfg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB9139 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 Hi Sean, I have applied your patchset, but met CI failure, could you please send me a fix? ./tools/buildman/buildman ls1043aqds_qspi Building current source for 1 boards (1 thread, 4 jobs per thread) aarch64: + ls1043aqds_qspi +===================== WARNING ====================== +This board does not use CONFIG_DM_SERIAL (Driver Model +for Serial drivers). Please update the board to use +CONFIG_DM_SERIAL before the v2023.04 release. Failure to +update by the deadline may result in board removal. +See doc/develop/driver-model/migration.rst for more info. +==================================================== +In file included from include/fsl_ifc.h:794, + from drivers/misc/fsl_ifc.c:8: +drivers/misc/fsl_ifc.c: In function 'init_early_memctl_regs': +include/configs/ls1043aqds.h:247:31: error: 'CONFIG_SYS_NOR_FTIM0' undeclared (first use in this function); did you mean 'CONFIG_SYS_CS2_FTIM0'? + 247 | #define CONFIG_SYS_CS0_FTIM0 CONFIG_SYS_NOR_FTIM0 + | ^~~~~~~~~~~~~~~~~~~~ +arch/arm/include/asm/io.h:31:61: note: in definition of macro '__arch_putl' + 31 | #define __arch_putl(v,a) (*(volatile unsigned int *)(a) = (v)) + | ^ +arch/arm/include/asm/io.h:153:35: note: in expansion of macro '__raw_writel' + 153 | #define out_arch(type,endian,a,v) __raw_write##type(cpu_to_##endian(v),a) + | ^~~~~~~~~~~ +include/linux/byteorder/little_endian.h:40:43: note: in expansion of macro '__swab32' + 40 | #define __cpu_to_be32(x) ((__force __be32)__swab32((x))) + | ^~~~~~~~ +include/linux/byteorder/generic.h:94:21: note: in expansion of macro '__cpu_to_be32' + 94 | #define cpu_to_be32 __cpu_to_be32 + | ^~~~~~~~~~~~~ +arch/arm/include/asm/io.h:165:23: note: in expansion of macro 'out_arch' + 165 | #define out_be32(a,v) out_arch(l,be32,a,v) + | ^~~~~~~~ +include/fsl_ifc.h:28:27: note: in expansion of macro 'out_be32' + 28 | #define ifc_out32(a, v) out_be32(a, v) + | ^~~~~~~~ +include/fsl_ifc.h:829:4: note: in expansion of macro 'ifc_out32' + 829 | (ifc_out32(&(IFC_FCM_BASE_ADDR)->ftim_cs[i].ftim[j], v)) + | ^~~~~~~~~ +drivers/misc/fsl_ifc.c:416:2: note: in expansion of macro 'set_ifc_ftim' + 416 | set_ifc_ftim(IFC_CS0, IFC_FTIM0, CONFIG_SYS_CS0_FTIM0); + | ^~~~~~~~~~~~ +drivers/misc/fsl_ifc.c:416:35: note: in expansion of macro 'CONFIG_SYS_CS0_FTIM0' + | ^~~~~~~~~~~~~~~~~~~~ +include/configs/ls1043aqds.h:247:31: note: each undeclared identifier is reported only once for each function it appears in +include/configs/ls1043aqds.h:248:31: error: 'CONFIG_SYS_NOR_FTIM1' undeclared (first use in this function); did you mean 'CONFIG_SYS_CS1_FTIM1'? + 248 | #define CONFIG_SYS_CS0_FTIM1 CONFIG_SYS_NOR_FTIM1 +drivers/misc/fsl_ifc.c:417:2: note: in expansion of macro 'set_ifc_ftim' + 417 | set_ifc_ftim(IFC_CS0, IFC_FTIM1, CONFIG_SYS_CS0_FTIM1); +drivers/misc/fsl_ifc.c:417:35: note: in expansion of macro 'CONFIG_SYS_CS0_FTIM1' +include/configs/ls1043aqds.h:249:31: error: 'CONFIG_SYS_NOR_FTIM2' undeclared (first use in this function); did you mean 'CONFIG_SYS_CS0_FTIM2'? + 249 | #define CONFIG_SYS_CS0_FTIM2 CONFIG_SYS_NOR_FTIM2 +drivers/misc/fsl_ifc.c:418:2: note: in expansion of macro 'set_ifc_ftim' + 418 | set_ifc_ftim(IFC_CS0, IFC_FTIM2, CONFIG_SYS_CS0_FTIM2); +drivers/misc/fsl_ifc.c:418:35: note: in expansion of macro 'CONFIG_SYS_CS0_FTIM2' +include/configs/ls1043aqds.h:250:31: error: 'CONFIG_SYS_NOR_FTIM3' undeclared (first use in this function); did you mean 'CONFIG_SYS_CS0_FTIM3'? + 250 | #define CONFIG_SYS_CS0_FTIM3 CONFIG_SYS_NOR_FTIM3 +drivers/misc/fsl_ifc.c:419:2: note: in expansion of macro 'set_ifc_ftim' + 419 | set_ifc_ftim(IFC_CS0, IFC_FTIM3, CONFIG_SYS_CS0_FTIM3); +drivers/misc/fsl_ifc.c:419:35: note: in expansion of macro 'CONFIG_SYS_CS0_FTIM3' +include/configs/ls1043aqds.h:243:31: error: 'CONFIG_SYS_NOR0_CSPR_EXT' undeclared (first use in this function); did you mean 'CONFIG_SYS_FPGA_CSPR_EXT'? + 243 | #define CONFIG_SYS_CSPR0_EXT CONFIG_SYS_NOR0_CSPR_EXT + | ^~~~~~~~~~~~~~~~~~~~~~~~ +include/fsl_ifc.h:819:4: note: in expansion of macro 'ifc_out32' + 819 | (ifc_out32(&(IFC_FCM_BASE_ADDR)->cspr_cs[i].cspr_ext, v)) +drivers/misc/fsl_ifc.c:423:2: note: in expansion of macro 'set_ifc_cspr_ext' + 423 | set_ifc_cspr_ext(IFC_CS0, CONFIG_SYS_CSPR0_EXT); + | ^~~~~~~~~~~~~~~~ +drivers/misc/fsl_ifc.c:423:28: note: in expansion of macro 'CONFIG_SYS_CSPR0_EXT' + | ^~~~~~~~~~~~~~~~~~~~ +include/configs/ls1043aqds.h:244:27: error: 'CONFIG_SYS_NOR0_CSPR' undeclared (first use in this function); did you mean 'CONFIG_SYS_FPGA_CSPR'? + 244 | #define CONFIG_SYS_CSPR0 CONFIG_SYS_NOR0_CSPR + | ^~~~~~~~~~~~~~~~~~~~ +include/fsl_ifc.h:821:4: note: in expansion of macro 'ifc_out32' + 821 | (ifc_out32(&(IFC_FCM_BASE_ADDR)->cspr_cs[i].cspr, v)) +drivers/misc/fsl_ifc.c:428:2: note: in expansion of macro 'set_ifc_cspr' + 428 | set_ifc_cspr(IFC_CS0, CONFIG_SYS_CSPR0); +drivers/misc/fsl_ifc.c:428:24: note: in expansion of macro 'CONFIG_SYS_CSPR0' + | ^~~~~~~~~~~~~~~~ +include/configs/ls1043aqds.h:245:28: error: 'CONFIG_SYS_NOR_AMASK' undeclared (first use in this function); did you mean 'CONFIG_SYS_FPGA_AMASK'? + 245 | #define CONFIG_SYS_AMASK0 CONFIG_SYS_NOR_AMASK +include/fsl_ifc.h:827:4: note: in expansion of macro 'ifc_out32' + 827 | (ifc_out32(&(IFC_FCM_BASE_ADDR)->amask_cs[i].amask, v)) +drivers/misc/fsl_ifc.c:429:2: note: in expansion of macro 'set_ifc_amask' + 429 | set_ifc_amask(IFC_CS0, CONFIG_SYS_AMASK0); + | ^~~~~~~~~~~~~ +drivers/misc/fsl_ifc.c:429:25: note: in expansion of macro 'CONFIG_SYS_AMASK0' + | ^~~~~~~~~~~~~~~~~ +include/configs/ls1043aqds.h:246:27: error: 'CONFIG_SYS_NOR_CSOR' undeclared (first use in this function); did you mean 'CONFIG_SYS_FPGA_CSOR'? + 246 | #define CONFIG_SYS_CSOR0 CONFIG_SYS_NOR_CSOR + | ^~~~~~~~~~~~~~~~~~~ +include/fsl_ifc.h:825:4: note: in expansion of macro 'ifc_out32' + 825 | (ifc_out32(&(IFC_FCM_BASE_ADDR)->csor_cs[i].csor, v)) +drivers/misc/fsl_ifc.c:430:2: note: in expansion of macro 'set_ifc_csor' + 430 | set_ifc_csor(IFC_CS0, CONFIG_SYS_CSOR0); +drivers/misc/fsl_ifc.c:430:24: note: in expansion of macro 'CONFIG_SYS_CSOR0' +include/configs/ls1043aqds.h:251:31: error: 'CONFIG_SYS_NOR1_CSPR_EXT' undeclared (first use in this function); did you mean 'CONFIG_SYS_FPGA_CSPR_EXT'? + 251 | #define CONFIG_SYS_CSPR1_EXT CONFIG_SYS_NOR1_CSPR_EXT +drivers/misc/fsl_ifc.c:435:2: note: in expansion of macro 'set_ifc_cspr_ext' + 435 | set_ifc_cspr_ext(IFC_CS1, CONFIG_SYS_CSPR1_EXT); +drivers/misc/fsl_ifc.c:435:28: note: in expansion of macro 'CONFIG_SYS_CSPR1_EXT' +include/configs/ls1043aqds.h:252:27: error: 'CONFIG_SYS_NOR1_CSPR' undeclared (first use in this function); did you mean 'CONFIG_SYS_FPGA_CSPR'? + 252 | #define CONFIG_SYS_CSPR1 CONFIG_SYS_NOR1_CSPR +drivers/misc/fsl_ifc.c:448:2: note: in expansion of macro 'set_ifc_cspr' + 448 | set_ifc_cspr(IFC_CS1, CONFIG_SYS_CSPR1); +drivers/misc/fsl_ifc.c:448:24: note: in expansion of macro 'CONFIG_SYS_CSPR1' +include/configs/ls1043aqds.h:259:31: error: 'CONFIG_SYS_NAND_CSPR_EXT' undeclared (first use in this function); did you mean 'CONFIG_SYS_FPGA_CSPR_EXT'? + 259 | #define CONFIG_SYS_CSPR2_EXT CONFIG_SYS_NAND_CSPR_EXT +drivers/misc/fsl_ifc.c:452:2: note: in expansion of macro 'set_ifc_cspr_ext' + 452 | set_ifc_cspr_ext(IFC_CS2, CONFIG_SYS_CSPR2_EXT); +drivers/misc/fsl_ifc.c:452:28: note: in expansion of macro 'CONFIG_SYS_CSPR2_EXT' +include/configs/ls1043aqds.h:263:31: error: 'CONFIG_SYS_NAND_FTIM0' undeclared (first use in this function); did you mean 'CONFIG_SYS_CS2_FTIM0'? + 263 | #define CONFIG_SYS_CS2_FTIM0 CONFIG_SYS_NAND_FTIM0 + | ^~~~~~~~~~~~~~~~~~~~~ +drivers/misc/fsl_ifc.c:458:2: note: in expansion of macro 'set_ifc_ftim' + 458 | set_ifc_ftim(IFC_CS2, IFC_FTIM0, CONFIG_SYS_CS2_FTIM0); +drivers/misc/fsl_ifc.c:458:35: note: in expansion of macro 'CONFIG_SYS_CS2_FTIM0' +include/configs/ls1043aqds.h:264:31: error: 'CONFIG_SYS_NAND_FTIM1' undeclared (first use in this function); did you mean 'CONFIG_SYS_CS1_FTIM1'? + 264 | #define CONFIG_SYS_CS2_FTIM1 CONFIG_SYS_NAND_FTIM1 +drivers/misc/fsl_ifc.c:459:2: note: in expansion of macro 'set_ifc_ftim' + 459 | set_ifc_ftim(IFC_CS2, IFC_FTIM1, CONFIG_SYS_CS2_FTIM1); +drivers/misc/fsl_ifc.c:459:35: note: in expansion of macro 'CONFIG_SYS_CS2_FTIM1' +include/configs/ls1043aqds.h:265:31: error: 'CONFIG_SYS_NAND_FTIM2' undeclared (first use in this function); did you mean 'CONFIG_SYS_CS0_FTIM2'? + 265 | #define CONFIG_SYS_CS2_FTIM2 CONFIG_SYS_NAND_FTIM2 +drivers/misc/fsl_ifc.c:460:2: note: in expansion of macro 'set_ifc_ftim' + 460 | set_ifc_ftim(IFC_CS2, IFC_FTIM2, CONFIG_SYS_CS2_FTIM2); +drivers/misc/fsl_ifc.c:460:35: note: in expansion of macro 'CONFIG_SYS_CS2_FTIM2' +include/configs/ls1043aqds.h:266:31: error: 'CONFIG_SYS_NAND_FTIM3' undeclared (first use in this function); did you mean 'CONFIG_SYS_FPGA_FTIM3'? + 266 | #define CONFIG_SYS_CS2_FTIM3 CONFIG_SYS_NAND_FTIM3 +drivers/misc/fsl_ifc.c:461:2: note: in expansion of macro 'set_ifc_ftim' + 461 | set_ifc_ftim(IFC_CS2, IFC_FTIM3, CONFIG_SYS_CS2_FTIM3); +drivers/misc/fsl_ifc.c:461:35: note: in expansion of macro 'CONFIG_SYS_CS2_FTIM3' +include/configs/ls1043aqds.h:262:27: error: 'CONFIG_SYS_NAND_CSOR' undeclared (first use in this function); did you mean 'CONFIG_SYS_FPGA_CSOR'? + 262 | #define CONFIG_SYS_CSOR2 CONFIG_SYS_NAND_CSOR +drivers/misc/fsl_ifc.c:463:2: note: in expansion of macro 'set_ifc_csor' + 463 | set_ifc_csor(IFC_CS2, CONFIG_SYS_CSOR2); +drivers/misc/fsl_ifc.c:463:24: note: in expansion of macro 'CONFIG_SYS_CSOR2' +include/configs/ls1043aqds.h:261:28: error: 'CONFIG_SYS_NAND_AMASK' undeclared (first use in this function); did you mean 'CONFIG_SYS_FPGA_AMASK'? + 261 | #define CONFIG_SYS_AMASK2 CONFIG_SYS_NAND_AMASK + | ^~~~~~~~~~~~~~~~~~~~~ +drivers/misc/fsl_ifc.c:464:2: note: in expansion of macro 'set_ifc_amask' + 464 | set_ifc_amask(IFC_CS2, CONFIG_SYS_AMASK2); +drivers/misc/fsl_ifc.c:464:25: note: in expansion of macro 'CONFIG_SYS_AMASK2' +include/configs/ls1043aqds.h:260:27: error: 'CONFIG_SYS_NAND_CSPR' undeclared (first use in this function); did you mean 'CONFIG_SYS_FPGA_CSPR'? + 260 | #define CONFIG_SYS_CSPR2 CONFIG_SYS_NAND_CSPR +drivers/misc/fsl_ifc.c:465:2: note: in expansion of macro 'set_ifc_cspr' + 465 | set_ifc_cspr(IFC_CS2, CONFIG_SYS_CSPR2); +drivers/misc/fsl_ifc.c:465:24: note: in expansion of macro 'CONFIG_SYS_CSPR2' +make[3]: *** [scripts/Makefile.build:258: drivers/misc/fsl_ifc.o] Error 1 +make[2]: *** [scripts/Makefile.build:398: drivers/misc] Error 2 +make[1]: *** [Makefile:1883: drivers] Error 2 +make: *** [Makefile:177: sub-make] Error 2 0 0 1 /1 ls1043aqds_qspi Completed: 1 total built, 1 newly), duration 0:00:04, rate 0.25 Thanks, Peng. On 10/12/2022 5:51 AM, Sean Anderson wrote: > This series groups a few small size reductions I found while trying to > reduce my SPL size. They are all independent of each other. > > > Sean Anderson (3): > arm: layerscape: Don't select FSL_IFC when booting from SD card > arm: layerscape: Disable unused parts of ICID tables > arm: fsl: csu: Reduce size of ns_dev > > arch/arm/cpu/armv8/fsl-layerscape/Kconfig | 4 ++-- > arch/arm/cpu/armv8/fsl-layerscape/icid.c | 2 ++ > .../include/asm/arch-fsl-layerscape/fsl_icid.h | 16 ++++++++++++++-- > include/fsl_csu.h | 4 ++-- > 4 files changed, 20 insertions(+), 6 deletions(-) >