]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/configs/cogent_mpc8260.h
8260: Cleanup for partial linking and --gc-sections
[karo-tx-uboot.git] / include / configs / cogent_mpc8260.h
index c580230225dc9ff427460efcd8e1dc462871e34c..2997f52a7522a72703519c4cec0a962e4e188778 100644 (file)
 #define CONFIG_COGENT          1       /* using Cogent Modular Architecture */
 #define CONFIG_CPM2            1       /* Has a CPM2 */
 
+#define        CONFIG_SYS_TEXT_BASE    0xfff00000
+
 #define        CONFIG_MISC_INIT_F      1       /* Use misc_init_f()            */
+#define        CONFIG_MISC_INIT_R              /* Use misc_init_r()            */
 
 /* Cogent Modular Architecture options */
 #define CONFIG_CMA282          1       /* ...on a CMA282 CPU module    */
 #define CONFIG_CMD_KGDB
 
 #undef CONFIG_CMD_NET
-
+#undef CONFIG_CMD_NFS
 
 #ifdef DEBUG
 #define CONFIG_BOOTDELAY       -1      /* autoboot disabled            */
  * Definitions for initial stack pointer and data area (in DPRAM)
  */
 #define CONFIG_SYS_INIT_RAM_ADDR       CONFIG_SYS_IMMR
-#define        CONFIG_SYS_INIT_RAM_END 0x4000  /* End of used area in DPRAM    */
-#define        CONFIG_SYS_GBL_DATA_SIZE        128  /* size in bytes reserved for initial data */
-#define CONFIG_SYS_GBL_DATA_OFFSET     (CONFIG_SYS_INIT_RAM_END - CONFIG_SYS_GBL_DATA_SIZE)
+#define        CONFIG_SYS_INIT_RAM_SIZE        0x4000  /* Size of used area in DPRAM   */
+#define CONFIG_SYS_GBL_DATA_OFFSET     (CONFIG_SYS_INIT_RAM_SIZE - GENERATED_GBL_DATA_SIZE)
 #define        CONFIG_SYS_INIT_SP_OFFSET       CONFIG_SYS_GBL_DATA_OFFSET
 
 /*-----------------------------------------------------------------------
 #else
 #define CONFIG_SYS_FLASH_BASE          CMA_MB_FLASH_BASE       /* flash on m/b */
 #endif
-#define        CONFIG_SYS_MONITOR_BASE TEXT_BASE
+#define        CONFIG_SYS_MONITOR_BASE CONFIG_SYS_TEXT_BASE
 #define        CONFIG_SYS_MONITOR_LEN          (256 << 10)     /* Reserve 256 kB for Monitor   */
 #define        CONFIG_SYS_MALLOC_LEN           (128 << 10)     /* Reserve 128 kB for malloc()*/
 
  * (the *_SIZE vars must be a power of 2)
  */
 
-#define CONFIG_SYS_CMA_CS0_BASE        TEXT_BASE       /* EPROM */
+#define CONFIG_SYS_CMA_CS0_BASE        CONFIG_SYS_TEXT_BASE    /* EPROM */
 #define CONFIG_SYS_CMA_CS0_SIZE        (1 << 20)
 #if 0
 #define CONFIG_SYS_CMA_CS2_BASE        0x10000000      /* Local Bus SDRAM */
 #endif
 
 #endif
-
-/*
- * Internal Definitions
- *
- * Boot Flags
- */
-#define        BOOTFLAG_COLD   0x01            /* Normal Power-On: Boot from FLASH*/
-#define BOOTFLAG_WARM  0x02            /* Software reboot              */
-
 #endif /* __CONFIG_H */