diff options
author | Stefan Roese <sr@denx.de> | 2006-10-20 14:28:52 +0200 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2006-10-20 15:17:55 +0200 |
commit | 43a2b0e76a56995f17e1b7628c192ebafe6051ee (patch) | |
tree | 38eca89a07197a458f46aecc4bfc2901b54e8fc6 /include/nand.h | |
parent | 73652699dd224dffb5cd8cca24d767bed02d7a28 (diff) |
Add board/cpu specific NAND chip select function to 440 NDFC
Based on idea and implementation from Jeff Mann
Patch by Stefan Roese, 20 Oct 2006
Diffstat (limited to 'include/nand.h')
-rw-r--r-- | include/nand.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/nand.h b/include/nand.h index 5c7311fd505..23493f7e984 100644 --- a/include/nand.h +++ b/include/nand.h @@ -117,4 +117,8 @@ int nand_lock( nand_info_t *meminfo, int tight ); int nand_unlock( nand_info_t *meminfo, ulong start, ulong length ); int nand_get_lock_status(nand_info_t *meminfo, ulong offset); +#ifdef CFG_NAND_SELECT_DEVICE +void board_nand_select_device(struct nand_chip *nand, int chip); +#endif + #endif |