public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: sbabic at denx.de <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [PATCH 2/2] spi: fsl_qspi: Support to use full AHB space on i.MX
Date: Thu, 16 Jul 2020 19:48:36 +0200 (CEST)	[thread overview]
Message-ID: <20200716174836.54D3F81BC8@phobos.denx.de> (raw)
In-Reply-To: <1591689546-64136-2-git-send-email-ye.li@nxp.com>

> i.MX platforms provide large AHB mapped space for QSPI, each
> controller has 256MB. However, current driver only maps small
> size (AHB buffer size) of AHB space, this implementation
> causes i.MX failed to boot M4 with QSPI XIP image.
> Add config CONFIG_FSL_QSPI_AHB_FULL_MAP (default enabled for i.MX)
> to address above problem.
> When the config is set:
> 1. Full AHB space is divided to each CS.
> 2. A dedicated LUT entry is used for AHB read only.
> 3. The MODE instruction in LUT is replaced to standard ADDR instruction
> 4. The address in spi_mem_op is used to SFAR and AHB read
> Signed-off-by: Ye Li <ye.li@nxp.com>
> Reviewed-by: Ashish Kumar <Ashish.Kumar@nxp.com>
> Reviewed-by: Kuldeep Singh <kuldeep.singh@nxp.com>
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================

  reply	other threads:[~2020-07-16 17:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-09  7:59 [PATCH 1/2] spi: fsl_qspi: Add support for i.MX7ULP Ye Li
2020-06-09  7:59 ` [PATCH 2/2] spi: fsl_qspi: Support to use full AHB space on i.MX Ye Li
2020-07-16 17:48   ` sbabic at denx.de [this message]
2022-11-09  9:43   ` Frieder Schrempf
2020-07-16 17:48 ` [PATCH 1/2] spi: fsl_qspi: Add support for i.MX7ULP sbabic at denx.de

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200716174836.54D3F81BC8@phobos.denx.de \
    --to=sbabic@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox