Permalink
Browse files

edm-cf-imx6 : Take out NAND flash support

  • Loading branch information...
richard-hu committed Oct 1, 2015
1 parent 87b6b9e commit 4d41ac9e24a6057382c05a5185a749c7148559df
Showing with 0 additions and 28 deletions.
  1. +0 −16 board/technexion/edm_cf_imx6/edm_cf_imx6.c
  2. +0 −10 common/env_bootdevice.c
  3. +0 −2 include/configs/edm_cf_imx6.h
@@ -537,22 +537,6 @@ int splash_screen_prepare(void)
printf("splash:loading %s from SATA FAT...\n", s);
}
break;
case MX6_NAND_BOOT:
if((s = getenv("splashimage_nand_offset")) != NULL)
offset = simple_strtoul (s, NULL, 16);
if (!offset){
printf ("splashimage_nand_offset is illegal! \n");
}
if((s = getenv("splashimage_nand_size")) != NULL)
size = simple_strtoul (s, NULL, 16);
if (!size){
printf ("splashimage_nand_size is illegal! \n");
}
nand_read_skip_bad(&nand_info[nand_curr_device],
offset, &size,
NULL, nand_info[nand_curr_device].size,
(u_char *)addr);
break;
default:
break;
}
@@ -491,11 +491,6 @@ void env_relocate_spec(void)
sata_env_relocate_spec();
setenv("bootmode", "SATA");
break;
case MX6_NAND_BOOT:
printf( "Environment is in NAND.... \r\n");
nand_env_relocate_spec();
setenv("bootmode", "NAND");
break;
default:
break;
}
@@ -516,11 +511,6 @@ int saveenv(void)
sata_saveenv();
return 0;
break;
case MX6_NAND_BOOT:
printf( "Save environment to NAND.... \r\n");
nand_saveenv();
setenv("bootmode", "NAND");
break;
default:
return 0;
break;
@@ -70,7 +70,6 @@
#define CONFIG_SPL_DMA_SUPPORT
#define CONFIG_SPL_NAND_SUPPORT
#ifdef CONFIG_SPL_NAND_SUPPORT
#define CONFIG_SYS_NAND_U_BOOT_OFFS 0x200000 /* offset 2MB */
/* offset 64KB */
@@ -218,7 +217,6 @@
#define CONFIG_SYS_NO_FLASH
/* Enable NAND support */
#define CONFIG_CMD_NAND
#define CONFIG_CMD_NAND_TRIMFFS
#define CONFIG_CMD_TIME

0 comments on commit 4d41ac9

Please sign in to comment.