Message ID | 20250513123039.1676913-4-dario.binacchi@amarulasolutions.com |
---|---|
State | New |
Headers | show
Return-Path: <linux-amarula+bncBCQ4XFG47UFRBJPXRTAQMGQEEHM2TKI@amarulasolutions.com> X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 76C6A3F049 for <linux-amarula@patchwork.amarulasolutions.com>; Tue, 13 May 2025 14:31:34 +0200 (CEST) Received: by mail-wm1-f70.google.com with SMTP id 5b1f17b1804b1-43cf172ffe1sf38690345e9.3 for <linux-amarula@patchwork.amarulasolutions.com>; Tue, 13 May 2025 05:31:34 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1747139494; cv=pass; d=google.com; s=arc-20240605; b=bc11zhP9pPxNAU4GGLU+qguoRe3NGOOumuvj2nOXlWit6sXAK0qoAWUrGMSjYkO+Uk Q+g3pXh7qtT238TQ30YMRISEaZSJGo6CCFKLYYA9O1bg3NwtkhqAs44GUabAI/f/bU00 0ndAsAxKiFQdVnAN5MyUDuWzs36213cpjty9tOjtSxzGWCP0r1jU+7itOa69jvZWPaN8 eyxxVIQH1mxYIOq4QvrDrSoeIWsFGm4DB6xLugkmfCD5YoNwnD4MeWi4Spzh4EkbU9NT ImLiNO97vfhW+5kJa3LRodtps+CszCztvz6SP2N0LeZe2UysTmJHceU59U013kuY2Pc8 NDxQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=NAZM3fD9Vsx3lEqhatqOi7DVpMYEUUKLZ3jAyexG4OA=; fh=Z0fREcyzjGFdymCMRFFeScuSfOWbUdB10zNots3QIMM=; b=Y6UfuvLmhpjz1GRSi1o15gKYgSlfhrVj4hVUY/NnJVwwCMpNX6ehSEaKjAZmRn8KR2 +QFApm02kpl5PtKM2IsFMq004yz1xcxx0spLDrPEeDm7vAQLSVz1DliiTfIne9AEL8yz xbUKWGG4hzHFEPgoVVHxT37mZz6fcSJusMSZJNfbCJbOjd53suV63u6Xsqs9kJq6lJ// V2E7vYY/0yi7rtG4OZYvQ8NnPLu7l6wq361BKg2NLXXsX9sTVbLcshMGdhQdJs2Oyr4k vPyEFDpQh27MRYtsVPjTRmIUmpm4ZuC9XfZDJFmN8rLz8O3IV/b6e3fbmyDg3HHIxO4/ nfaA==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=L4RcG3y9; 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; dara=pass header.i=@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1747139494; x=1747744294; darn=patchwork.amarulasolutions.com; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=NAZM3fD9Vsx3lEqhatqOi7DVpMYEUUKLZ3jAyexG4OA=; b=D2QOUMCMHAqsUIDPS7EpviaBjCK2JHPS3ELPeJJBIg6YvTvLMoWO7CmPLbQQgvfsX+ Us1LNM1UrGYKkbuCxdzzVukZ+g7uGkl1N5jAshVCLJEMX0be8uiYsOdz6yVdD7KRivI2 iQtWQ8Yb61lU2zWwnlmJJ3Gl57eqv/qd7xhA0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1747139494; x=1747744294; 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 :references:in-reply-to:message-id:date:subject:cc:to:from :x-beenthere:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=NAZM3fD9Vsx3lEqhatqOi7DVpMYEUUKLZ3jAyexG4OA=; b=i3mVujqwZnS77VAWPAjRjHG90Jxegb9mTWmvGUTeMTOGdfOo7tE3Y+lPQwyZCOlfiY FRzk/gdgRq34IvPiW15F0WeQ4QgpSse7mYAYcFkX1oI43lG2ZqcYMjbtvvWC6FnygRvj 6EfWx2yeXgjkuh56l5LOWRV3x52kGI/t79j1U4VNlxvgD+SqGL/Uw0hORXnas63JA8rG DX+LtbOfqrkFb5fw3i7MXBkOiBca9DOzK3wo3SdJlaS41utlvBbhxNJmiJvnD6S6Itrr bcL8R4RGieyXEoClA0IVhwQ13A0iADAT2kA6uLj/wsdqpWETp0/7yAmMU+ffirP7JEb6 GZOQ== X-Forwarded-Encrypted: i=2; AJvYcCUq5IyPdMhWbyOzsMQfJRzGUA6T6aUvv6B9sYKAoXSAXd+D2d7Uw/W+YKfSv9tawJAv6dgeeQCdy1fxgypK@patchwork.amarulasolutions.com X-Gm-Message-State: AOJu0YwUS8/4x/fzOH1k2zCHynzH5SE7NOlHrz2Tv94JlYWNRlh+rI83 J6OsjO2BL8LEZyDlZU34//4CvAF+kk+ErTi+8WoHpdsbdibNI9zYPf24i6StpP3LPg== X-Google-Smtp-Source: AGHT+IFtTOlyT1+tiCr8DNr405l1g7NhlM6xt2KPyU/q8OSxjWgXTaGtxG96oCQB6sL7BPW2gzEgLA== X-Received: by 2002:a05:600c:628c:b0:43c:f8fe:dd82 with SMTP id 5b1f17b1804b1-442d6d6ad9dmr146615445e9.18.1747139493756; Tue, 13 May 2025 05:31:33 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com; h=AVT/gBFDPzp9NtxTJisdHfFwUtjlmjq5GcxmNHWoqWuma9TRjA== Received: by 2002:a5d:5f49:0:b0:3a0:8097:f42d with SMTP id ffacd0b85a97d-3a0b96ef345ls638781f8f.1.-pod-prod-05-eu; Tue, 13 May 2025 05:31:31 -0700 (PDT) X-Received: by 2002:a05:6000:4201:b0:3a1:fc5c:dec7 with SMTP id ffacd0b85a97d-3a1fc5ce05amr9001020f8f.21.1747139491286; Tue, 13 May 2025 05:31:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1747139491; cv=none; d=google.com; s=arc-20240605; b=gWyeU3QRvVuvmlf6sOrN2xsi7kiHHzFIA/lKvAtP8YX12VoF60GSvtAEqpXYEzoZx/ dseI/vXeMv6bIBOmj0srUbmmJijpUW6QnIZ3EtBopE6Dwrb5/y34/E3Zv5TpyZcCDxO7 O8KsS0A5oOeUk5B/d76iB10ei+5FASHztpYrFphidyx3FMqpRs70E0QEHNs/ztFXAimS PTv2Y6dMvIMZJ3IX8INUu3/iBQmr8+0mKfkcleMaYeuOyV+Z5+x/o1ClUAvsESh4GKGT v+sP37LRvY6HGgG75t6+3YINev7J/TyOHflCIlvPPriAYSPR8gCyAX1LW9kJQE2o6YQi E5Sg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=dblZZpeCGQzzJdnMiEbY/ejd4sxMd0kOgEZcB7pfKTI=; fh=M7saD4gwuSwN/q9omWarauPu+laQHwN68KciGi2hat8=; b=HdYHJkI5ghu64wWtsUhBAlQCyiri/e+UHEchJlGQMxAB8u+noBIx08JTg3g7DdnTNf GP2uiado7ehWVF6ahlvUwddlPQAgO1vvRrxZ1MbTesP7kL5uWajLLGbzYOQVr6IQjjOp uEXdrTcwMc3nByGYEuGjVmZndfpiB+B8iw1Hxk+0RCUgO8F6vo4n0XnARWUJom9exY68 W9SswYXEpvZb2HsJraBBjV3aDlJEBKvhXKrbV6oPqkfYuyqqMllH+6X3P96KJTEDc3uR QtGoErCwwIDtkSHh2GicdZTn7Iuz+0mDwyMBz7L8C9Zlpl8u1SD78/vNUv0Q79OOFGBv 8rJw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=L4RcG3y9; 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; dara=pass header.i=@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 ffacd0b85a97d-3a207c70314sor2139220f8f.3.2025.05.13.05.31.31 for <linux-amarula@amarulasolutions.com> (Google Transport Security); Tue, 13 May 2025 05:31:31 -0700 (PDT) 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-Gm-Gg: ASbGncsmEF7My/lCsEODwv3mjGlY9cHaKkusQ87OCELnHqcapeZZTGVbUP9PO5tvdfU Msmsew1efXBe3+CCo11D6wuPoXUHwtmebcWeRsyumBkAmDz/NT+m65k8JyIO2L+nVwi0kjxDLPw sAVLBP+JiJZ2QH6huaEBafFBGdf759IxV8T5DdtqlLzE0C8ul7dYh+e1YZkO7EuJTahtEiZM4LS ssDMUmBelHETSgKnahDFJEpP0MRLflsnF01B7UgGeVkCInOWjNsw40f7XG9NCsYqe6inhIfLo9w 62NamdfTG26GqN+ARulS4+5z3z2vU+0cke3RrLXl+3+j5UKdn+dagM3YZ52lzUhV+Bml+TFy+Io vx+pg/uPNq+zlMkFjVD09/n8wB7Tz4CimSMvJAiK8ZQ== X-Received: by 2002:a5d:64e7:0:b0:39c:2665:2c13 with SMTP id ffacd0b85a97d-3a1f64c0a16mr12562938f8f.54.1747139490657; Tue, 13 May 2025 05:31:30 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.amarulasolutions.com ([46.189.28.50]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3a1f5a4c5f6sm15935972f8f.86.2025.05.13.05.31.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 May 2025 05:31:30 -0700 (PDT) From: Dario Binacchi <dario.binacchi@amarulasolutions.com> To: linux-amarula@amarulasolutions.com Cc: michael@amarulasolutions.com, dario.binacchi@amarulasolutions.com, Michael Bode <michael.bode@bshg.com>, Simon Holesch <simon.holesch@bshg.com> Subject: [PATCH 4/4] board: bsh: imx6ulz_smm_m2: Add delay between DRAM read access Date: Tue, 13 May 2025 14:30:39 +0200 Message-ID: <20250513123039.1676913-4-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250513123039.1676913-1-dario.binacchi@amarulasolutions.com> References: <20250513123039.1676913-1-dario.binacchi@amarulasolutions.com> 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=L4RcG3y9; 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; dara=pass header.i=@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: <linux-amarula.amarulasolutions.com> X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/post>, <mailto:linux-amarula@amarulasolutions.com> List-Help: <https://support.google.com/a/amarulasolutions.com/bin/topic.py?topic=25838>, <mailto:linux-amarula+help@amarulasolutions.com> List-Archive: <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/> List-Unsubscribe: <mailto:googlegroups-manage+476853432473+unsubscribe@googlegroups.com>, <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/subscribe> |
Series |
|
Related |
show
|
diff --git a/board/bsh/imx6ulz_smm_m2/spl.c b/board/bsh/imx6ulz_smm_m2/spl.c index dba5982d0865..d1d38163ec19 100644 --- a/board/bsh/imx6ulz_smm_m2/spl.c +++ b/board/bsh/imx6ulz_smm_m2/spl.c @@ -13,6 +13,7 @@ #include <asm/gpio.h> #include <asm/mach-imx/iomux-v3.h> #include <asm/mach-imx/boot_mode.h> +#include <linux/delay.h> #include <linux/libfdt.h> #include <spl.h> #include <asm/arch/mx6-ddr.h> @@ -65,10 +66,12 @@ static void spl_dram_init(void) /* Already configured, nothing to do */ break; case SZ_256M: + udelay(1); ddr_cfg_write(&bsh_dram_timing_256mb); break; case SZ_128M: default: + udelay(1); ddr_cfg_write(&bsh_dram_timing_128mb); break; }