diff options
author | wdenk <wdenk> | 2003-08-05 17:43:17 +0000 |
---|---|---|
committer | wdenk <wdenk> | 2003-08-05 17:43:17 +0000 |
commit | bdccc4fedcf9c5fc1f06e8f833d792198c9d04ae (patch) | |
tree | 00c1b93f6731d838eae4f8f688d4f95c14471d0a /include/common.h | |
parent | 96dd9af4c7c5669924c2e40734b246f207b9a8b4 (diff) |
* Map ISP1362 USB OTG controller for NSCU board
* Patch by Brad Parker, 02 Aug 2003:
fix sc520_cdp problems
* Implement Boot Cycle Detection (Req. 2.3 of OSDL CGL Reqirements)
* Allow erase command to cross flash bank boundaries
Diffstat (limited to 'include/common.h')
-rw-r--r-- | include/common.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/common.h b/include/common.h index 5158f97ece3..94007195852 100644 --- a/include/common.h +++ b/include/common.h @@ -236,7 +236,7 @@ extern void pic_write (uchar reg, uchar val); # define CFG_DEF_EEPROM_ADDR CFG_I2C_EEPROM_ADDR #endif /* CONFIG_SPI || !defined(CFG_I2C_EEPROM_ADDR) */ -#if defined(CONFIG_PCU_E) || defined(CONFIG_CCM) || defined(CONFIG_ATC) +#if defined(CONFIG_SPI) extern void spi_init_f (void); extern void spi_init_r (void); extern ssize_t spi_read (uchar *, int, uchar *, int); @@ -400,6 +400,9 @@ uint dpram_alloc(uint size); uint dpram_alloc_align(uint size,uint align); void post_word_store (ulong); ulong post_word_load (void); +void bootcount_store (ulong); +ulong bootcount_load (void); +#define BOOTCOUNT_MAGIC 0xB001C041 /* $(CPU)/.../<eth> */ void mii_init (void); |