]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/cmi/cmi.c
imported Freescale specific U-Boot additions for i.MX28,... release L2.6.31_10.08.01
[karo-tx-uboot.git] / board / cmi / cmi.c
index cbf34f7854ea0146418ab35c4080646e3dc1ae36..b78183e13cd18405b9d00df3432a97d395c8f274 100755 (executable)
@@ -62,7 +62,7 @@ int checkboard(void)
 /*
  * Get RAM size.
  */
 /*
  * Get RAM size.
  */
-long int initdram(int board_type)
+phys_size_t initdram(int board_type)
 {
        return (SRAM_SIZE);             /* We currently have a static size adapted for cmi board. */
 }
 {
        return (SRAM_SIZE);             /* We currently have a static size adapted for cmi board. */
 }
@@ -70,4 +70,4 @@ long int initdram(int board_type)
 /*
  * Absolute environment address for linker file.
  */
 /*
  * Absolute environment address for linker file.
  */
-GEN_ABS(env_start, CFG_ENV_OFFSET + CFG_FLASH_BASE);
+GEN_ABS(env_start, CONFIG_ENV_OFFSET + CONFIG_SYS_FLASH_BASE);