diff options
author | Wolfgang Denk <wd@denx.de> | 2007-08-16 12:04:37 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2007-08-16 12:04:37 +0200 |
commit | 592391a6e5c8999e546671ac8efd71a311a03f07 (patch) | |
tree | 5bc810c997cd2a0be418eadaae85caa17102d444 /board/esd/hub405/hub405.c | |
parent | 002275a3ed8b114885f6702d6d544d0780dfe689 (diff) | |
parent | a5a38f4fd7e5366d706ff6a985f9b6715ddbc98b (diff) | |
download | u-boot-imx-592391a6e5c8999e546671ac8efd71a311a03f07.zip u-boot-imx-592391a6e5c8999e546671ac8efd71a311a03f07.tar.gz u-boot-imx-592391a6e5c8999e546671ac8efd71a311a03f07.tar.bz2 |
Merge with /home/wd/git/u-boot/master
Diffstat (limited to 'board/esd/hub405/hub405.c')
-rw-r--r-- | board/esd/hub405/hub405.c | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/board/esd/hub405/hub405.c b/board/esd/hub405/hub405.c index dd3706e..25c8068 100644 --- a/board/esd/hub405/hub405.c +++ b/board/esd/hub405/hub405.c @@ -153,12 +153,6 @@ int misc_init_r (void) out32(GPIO0_OR, val); /* - * Set NAND-FLASH GPIO signals to default - */ - out32(GPIO0_OR, in32(GPIO0_OR) & ~(CFG_NAND_CLE | CFG_NAND_ALE)); - out32(GPIO0_OR, in32(GPIO0_OR) | CFG_NAND_CE); - - /* * check board type and setup AP power */ str = getenv("bd_type"); /* this is only set on non prototype hardware */ @@ -242,33 +236,5 @@ long int initdram (int board_type) mtdcr(memcfga, mem_mb0cf); val = mfdcr(memcfgd); -#if 0 - printf("\nmb0cf=%x\n", val); /* test-only */ - printf("strap=%x\n", mfdcr(strap)); /* test-only */ -#endif - return (4*1024*1024 << ((val & 0x000e0000) >> 17)); } - - -int testdram (void) -{ - /* TODO: XXX XXX XXX */ - printf ("test: 16 MB - ok\n"); - - return (0); -} - - -#if defined(CONFIG_CMD_NAND) -#include <linux/mtd/nand_legacy.h> -extern struct nand_chip nand_dev_desc[CFG_MAX_NAND_DEVICE]; - -void nand_init(void) -{ - nand_probe(CFG_NAND_BASE); - if (nand_dev_desc[0].ChipID != NAND_ChipID_UNKNOWN) { - print_size(nand_dev_desc[0].totlen, "\n"); - } -} -#endif |