
In message 11621624513123-git-send-email-grant.likely@secretlab.ca you wrote:
This patch adds the code and configuration necessary to boot with an arch/powerpc Linux kernel.
...
--- a/board/icecube/icecube.c +++ b/board/icecube/icecube.c
...
@@ -334,3 +338,11 @@ void ide_set_reset (int idereset) } } #endif /* defined (CFG_CMD_IDE) && defined (CONFIG_IDE_RESET) */
+#if defined(CONFIG_OF_FLAT_TREE) && defined(CONFIG_OF_BOARD_SETUP) +void +ft_board_setup(void *blob, bd_t *bd) +{
- ft_cpu_setup(blob, bd);
+} +#endif
How much of this is really board dependent? How likely is it, then all other 5200 boards will just copy & paste these few lines of code? Maybe we can make this common code, and just allow for board-specific overwrites when really needed?
Best regards,
Wolfgang Denk