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/cpu_init.c | |
parent | c7428d49ace4f2f16174ca028fe7072c02a473c8 (diff) |
Make System IO Config Registers board configurable on MPC83xx
Patch by Kumar Gala, 11 Jan 2006
Diffstat (limited to 'cpu/mpc83xx/cpu_init.c')
-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 dcb34457b10..e75b8b7fde1 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: |