From: York Sun <yorksun@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] arm: ls102xa: Enable snooping for CCI-400 S0 slave interface
Date: Wed, 14 Jan 2015 10:52:28 -0800 [thread overview]
Message-ID: <54B6BAEC.4080902@freescale.com> (raw)
In-Reply-To: <1415887974-15316-1-git-send-email-b18965@freescale.com>
Alison,
On 11/13/2014 06:12 AM, Alison Wang wrote:
> CAAM is connected to CCI-400 S0 slave interface. Disable snooping for
> S0 will cause CAAM self test failure. This patch is to enable snooping
> for S0 slave interface.
>
> Signed-off-by: Alison Wang <alison.wang@freescale.com>
> ---
> board/freescale/ls1021aqds/ls1021aqds.c | 3 +--
> board/freescale/ls1021atwr/ls1021atwr.c | 3 +--
> 2 files changed, 2 insertions(+), 4 deletions(-)
>
> diff --git a/board/freescale/ls1021aqds/ls1021aqds.c b/board/freescale/ls1021aqds/ls1021aqds.c
> index 4dda5e3..e5dea5d 100644
> --- a/board/freescale/ls1021aqds/ls1021aqds.c
> +++ b/board/freescale/ls1021aqds/ls1021aqds.c
> @@ -202,10 +202,9 @@ int board_early_init_f(void)
> CCI400_DVM_MESSAGE_REQ_EN | CCI400_SNOOP_REQ_EN);
>
> /*
> - * Set CCI-400 Slave interface S0, S1, S2 Shareable Override Register
> + * Set CCI-400 Slave interface S1, S2 Shareable Override Register
> * All transactions are treated as non-shareable
> */
> - out_le32(&cci->slave[0].sha_ord, CCI400_SHAORD_NON_SHAREABLE);
> out_le32(&cci->slave[1].sha_ord, CCI400_SHAORD_NON_SHAREABLE);
> out_le32(&cci->slave[2].sha_ord, CCI400_SHAORD_NON_SHAREABLE);
>
> diff --git a/board/freescale/ls1021atwr/ls1021atwr.c b/board/freescale/ls1021atwr/ls1021atwr.c
> index 0629d1c..2c8afc0 100644
> --- a/board/freescale/ls1021atwr/ls1021atwr.c
> +++ b/board/freescale/ls1021atwr/ls1021atwr.c
> @@ -419,10 +419,9 @@ int board_init(void)
> struct ccsr_cci400 *cci = (struct ccsr_cci400 *)CONFIG_SYS_CCI400_ADDR;
>
> /*
> - * Set CCI-400 Slave interface S0, S1, S2 Shareable Override Register
> + * Set CCI-400 Slave interface S1, S2 Shareable Override Register
> * All transactions are treated as non-shareable
> */
> - out_le32(&cci->slave[0].sha_ord, CCI400_SHAORD_NON_SHAREABLE);
> out_le32(&cci->slave[1].sha_ord, CCI400_SHAORD_NON_SHAREABLE);
> out_le32(&cci->slave[2].sha_ord, CCI400_SHAORD_NON_SHAREABLE);
> out_le32(0x1185000, 0x3);
>
Which patch does this one depend on? The code you remove doesn't exist. Please
check and rebase to latest code if necessary.
York
next prev parent reply other threads:[~2015-01-14 18:52 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-13 14:12 [U-Boot] [PATCH] arm: ls102xa: Enable snooping for CCI-400 S0 slave interface Alison Wang
2015-01-14 18:52 ` York Sun [this message]
2015-01-15 9:03 ` Huan Wang
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=54B6BAEC.4080902@freescale.com \
--to=yorksun@freescale.com \
--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