
Matias Sundman writes:
Matias> Hi Yuli, I am not sure if I have understood the file Matias> structure of U-boot. I downloaded U-boot-0.4.0, but I cant Matias> find ppc8270 under the CPU folder, nor can I find the Matias> PQ2FADS board under the board folder...
Matias> Can you explain me where the code for PPC8270 resides in the Matias> file structure?
First of all, download the latest version from CVS (0.4.7 or CVS HEAD).
Differences between 8260 and 8270 do not justify creating a separate CPU directory. In fact, all the differences result in some 10-20 lines of code, so look at cpu/mpc8260. Use `grep' to find HiP7 and you'll see the changes I made to support 8270/75/80. The same is true for PQ2FADS. I ported U-Boot to this board but since it's very similar to older MPC8260ADS I modified existing port to support all Motorola evaluation boards (MPC8260ADS/MPC8266ADS/PQ2FADS). Some differences are handled by #ifdefs. Cloning an existing port and changing ten lines to support new board as it's done in many cases creates maintenance nightmare. So the right place to look is board/mpc8260ads. BTW, I think it's mentioned in README.
Hope this helps,