In upstream preparation, switch from march=armv7a to armv5. This will allow upstream to use more compilers and we don't have to change top level Makefile for OMAP3.
When patches go upstream, we won't change CROSS_COMPILE = arm-linux- . To use CodeSourcery tool chain, this can be overwritten at command line using CROSS_COMPILE = arm-none-linux-gnueabi- then.
With armv5, resulting u-boot.bin is only ~500 bytes larger than with armv7a.
switch_to_armv5.txt (2.57 KB)