Sascha Hauer wrote: > On Wed, Sep 28, 2011 at 02:58:08PM +0200, Juergen Beisert wrote: > > Myself wrote: > > > is anybody working on Barebox support for the ARM11 based S3C6410 CPU > > > from Samsung (just to be sure to not re-invent the wheel)? > > > > When adding the S3C6410 CPU support: Should I try to extend the existing > > S3C24xx family (its uses an ARMv4 core) with the ARMv6 core S3C64xx > > family, or better a separate mach-* directory? Both CPUs sharing some > > peripherals, but with many little differences (known from i.MX...) > > I would recommend the same directory. The core v6 vs. v6 is irrelevant > for the port and the fact that they share peripherals suggests that it's > not that different from the older Samgsungs. What does the kernel do? The kernel uses "arch/arm/mach-s3c2440 and "arch/arm/mach-s3c64xx" with "arch/arm/plat-s3c24xx" and "arch/arm/plat-samsung". So, no easy answer. Maybe this structure has only historical reasons. I will try to include both SoCs into one directory. Juergen -- Pengutronix e.K. | Juergen Beisert | Linux Solutions for Science and Industry | Phone: +49-5121-206917-5128 | Vertretung Sued/Muenchen, Germany | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de/ | _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox