[U-Boot-Users] [PATCH][resubmit] MPC85xx, MPC83xx: Add/Fix UPM configuration support

David Saada David.Saada at ecitele.com
Tue May 20 09:32:24 CEST 2008


> Can we merge the register definition files and have a single upm_config
> for mpc8[356]xx instead of duplicating it as being done here?

Not sure that I'm the right person for this job, as I don't have an 86xx based board. Also, I'm not sure this would be a good idea: There are some differences between the registers in these 3 families, and the header file would look pretty ugly (many ifdefs). Even the UPM code won't be the same: for instance, the mpc85xx code scans the BR registers (which are adjacent) to determine the UPM machine, while in the 83xx we need to scan the lbus banks (and extract the BRs from there). This means that we will also have many ifdefs there as well.
David.





More information about the U-Boot mailing list