Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
#ifdef CONFIG_CMD_NAND
/* go init the NAND */
#ifdef CONFIG_CMD_NAND
/* go init the NAND */
+static int initr_nand(void)
{
puts("NAND: ");
nand_init();
{
puts("NAND: ");
nand_init();
#if defined(CONFIG_CMD_ONENAND)
/* go init the NAND */
#if defined(CONFIG_CMD_ONENAND)
/* go init the NAND */
+static int initr_onenand(void)
{
puts("NAND: ");
onenand_init();
{
puts("NAND: ");
onenand_init();
#endif
#ifdef CONFIG_GENERIC_MMC
#endif
#ifdef CONFIG_GENERIC_MMC
+static int initr_mmc(void)
{
puts("MMC: ");
mmc_initialize(gd->bd);
{
puts("MMC: ");
mmc_initialize(gd->bd);
#endif
#ifdef CONFIG_HAS_DATAFLASH
#endif
#ifdef CONFIG_HAS_DATAFLASH
-int initr_dataflash(void)
+static int initr_dataflash(void)
{
AT91F_DataflashInit();
dataflash_print_info();
{
AT91F_DataflashInit();
dataflash_print_info();