From: Marek Vasut Date: Wed, 21 Sep 2016 03:20:27 +0200 Subject: [U-Boot] [PATCH v2] ddr: altera: Configuring SDRAM extra cycles timing parameters In-Reply-To: <1474351543-3168-1-git-send-email-clsee@altera.com> References: <1474351543-3168-1-git-send-email-clsee@altera.com> Message-ID: <508f7680-e815-2b86-69c4-bd7de2ccb7ec@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 09/20/2016 08:05 AM, Chin Liang See wrote: > To enable configuration of sdr.ctrlcfg.extratime1 register which enable > extra clocks for read to write command timing. This is critical to > ensure successful LPDDR2 interface > > Signed-off-by: Chin Liang See > Cc: Marek Vasut > Cc: Dinh Nguyen > --- > Changes for v2 > - Removed v1 patches #2 to #9 as no boards are using LPDDR2 > --- > arch/arm/mach-socfpga/include/mach/sdram.h | 8 +++++++- > arch/arm/mach-socfpga/qts-filter.sh | 2 +- > arch/arm/mach-socfpga/wrap_sdram_config.c | 9 +++++++++ > drivers/ddr/altera/sdram.c | 3 +++ > 4 files changed, 20 insertions(+), 2 deletions(-) > [...] I'd really like to avoid the ifdef, can we do that (fix all boards to set the register to zero) ? Otherwise I'm fine with the patch. -- Best regards, Marek Vasut