From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] Marvell Feroceon-FR131/Sheeva-88SV131 cpu core support
Date: Sat, 4 Apr 2009 18:16:10 +0200 [thread overview]
Message-ID: <20090404161610.GC32409@game.jcrosoft.org> (raw)
In-Reply-To: <1238798370-9245-1-git-send-email-prafulla@marvell.com>
On 04:09 Sat 04 Apr , Prafulla Wadaskar wrote:
> This is ARM v5TE-compliant processor core with
> MMU and L1/L2 Cache
>
> Signed-off-by: prafulla_wadaskar <prafulla@marvell.com>
> Reviewed by: Ronen Shitrit <rshitrit@marvell.com>
> ---
> cpu/arm926ejs/start.S | 5 +++++
> 1 files changed, 5 insertions(+), 0 deletions(-)
>
> diff --git a/cpu/arm926ejs/start.S b/cpu/arm926ejs/start.S
> index ed4932a..08ec955 100644
> --- a/cpu/arm926ejs/start.S
> +++ b/cpu/arm926ejs/start.S
> @@ -214,10 +214,15 @@ cpu_init_crit:
> * disable MMU stuff and caches
> */
> mrc p15, 0, r0, c1, c0, 0
> +#if defined (CONFIG_FEROCEON_88FR131) || defined (CONFIG_SHEEVA_88SV131)
> + bic r0, r0, #0x00000007 /* clear bits 2:0 (CAM) */
> + orr r0, r0, #0x00000002 /* set bit 2 (A) Align */
> +#else
> bic r0, r0, #0x00002300 /* clear bits 13, 9:8 (--V- --RS) */
> bic r0, r0, #0x00000087 /* clear bits 7, 2:0 (B--- -CAM) */
> orr r0, r0, #0x00000002 /* set bit 2 (A) Align */
> orr r0, r0, #0x00001000 /* set bit 12 (I) I-Cache */
> +#endif
I've plan to clean up the asm mmu and cache management as I've done for the C
part. The idea is to avoid to duplicated code and #ifdef every where. So
please create asm macro to handle this
and please explain a few more why you need it
Best Regards,
J.
next prev parent reply other threads:[~2009-04-04 16:16 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-03 22:39 [U-Boot] [PATCH] Marvell Feroceon-FR131/Sheeva-88SV131 cpu core support Prafulla Wadaskar
2009-04-03 18:21 ` Wolfgang Denk
2009-04-03 22:39 ` [U-Boot] [PATCH] Marvell Kirkwood family SOC support Prafulla Wadaskar
2009-04-03 19:15 ` Wolfgang Denk
2009-04-03 22:39 ` [U-Boot] [PATCH] Gbe Controller driver support for kirkwood SOCs Prafulla Wadaskar
2009-04-03 18:02 ` Mike Frysinger
2009-04-03 19:14 ` Ben Warren
2009-04-06 11:44 ` Prafulla Wadaskar
2009-04-03 19:46 ` Wolfgang Denk
2009-04-03 22:39 ` [U-Boot] [PATCH] Marvell 88EXXXX Switch/PHY init support Prafulla Wadaskar
2009-04-03 17:33 ` Ben Warren
2009-04-03 19:32 ` Wolfgang Denk
2009-04-03 22:39 ` [U-Boot] [PATCH] Marvell MV88F6281GTW_GE Board support Prafulla Wadaskar
2009-04-03 18:42 ` Wolfgang Denk
2009-05-20 22:50 ` [U-Boot] [PATCH] Marvell 88EXXXX Switch/PHY init support Sergey Nikulov
2009-05-21 6:15 ` Prafulla Wadaskar
2009-05-21 6:31 ` Sergey Nikulov
2009-05-21 6:37 ` Prafulla Wadaskar
2009-04-04 16:24 ` [U-Boot] [PATCH] Marvell Kirkwood family SOC support Jean-Christophe PLAGNIOL-VILLARD
2009-04-07 11:01 ` Prafulla Wadaskar
2009-04-04 16:16 ` Jean-Christophe PLAGNIOL-VILLARD [this message]
2009-04-07 10:05 ` [U-Boot] [PATCH] Marvell Feroceon-FR131/Sheeva-88SV131 cpu core support Prafulla Wadaskar
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=20090404161610.GC32409@game.jcrosoft.org \
--to=plagnioj@jcrosoft.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