X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=include%2Fconfigs%2Fapollon.h;h=8f06cd708695af326efa1048e1d2150346c53cc2;hb=f5e5e1ff0ac3e2934f34174b6111c5f8eae1dd25;hp=ddac5fbab12222fec957efcf35168a48b6121555;hpb=2a49bf3149e34e6f910e70bbc0a26e81cfdbdf70;p=oweals%2Fu-boot.git diff --git a/include/configs/apollon.h b/include/configs/apollon.h index ddac5fbab1..8f06cd7086 100644 --- a/include/configs/apollon.h +++ b/include/configs/apollon.h @@ -37,6 +37,8 @@ #define CONFIG_APOLLON 1 #define CONFIG_APOLLON_PLUS 1 /* If you have apollon plus 1.x */ +#define CONFIG_ONENAND_U_BOOT y + /* Clock config to target*/ #define PRCM_CONFIG_I 1 /* #define PRCM_CONFIG_II 1 */ @@ -78,8 +80,6 @@ #define CONFIG_ENV_SIZE SZ_128K /* Total Size of Environment Sector */ #define CONFIG_ENV_SIZE_FLEX SZ_256K #define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + SZ_1M) -/* bytes reserved for initial data */ -#define CONFIG_SYS_GBL_DATA_SIZE 128 /* * Hardware drivers @@ -88,7 +88,7 @@ /* * SMC91c96 Etherent */ -#define CONFIG_DRIVER_LAN91C96 +#define CONFIG_LAN91C96 #define CONFIG_LAN91C96_BASE (APOLLON_CS1_BASE+0x300) #define CONFIG_LAN91C96_EXT_PHY @@ -184,10 +184,8 @@ /* * Miscellaneous configurable options */ -#define V_PROMPT "Apollon # " - #define CONFIG_SYS_LONGHELP /* undef to save memory */ -#define CONFIG_SYS_PROMPT V_PROMPT +#define CONFIG_SYS_PROMPT "Apollon # " #define CONFIG_SYS_CBSIZE 256 /* Console I/O Buffer Size */ /* Print Buffer Size */ #define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE+sizeof(CONFIG_SYS_PROMPT)+16) @@ -215,10 +213,6 @@ * The stack sizes are set up in start.S using the settings below */ #define CONFIG_STACKSIZE SZ_128K /* regular stack */ -#ifdef CONFIG_USE_IRQ -# define CONFIG_STACKSIZE_IRQ SZ_4K /* IRQ stack */ -# define CONFIG_STACKSIZE_FIQ SZ_4K /* FIQ stack */ -#endif /*----------------------------------------------------------------------- * Physical Memory Map @@ -258,8 +252,6 @@ #define CONFIG_ENV_ADDR 0x00020000 #define CONFIG_ENV_ADDR_FLEX 0x00040000 -#define CONFIG_SYS_64BIT_VSPRINTF /* needed for nand_util.c */ - #ifdef CONFIG_SYS_USE_UBI #define CONFIG_CMD_MTDPARTS #define MTDIDS_DEFAULT "onenand0=onenand" @@ -271,4 +263,8 @@ "-(ubifs)" #endif +#define PHYS_SRAM 0x4020F800 +#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 +#define CONFIG_SYS_INIT_SP_ADDR PHYS_SRAM + #endif /* __CONFIG_H */