diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2006-01-11 11:12:57 -0600 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2006-01-11 11:12:57 -0600 |
commit | 9260a56151e9aed923e61994b4c368297690a78e (patch) | |
tree | ecef7be07712def490ddaccfba554518fe56d88f /cpu/mpc83xx | |
parent | c7428d49ace4f2f16174ca028fe7072c02a473c8 (diff) | |
download | u-boot-imx-9260a56151e9aed923e61994b4c368297690a78e.zip u-boot-imx-9260a56151e9aed923e61994b4c368297690a78e.tar.gz u-boot-imx-9260a56151e9aed923e61994b4c368297690a78e.tar.bz2 |
Make System IO Config Registers board configurable on MPC83xx
Patch by Kumar Gala, 11 Jan 2006
Diffstat (limited to 'cpu/mpc83xx')
-rw-r--r-- | cpu/mpc83xx/cpu_init.c | 8 |
1 files changed, 6 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: |