From patchwork Wed Jan 4 16:44:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 2609 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ej1-f71.google.com (mail-ej1-f71.google.com [209.85.218.71]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id CFBA23F1DB for ; Wed, 4 Jan 2023 17:44:22 +0100 (CET) Received: by mail-ej1-f71.google.com with SMTP id ne1-20020a1709077b8100b007c198bb8c0esf21276951ejc.8 for ; Wed, 04 Jan 2023 08:44:22 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1672850662; cv=pass; d=google.com; s=arc-20160816; b=qaeke+ytrd1NXaqrO7pTMj+wRzg+Ju+iddRc51o8MK3rEG/vlx2mbwHk1YrSrF4Vm5 CiAORLtxG9PLu3sEUUy5lrmAnOfHlXyhR39EcOrz+wHaT6THM0+fYe627phiTO9FfOi0 m4khRvwEkSxIvBsftgGEPwDEj4pcP5grxRyVOrogmk/um5nWlw29QTG6exEhaSSvUyZT 22qjBwNmfCj7mp7sDr/txF5qQDkZrBRRXvEWQgrbOl+PDb4g3MLhUtbwIyRtoSN4BPtK Be+ryM3ULs41Cyh56/QLgUBdZspyBk99FF/TqQnJJWyltYGMIYvFTxsbBTA0BQKLbbZN D84Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:message-id:date:subject:cc:to :from:dkim-signature; bh=tylyQZwe4Fkzw6AxYvkHuknYAGgI5wlfrnzy84sYN1Q=; b=DCVua2CkY4Z7jyowJMBtJ1+HhnJ0J9o7kC/JABWZyxhNpuvRdJKrc/fvhRHLidXJHz zxE48nGhdmz9G6X51VO+IPBPKCRTMzJqftU8SuxdnFnOwo61RdtdckA4kP8ABMphCSt2 kNTW49edVMViTCN5HNONrRDbG9/hwir9KskgEv1YsFHC6+Ghtv7eD+4ud5AYNxXkvZX8 IV2kaVXoqDBSsCoYmBFJdgZWUr4MkQnWq0rQwQUzBcpPxkbEkmc+gRqe+UH0GKmzAo05 E5ZcZpAYrQH22PNOjsv0zCFdafWccWeH9HtNq+LEk+qXfGPhasvJyvGHOxK6m1ZRZS4B pu3Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=LvdQOGll; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:message-id:date:subject:cc:to:from :from:to:cc:subject:date:message-id:reply-to; bh=tylyQZwe4Fkzw6AxYvkHuknYAGgI5wlfrnzy84sYN1Q=; b=J+I79jy6DYTb9LlQed4SZMrOKvYrTTzUE+mlO2j34Z00M2S+UVpoGcj+I3S14oLXEt XlH5Cz88AdwaXtY3PAxlQ6xy8HRLCROiOk78fTyJbWIVp6Y8H1vy5wuP3f1O542Nitqj 4YM/6FCWXVdW5afBvq0SFXdOGCsyey+MIkkD0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=tylyQZwe4Fkzw6AxYvkHuknYAGgI5wlfrnzy84sYN1Q=; b=Z2AcI2VwEvss/MkhVldiY4uGgcZ4ofXQ4LZo1Rsgxx3ugoihEfp4fpFQq16shF9GHH 52m08NOr2h8QvUmSAcAYf4fzj16HKrFrWvqnnjkJjv29egvjDcP4RDzVf8vbKNFSZAa9 Dt6va8/TG8SdFxp+JC306bumYC/Z73GaLNFamRym6sIW9LA5vDDQ8CmmHnCqZ/0A5zFI XxYinvx8gb8mfE6dcZoDQZnrluj5VdVI1kPFhyeoquvj3PhsS0U+Zsvm9bM9GpmuekGl dcs5VJKj8SUr8WI0bjkP5OTzg2L43NGTV9IQGOlhQyuCv2Pd2AjBAFfnp/+o/qpVdwLe hQqw== X-Gm-Message-State: AFqh2kpytZL6pcAnsrXNxx8C13p2VvzTyQJzr2V1tQKKwIRiBo00GfiQ OfBrG2SBsW6j3pDekt9f2HpRvhqQ X-Google-Smtp-Source: AMrXdXvCqxneaykekonYonbpHy08I3pXnFF8gxnjZg7N4zHA8PoyJuAKiO5f2ayu6afAWCQUOuFsKg== X-Received: by 2002:a17:906:6044:b0:7c1:69ca:17ea with SMTP id p4-20020a170906604400b007c169ca17eamr4327276ejj.719.1672850662657; Wed, 04 Jan 2023 08:44:22 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:4413:b0:43d:b3c4:cd21 with SMTP id y19-20020a056402441300b0043db3c4cd21ls1527538eda.2.-pod-prod-gmail; Wed, 04 Jan 2023 08:44:21 -0800 (PST) X-Received: by 2002:a50:ab55:0:b0:461:ed1f:e707 with SMTP id t21-20020a50ab55000000b00461ed1fe707mr45960478edc.17.1672850661539; Wed, 04 Jan 2023 08:44:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672850661; cv=none; d=google.com; s=arc-20160816; b=TT0wpsstn9OnPDRQYvo5e5mZJ8GDQmsPQlCKW4yG1WfVT4EZbjFus9WH7XCM43AVmN 4IYlLj/3/FhnvsP15+MOSnRamznqDj+wFKX+1EyoeA+dJsLG4EYtFt2qoTCm+/dzikdk pNt0L/599AXEt8WwtJ/uCx/iDAm7Szp/TTQOg/LYx1RYGFsLDsR0QvtGvSzDeA5nyho1 ZJScDu+xQ5e2n4D6ZDUDzymn9XdDnjQKnOWpZp9TsJYhn9ISauvm/mdl9LP+cnqFb1GR y4ascUCKy56H7+p3+jbym1+nU52bbwQEP6jP7c4KxmpTjDDPd95E9EK7D2yoKl7nWs3R U/0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=Q8yV7ssZ0tN0ZEIMos+X0AxznFnm+NpsBcwthxUv/mQ=; b=pPB+CRRzCu3nNuEKShNeIVndUoAJyCfEKNuvFweH5uCJblWrp76xC9JQjHNrmhmP0N qMPrAuTzzj3dHVWF0DunEcgY0fE7+8l9BgCGkBJkrqSUG5upRf1zOZ/va1UinZnvOHNI 9JX+vFfGaOqtFKZyEZp+yfYyfIEAOrsrHJOwVeOpMGed5KeDObelhMnKqNl0Fl/aF9q3 HpMHvJxU/WlPpq0lt65XHXWU19bT0gX2HAsTBHVE8AK4Nr4EKGiNnqBdIBGFJjcN+KW7 yIXs77jtdEUiSGgekb/ll56zzJ4akpbp9T5GBXFCtN+KFvNUpQhEAVzubmSIrMzsQ2Fn xOTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=LvdQOGll; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id q24-20020a50c358000000b0046c5f60a7acsor17574780edb.46.2023.01.04.08.44.21 for (Google Transport Security); Wed, 04 Jan 2023 08:44:21 -0800 (PST) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a50:8e5d:0:b0:46f:a73d:6bdb with SMTP id 29-20020a508e5d000000b0046fa73d6bdbmr43003840edx.25.1672850661369; Wed, 04 Jan 2023 08:44:21 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-80-180-23-57.retail.telecomitalia.it. [80.180.23.57]) by smtp.gmail.com with ESMTPSA id es12-20020a056402380c00b00482b3d0e1absm13600885edb.87.2023.01.04.08.44.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Jan 2023 08:44:21 -0800 (PST) From: Dario Binacchi To: u-boot@lists.denx.de Cc: Dario Binacchi , Michael Trimarchi , Adam Ford , Fabio Estevam , "NXP i.MX U-Boot Team" , Stefano Babic , Tom Rini , linux-amarula@amarulasolutions.com Subject: [PATCH v2] arm: dts: imx8mn-u-boot: fix DDR3 only support Date: Wed, 4 Jan 2023 17:44:17 +0100 Message-Id: <20230104164417.2734358-1-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 X-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=LvdQOGll; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , In case the CONFIG_IMX8M_LPDDR4 and CONFIG_IMX8M_DDR4 options are both disabled (i. e. BSH boards), binmain fails because DDR4 bin files are missing. Fixes: 93c4c0e4dd1e75 ("arm: dts: imx8mn-u-boot: Create common imx8mn-u-boot.dtsi") Signed-off-by: Dario Binacchi Reviewed-by: Michael Trimarchi --- Changes in v2: - Fix typos in the commit message (DD3 --> DDR3, DD4 --> DDR4) arch/arm/dts/imx8mn-u-boot.dtsi | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm/dts/imx8mn-u-boot.dtsi b/arch/arm/dts/imx8mn-u-boot.dtsi index 95f45ad2522d..ec53390afb30 100644 --- a/arch/arm/dts/imx8mn-u-boot.dtsi +++ b/arch/arm/dts/imx8mn-u-boot.dtsi @@ -105,10 +105,11 @@ align-end = <4>; }; +#if defined(CONFIG_IMX8M_LPDDR4) || defined(CONFIG_IMX8M_DDR4) ddr-2d-imem-fw { #ifdef CONFIG_IMX8M_LPDDR4 filename = "lpddr4_pmu_train_2d_imem.bin"; -#elif CONFIG_IMX8M_DDR4 +#else filename = "ddr4_imem_2d.bin"; #endif type = "blob-ext"; @@ -118,12 +119,13 @@ ddr-2d-dmem-fw { #ifdef CONFIG_IMX8M_LPDDR4 filename = "lpddr4_pmu_train_2d_dmem.bin"; -#elif CONFIG_IMX8M_DDR4 +#else filename = "ddr4_dmem_2d.bin"; #endif type = "blob-ext"; align-end = <4>; }; +#endif }; spl {