From: David Updegraff <dave@cray.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Re: [PATCH] Make System IO Config Registers board configurable on MPC83xx
Date: Wed, 23 Nov 2005 14:47:36 -0600 [thread overview]
Message-ID: <dm2kgr$u4s$1@sea.gmane.org> (raw)
In-Reply-To: <Pine.LNX.4.44.0511231430380.6402-100000@gate.crashing.org>
Kumar
Now I wonder if a similar thing might be done in start.S, so that the
[re] mapped size of flash complies with what is defined in the config
file? Either from flash size, or from the _PRELIM_* settings that are
already there? Instead of current status quo of hardwired to 8M flash size?
> Make System IO Config Registers board configurable on MPC83xx
>
> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
>
> CHANGELOG:
> * Make System IO Config Registers board configurable on MPC83xx
> Patch by Kumar Gala 23 Nov 2005
>
> ---
> commit 01b445b70c5e296c115b93a894ff3c7ffc1586d5
> tree 2a2398b1bd34aa9b79e7ba34b4ccf7c28c932734
> parent f6a259d086597f691d821a5ac2181ce249fad987
> author Kumar Gala <galak@kernel.crashing.org> Wed, 23 Nov 2005 14:31:37 -0600
> committer Kumar Gala <galak@kernel.crashing.org> Wed, 23 Nov 2005 14:31:37 -0600
>
> cpu/mpc83xx/cpu_init.c | 8 ++++++--
> include/configs/MPC8349ADS.h | 4 ++++
> include/configs/TQM834x.h | 4 ++++
> 3 files changed, 14 insertions(+), 2 deletions(-)
>
> diff --git a/cpu/mpc83xx/cpu_init.c b/cpu/mpc83xx/cpu_init.c
> index dcb3445..e75b8b7 100644
> --- a/cpu/mpc83xx/cpu_init.c
> +++ b/cpu/mpc83xx/cpu_init.c
> @@ -63,8 +63,12 @@ void cpu_init_f (volatile immap_t * im)
> im->sysconf.spcr |= SPCR_TBEN;
>
> /* System General Purpose Register */
> - im->sysconf.sicrh = SICRH_TSOBI1;
> - im->sysconf.sicrl = SICRL_LDP_A;
> +#ifdef CFG_SICRH
> + im->sysconf.sicrh = CFG_SICRH;
> +#endif
> +#ifdef CFG_SICRL
> + im->sysconf.sicrl = CFG_SICRL;
> +#endif
>
> /*
> * Memory Controller:
> diff --git a/include/configs/MPC8349ADS.h b/include/configs/MPC8349ADS.h
> index 41309ac..7197e0f 100644
> --- a/include/configs/MPC8349ADS.h
> +++ b/include/configs/MPC8349ADS.h
> @@ -504,6 +504,10 @@
> HRCWH_TSEC2M_IN_GMII )
> #endif
>
> +/* System IO Config */
> +#define CFG_SICRH SICRH_TSOBI1
> +#define CFG_SICRL SICRL_LDP_A
> +
> #define CFG_HID0_INIT 0x000000000
>
> #define CFG_HID0_FINAL CFG_HID0_INIT
> diff --git a/include/configs/TQM834x.h b/include/configs/TQM834x.h
> index c25a777..a2184ee 100644
> --- a/include/configs/TQM834x.h
> +++ b/include/configs/TQM834x.h
> @@ -417,6 +417,10 @@ extern int tqm834x_num_flash_banks;
> HRCWH_TSEC2M_IN_GMII )
> #endif
>
> +/* System IO Config */
> +#define CFG_SICRH SICRH_TSOBI1
> +#define CFG_SICRL SICRL_LDP_A
> +
> /* i-cache and d-cache disabled */
> #define CFG_HID0_INIT 0x000000000
> #define CFG_HID0_FINAL CFG_HID0_INIT
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
> for problems? Stop! Download the new AJAX search engine that makes
> searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
next prev parent reply other threads:[~2005-11-23 20:47 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-23 20:31 [U-Boot-Users] [PATCH] Make System IO Config Registers board configurable on MPC83xx Kumar Gala
2005-11-23 20:47 ` David Updegraff [this message]
2005-11-25 20:10 ` [U-Boot-Users] " Wolfgang Denk
2006-03-12 17:52 ` Wolfgang Denk
[not found] <20051127215106.847CA352616@atlas.denx.de>
2005-11-28 14:47 ` David Updegraff
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='dm2kgr$u4s$1@sea.gmane.org' \
--to=dave@cray.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