~ubuntu-branches/ubuntu/maverick/uboot-imx/maverick

« back to all changes in this revision

Viewing changes to board/netta2/netta2.c

  • Committer: Bazaar Package Importer
  • Author(s): Oliver Grawert
  • Date: 2010-01-20 15:41:26 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20100120154126-7bha1jeyjegu7xm5
Tags: 2009.08+really2009.01-0ubuntu1
* revert to the 2009.01 upstream version, 2009.08 has still to 
  many work in progress items in the freescale patchset (MMC and NIC
  dont work at all)
* add the latest patchset from freescale for 2009.01
* add 1002_enable_hush_shell_and_ext2.patch to enable hush shell and ext2 
* add 1003_fix_board_revision_numbers to make sure babbage 2.5 boards have 
  revision 51120 and babbage 3.0 boards have revision 51130 properly set in 
  their cpuinfo

Show diffs side-by-side

added added

removed removed

Lines of Context:
595
595
        return 0;
596
596
}
597
597
 
 
598
#if defined(CONFIG_CMD_NAND)
 
599
 
 
600
#include <linux/mtd/nand_legacy.h>
 
601
 
 
602
extern ulong nand_probe(ulong physadr);
 
603
extern struct nand_chip nand_dev_desc[CONFIG_SYS_MAX_NAND_DEVICE];
 
604
 
 
605
void nand_init(void)
 
606
{
 
607
        unsigned long totlen;
 
608
 
 
609
        totlen = nand_probe(CONFIG_SYS_NAND_BASE);
 
610
        printf ("%4lu MB\n", totlen >> 20);
 
611
}
 
612
#endif
 
613
 
598
614
#ifdef CONFIG_HW_WATCHDOG
599
615
 
600
616
void hw_watchdog_reset(void)