
Hi Wolfgang,
Le Wed, 26 Mar 2014 20:02:57 +0100, Wolfgang Denk wd@denx.de a écrit :
In message 1395858363-21054-2-git-send-email-eric@eukrea.com you wrote:
this board is produced by Embest/Element 14 and is based on i.MX6 Dual
Comparing this patch agains the earlier one for the RiOTboard, it turns out that the differences between these two boards are really minimal.
Would it not make sense to combine all the common code? Actually I think you should be able to use all common code with just two different target names.
that seems possible : the main differences at u-boot level are the eSDHC (3 on the RiOT vs 2 on the MarS) and the SPI flash which is populated in the MarSBoard (and used for boot when the RiOT boots on the eMMC). I'll check how to factorize the code.
Eric