[U-Boot-Users] mx1ads port, cpu/arm920t rearrangement

I'm currently doing a port for the Motorola m9328mx1ads board. It uses their mc9328mx1 (dragonball) system on a chip (soc) processor, with an arm920t core. U-boot is up and running, flash, ethernet, serial all working. Now trying to get a kernel to boot.
The current 'cpu/arm920t' processor specific directory is currently soc specific. Files such as 'interrupts.c' (the timer stuff), 'speed.c', and 'serial.c' are only for Samsung s3c2400x and s3c2410x socs.
Mayhap another directory structure at the 'cpu/arm920t' level is needed? For instance soc directories such as 'soc-s3c2400', 'soc-mc9328mx1', etc. Perhaps just the names without the soc prefix. Then name isn't is important. Or we could just #def the existing files, but that could get ugly quick as/if more socs are supported.
What is the opinion of those concerned regarding this?
-- Paul Ruhland

In message 200305052045.39080.pruhland@rochester.rr.com you wrote:
Mayhap another directory structure at the 'cpu/arm920t' level is needed? For instance soc directories such as 'soc-s3c2400', 'soc-mc9328mx1', etc.
At the moment I don't see the need for new directories.
Perhaps just the names without the soc prefix. Then name isn't is important. Or we could just #def the existing files, but that could get ugly quick as/if more socs are supported.
What is the opinion of those concerned regarding this?
Maybe adding a prefix to the files (s3c24xx-interrupt.c etc) would do for now?
Best regards,
Wolfgang Denk
participants (2)
-
Paul Ruhland
-
Wolfgang Denk