mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-12 05:25:11 -04:00
AT91CAP9 support : build integration
Signed-off-by: Stelian Pop <stelian@popies.net>
This commit is contained in:
parent
d49fe4bed5
commit
20b197c6f2
4
CREDITS
4
CREDITS
@ -391,6 +391,10 @@ E: dan.poirot@windriver.com
|
|||||||
D: Support for the Wind River sbc405, sbc8240 board
|
D: Support for the Wind River sbc405, sbc8240 board
|
||||||
W: http://www.windriver.com
|
W: http://www.windriver.com
|
||||||
|
|
||||||
|
N: Stelian Pop
|
||||||
|
E: stelian.pop@leadtechdesign.com
|
||||||
|
D: Atmel AT91CAP9ADK support
|
||||||
|
|
||||||
N: Stefan Roese
|
N: Stefan Roese
|
||||||
E: sr@denx.de
|
E: sr@denx.de
|
||||||
D: AMCC PPC4xx Support
|
D: AMCC PPC4xx Support
|
||||||
|
1
MAKEALL
1
MAKEALL
@ -446,6 +446,7 @@ LIST_ARM7=" \
|
|||||||
#########################################################################
|
#########################################################################
|
||||||
|
|
||||||
LIST_ARM9=" \
|
LIST_ARM9=" \
|
||||||
|
at91cap9adk \
|
||||||
at91rm9200dk \
|
at91rm9200dk \
|
||||||
cmc_pu2 \
|
cmc_pu2 \
|
||||||
ap920t \
|
ap920t \
|
||||||
|
3
Makefile
3
Makefile
@ -2296,6 +2296,9 @@ xtract_omap1610xxx = $(subst _cs0boot,,$(subst _cs3boot,,$(subst _cs_autoboot,,$
|
|||||||
|
|
||||||
xtract_omap730p2 = $(subst _cs0boot,,$(subst _cs3boot,, $(subst _config,,$1)))
|
xtract_omap730p2 = $(subst _cs0boot,,$(subst _cs3boot,, $(subst _config,,$1)))
|
||||||
|
|
||||||
|
at91cap9adk_config : unconfig
|
||||||
|
@$(MKCONFIG) $(@:_config=) arm arm926ejs at91cap9adk NULL at91cap9
|
||||||
|
|
||||||
at91rm9200dk_config : unconfig
|
at91rm9200dk_config : unconfig
|
||||||
@$(MKCONFIG) $(@:_config=) arm arm920t at91rm9200dk NULL at91rm9200
|
@$(MKCONFIG) $(@:_config=) arm arm920t at91rm9200dk NULL at91rm9200
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@ struct dataflash_addr cs[CFG_MAX_DATAFLASH_BANKS] = {
|
|||||||
{CFG_DATAFLASH_LOGIC_ADDR_CS0, 0}, /* Logical adress, CS */
|
{CFG_DATAFLASH_LOGIC_ADDR_CS0, 0}, /* Logical adress, CS */
|
||||||
{CFG_DATAFLASH_LOGIC_ADDR_CS1, 1}
|
{CFG_DATAFLASH_LOGIC_ADDR_CS1, 1}
|
||||||
};
|
};
|
||||||
#elif defined(CONFIG_AT91SAM9263EK)
|
#elif defined(CONFIG_AT91SAM9263EK) || defined(CONFIG_AT91CAP9ADK)
|
||||||
struct dataflash_addr cs[CFG_MAX_DATAFLASH_BANKS] = {
|
struct dataflash_addr cs[CFG_MAX_DATAFLASH_BANKS] = {
|
||||||
{CFG_DATAFLASH_LOGIC_ADDR_CS0, 0}, /* Logical adress, CS */
|
{CFG_DATAFLASH_LOGIC_ADDR_CS0, 0}, /* Logical adress, CS */
|
||||||
};
|
};
|
||||||
@ -48,7 +48,8 @@ struct dataflash_addr cs[CFG_MAX_DATAFLASH_BANKS] = {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*define the area offsets*/
|
/*define the area offsets*/
|
||||||
#if defined(CONFIG_AT91SAM9261EK) || defined(CONFIG_AT91SAM9260EK) || defined(CONFIG_AT91SAM9263EK)
|
#if defined(CONFIG_AT91SAM9261EK) || defined(CONFIG_AT91SAM9260EK) || \
|
||||||
|
defined(CONFIG_AT91SAM9263EK) || defined(CONFIG_AT91CAP9ADK)
|
||||||
#if defined(CONFIG_NEW_PARTITION)
|
#if defined(CONFIG_NEW_PARTITION)
|
||||||
dataflash_protect_t area_list[NB_DATAFLASH_AREA] = {
|
dataflash_protect_t area_list[NB_DATAFLASH_AREA] = {
|
||||||
{0x00000000, 0x00003FFF, FLAG_PROTECT_SET, 0, "Bootstrap"}, /* ROM code */
|
{0x00000000, 0x00003FFF, FLAG_PROTECT_SET, 0, "Bootstrap"}, /* ROM code */
|
||||||
|
@ -63,6 +63,7 @@ extern int atstk1000_eth_initialize(bd_t *);
|
|||||||
extern int atngw100_eth_initialize(bd_t *);
|
extern int atngw100_eth_initialize(bd_t *);
|
||||||
extern int mcffec_initialize(bd_t*);
|
extern int mcffec_initialize(bd_t*);
|
||||||
extern int mcdmafec_initialize(bd_t*);
|
extern int mcdmafec_initialize(bd_t*);
|
||||||
|
extern int at91cap9_eth_initialize(bd_t *);
|
||||||
|
|
||||||
#ifdef CONFIG_API
|
#ifdef CONFIG_API
|
||||||
extern void (*push_packet)(volatile void *, int);
|
extern void (*push_packet)(volatile void *, int);
|
||||||
@ -283,6 +284,9 @@ int eth_initialize(bd_t *bis)
|
|||||||
#if defined(CONFIG_FSLDMAFEC)
|
#if defined(CONFIG_FSLDMAFEC)
|
||||||
mcdmafec_initialize(bis);
|
mcdmafec_initialize(bis);
|
||||||
#endif
|
#endif
|
||||||
|
#if defined(CONFIG_AT91CAP9)
|
||||||
|
at91cap9_eth_initialize(bis);
|
||||||
|
#endif
|
||||||
|
|
||||||
if (!eth_devices) {
|
if (!eth_devices) {
|
||||||
puts ("No ethernet found.\n");
|
puts ("No ethernet found.\n");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user