[S5PC100] delete unused codes
authorMinkyu Kang <mk7.kang@samsung.com>
Thu, 21 May 2009 11:11:21 +0000 (20:11 +0900)
committerMinkyu Kang <mk7.kang@samsung.com>
Thu, 21 May 2009 11:11:21 +0000 (20:11 +0900)
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
board/samsung/tt/tt.c

index 1bb6a4d..728887c 100644 (file)
@@ -69,40 +69,3 @@ int checkboard(void)
 void raise(void)
 {
 }
-
-#ifdef CONFIG_ENABLE_MMU
-ulong virt_to_phy_smdk6400(ulong addr)
-{
-       if ((0xc0000000 <= addr) && (addr < 0xc8000000))
-               return addr - 0xc0000000 + 0x50000000;
-       else
-               printf("do not support this address : %08lx\n", addr);
-
-       return addr;
-}
-#endif
-
-#if defined(CONFIG_CMD_NAND) && defined(CONFIG_SYS_NAND_LEGACY)
-#include <linux/mtd/nand.h>
-extern struct nand_chip nand_dev_desc[CONFIG_SYS_MAX_NAND_DEVICE];
-void nand_init(void)
-{
-       nand_probe(CONFIG_SYS_NAND_BASE);
-       if (nand_dev_desc[0].ChipID != NAND_ChipID_UNKNOWN)
-               print_size(nand_dev_desc[0].totlen, "\n");
-}
-#endif
-
-#ifndef CONFIG_SYS_NO_FLASH
-#include <flash.h>
-ulong board_flash_get_legacy (ulong base, int banknum, flash_info_t *info)
-{
-       if (banknum == 0) {     /* non-CFI boot flash */
-               info->portwidth = FLASH_CFI_16BIT;
-               info->chipwidth = FLASH_CFI_BY16;
-               info->interface = FLASH_CFI_X16;
-               return 1;
-       } else
-               return 0;
-}
-#endif