From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?Andreas_Bie=c3=9fmann?= Date: Mon, 23 Nov 2015 17:49:29 +0100 Subject: [U-Boot] [PATCH v2 3/5] arm: at91/spl: matrix: remove security peripheral select code In-Reply-To: <1446712673-9079-4-git-send-email-wenyou.yang@atmel.com> References: <1446712673-9079-1-git-send-email-wenyou.yang@atmel.com> <1446712673-9079-4-git-send-email-wenyou.yang@atmel.com> Message-ID: <56534399.2070303@googlemail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 05.11.15 09:37, Wenyou Yang wrote: > Remove the security peripheral select code, keep the default value > in these registers, that is, the peripheral address space is > configured as "Secured" access, it is suitable for SPL. > > Signed-off-by: Wenyou Yang Reviewed-by: Andreas Bie?mann > --- > > Changes in v2: None > > arch/arm/mach-at91/matrix.c | 9 --------- > 1 file changed, 9 deletions(-) > > diff --git a/arch/arm/mach-at91/matrix.c b/arch/arm/mach-at91/matrix.c > index 452a6b9..e4780d6 100644 > --- a/arch/arm/mach-at91/matrix.c > +++ b/arch/arm/mach-at91/matrix.c > @@ -31,13 +31,4 @@ void matrix_init(void) > writel(0x00010101, &h32mx->ssr[4]); > writel(0x00000001, &h32mx->sassr[4]); > writel(0x00000001, &h32mx->srtsr[4]); > - > - /* Configure Programmable Security peripherals on matrix 64 */ > - writel(readl(&h64mx->spselr[0]) | 0x00080000, &h64mx->spselr[0]); > - writel(readl(&h64mx->spselr[1]) | 0x00180000, &h64mx->spselr[1]); > - writel(readl(&h64mx->spselr[2]) | 0x00000008, &h64mx->spselr[2]); > - > - /* Configure Programmable Security peripherals on matrix 32 */ > - writel(readl(&h32mx->spselr[0]) | 0xFFC00000, &h32mx->spselr[0]); > - writel(readl(&h32mx->spselr[1]) | 0x60E3FFFF, &h32mx->spselr[1]); > } >