diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2006-01-11 17:12:57 (GMT) |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2006-01-11 17:12:57 (GMT) |
commit | 9260a56151e9aed923e61994b4c368297690a78e (patch) | |
tree | ecef7be07712def490ddaccfba554518fe56d88f /cpu | |
parent | c7428d49ace4f2f16174ca028fe7072c02a473c8 (diff) | |
download | u-boot-9260a56151e9aed923e61994b4c368297690a78e.tar.xz |
Make System IO Config Registers board configurable on MPC83xx
Patch by Kumar Gala, 11 Jan 2006
Diffstat (limited to 'cpu')
-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: |