]> git.ipfire.org Git - people/ms/u-boot.git/commit
Update SCCR programming in cpu_init_f() to support all 83xx processors
authorTimur Tabi <timur@freescale.com>
Tue, 3 Jul 2007 18:04:34 +0000 (13:04 -0500)
committerKim Phillips <kim.phillips@freescale.com>
Fri, 10 Aug 2007 06:12:03 +0000 (01:12 -0500)
commitdf33f6b4d6d63693dd9200808b242de1b86cb8e8
tree670295262e8d55ebc544e2e13ccde39ec300aed0
parent9546266999f0b9b51372636614211b88d90f0f25
Update SCCR programming in cpu_init_f() to support all 83xx processors

Update the cpu_init_f() function in cpu/mpc83xx/cpu_init.c to program the
bitfields for all 83xx processors.  The code to update some bitfields was
compiled only on some processors.  Now, the bitfields are programmed as long
as the corresponding CFG_SCCR option is defined in the board header file.
This means that the board header file should not define any CFG_SCCR macros
for bitfields that don't exist on that processor, otherwise the SCCR will be
programmed incorrectly.

Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
cpu/mpc83xx/cpu_init.c
include/mpc83xx.h