I was working on adding POST to a custom board. Whenever I define a board specific post function, I've to extern that function in post/test.c to make it compile.
Say, I added the following line in my board configuration file, and I've to add the line `extern int simple_post_test(int);' to make it compile. #define CONFIG_POST_BSPEC1 {\ "Simple Test",\ "simple_test",\ "BSPEC POST",\ POST_RAM | POST_MANUAL,\ &simple_post_test,\ NULL,\ NULL,\ CFG_POST_BSPEC1\ } Why don't we have predefined function names for board specific POSTs? This will prevent from everyone touching post/tests.c when they are have to use POST_BSPEC. Or, am I missing a way to compile my code without touching post/tests.c? -- Selva ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users