2007-07-15 18:02:38 +03:00
|
|
|
#ifndef _CONFIG_H_
|
|
|
|
#define _CONFIG_H_
|
|
|
|
|
|
|
|
#define FLASH_2M (2<<20)
|
|
|
|
#define FLASH_4M (4<<20)
|
|
|
|
|
2007-06-25 11:47:10 +03:00
|
|
|
/*
|
|
|
|
* Cellvision/SparkLAN boards
|
|
|
|
*/
|
|
|
|
|
|
|
|
#if defined(CONFIG_BOARD_CAS630)
|
|
|
|
# define CONFIG_BOARD_NAME "CAS-630"
|
2007-07-15 18:02:38 +03:00
|
|
|
# define CONFIG_FLASH_SIZE FLASH_4M
|
2007-06-25 11:47:10 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined(CONFIG_BOARD_CAS670)
|
|
|
|
# define CONFIG_BOARD_NAME "CAS-670"
|
2007-07-15 18:02:38 +03:00
|
|
|
# define CONFIG_FLASH_SIZE FLASH_4M
|
2007-06-25 11:47:10 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined(CONFIG_BOARD_CAS700)
|
|
|
|
# define CONFIG_BOARD_NAME "CAS-700"
|
2007-07-15 18:02:38 +03:00
|
|
|
# define CONFIG_FLASH_SIZE FLASH_4M
|
2007-06-25 11:47:10 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined(CONFIG_BOARD_CAS790)
|
|
|
|
# define CONFIG_BOARD_NAME "CAS-790"
|
2007-07-15 18:02:38 +03:00
|
|
|
# define CONFIG_FLASH_SIZE FLASH_4M
|
2007-06-25 11:47:10 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined(CONFIG_BOARD_CAS771)
|
|
|
|
# define CONFIG_BOARD_NAME "CAS-771"
|
2007-07-15 18:02:38 +03:00
|
|
|
# define CONFIG_FLASH_SIZE FLASH_4M
|
2007-06-25 11:47:10 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined(CONFIG_BOARD_CAS861)
|
|
|
|
# define CONFIG_BOARD_NAME "CAS-861"
|
2007-07-15 18:02:38 +03:00
|
|
|
# define CONFIG_FLASH_SIZE FLASH_4M
|
2007-06-25 11:47:10 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined(CONFIG_BOARD_NFS101U)
|
|
|
|
# define CONFIG_BOARD_NAME "NFS-101U"
|
2007-07-15 18:02:38 +03:00
|
|
|
# define CONFIG_FLASH_SIZE FLASH_4M
|
2007-06-25 11:47:10 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined(CONFIG_BOARD_NFS202U)
|
|
|
|
# define CONFIG_BOARD_NAME "NFS-202U"
|
2007-07-15 18:02:38 +03:00
|
|
|
# define CONFIG_FLASH_SIZE FLASH_4M
|
2007-06-25 11:47:10 +03:00
|
|
|
#endif
|
|
|
|
|
2007-07-23 16:33:56 +03:00
|
|
|
/*
|
|
|
|
* Compex boards
|
|
|
|
*/
|
|
|
|
#if defined(CONFIG_BOARD_WP54GWRT)
|
|
|
|
# define CONFIG_BOARD_NAME "WP54G-WRT"
|
|
|
|
# define CONFIG_FLASH_SIZE FLASH_4M
|
|
|
|
#endif
|
|
|
|
|
2007-06-25 11:47:10 +03:00
|
|
|
/*
|
|
|
|
* Edimax boards
|
|
|
|
*/
|
|
|
|
#if defined(CONFIG_BOARD_BR6104K)
|
|
|
|
# define CONFIG_BOARD_NAME "BR-6104K"
|
2007-07-15 18:02:38 +03:00
|
|
|
# define CONFIG_FLASH_SIZE FLASH_2M
|
2007-06-25 11:47:10 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined(CONFIG_BOARD_BR6104KP)
|
|
|
|
# define CONFIG_BOARD_NAME "BR-6104KP"
|
2007-07-15 18:02:38 +03:00
|
|
|
# define CONFIG_FLASH_SIZE FLASH_2M
|
2007-06-25 11:47:10 +03:00
|
|
|
#endif
|
|
|
|
|
2007-10-18 10:40:01 +03:00
|
|
|
#if defined(CONFIG_BOARD_BR6104WG)
|
|
|
|
# define CONFIG_BOARD_NAME "BR-6104WG"
|
|
|
|
# define CONFIG_FLASH_SIZE FLASH_2M
|
|
|
|
#endif
|
|
|
|
|
2007-06-25 11:47:10 +03:00
|
|
|
/*
|
|
|
|
* Infineon boards
|
|
|
|
*/
|
2007-07-17 18:43:58 +03:00
|
|
|
#if defined(CONFIG_BOARD_EASY5120PATA)
|
|
|
|
# define CONFIG_BOARD_NAME "EASY 5120P-ATA"
|
|
|
|
# define CONFIG_FLASH_SIZE FLASH_4M
|
2007-06-25 11:47:10 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined(CONFIG_BOARD_EASY5120RT)
|
|
|
|
# define CONFIG_BOARD_NAME "EASY 5120-RT"
|
2007-07-17 18:43:58 +03:00
|
|
|
# define CONFIG_FLASH_SIZE FLASH_4M
|
2007-06-25 11:47:10 +03:00
|
|
|
#endif
|
|
|
|
|
2007-07-17 18:43:58 +03:00
|
|
|
#if defined(CONFIG_BOARD_EASY5120WVOIP)
|
|
|
|
# define CONFIG_BOARD_NAME "EASY 5120-WVOIP"
|
|
|
|
# define CONFIG_FLASH_SIZE FLASH_4M
|
2007-06-25 11:47:10 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined(CONFIG_BOARD_EASY83000)
|
|
|
|
# define CONFIG_BOARD_NAME "EASY 83000"
|
2007-07-15 18:02:38 +03:00
|
|
|
# define CONFIG_FLASH_SIZE FLASH_4M
|
2007-06-25 11:47:10 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
/*
|
|
|
|
* ZyXEL boards
|
|
|
|
*/
|
|
|
|
#if defined(CONFIG_BOARD_P334WT)
|
|
|
|
# define CONFIG_BOARD_NAME "P-334WT"
|
2007-07-15 18:02:38 +03:00
|
|
|
# define CONFIG_FLASH_SIZE FLASH_4M
|
2007-06-25 11:47:10 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined(CONFIG_BOARD_P335)
|
|
|
|
# define CONFIG_BOARD_NAME "P-335"
|
2007-07-15 18:02:38 +03:00
|
|
|
# define CONFIG_FLASH_SIZE FLASH_4M
|
2007-06-25 11:47:10 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Default values
|
|
|
|
*/
|
|
|
|
#ifndef CONFIG_BOARD_NAME
|
|
|
|
# define CONFIG_BOARD_NAME "ADM5120"
|
|
|
|
#endif
|
2007-07-15 18:02:38 +03:00
|
|
|
|
|
|
|
#ifndef CONFIG_FLASH_SIZE
|
|
|
|
# define CONFIG_FLASH_SIZE FLASH_2M
|
|
|
|
#endif
|
|
|
|
|
2007-07-17 18:43:58 +03:00
|
|
|
#endif /* _CONFIG_H_ */
|