| 1 | /* |
| 2 | * nand_read.c: Simple NAND read functions for booting from NAND |
| 3 | * |
| 4 | * This is used by cpu/arm920/start.S assembler code, |
| 5 | * and the board-specific linker script must make sure this |
| 6 | * file is linked within the first 4kB of NAND flash. |
| 7 | * |
| 8 | * Taken from GPLv2 licensed vivi bootloader, |
| 9 | * Copyright (C) 2002 MIZI Research, Inc. |
| 10 | * |
| 11 | * Author: Hwang, Chideok <hwang@mizi.com> |
| 12 | * Date : $Date: 2004/02/04 10:37:37 $ |
| 13 | * |
| 14 | * u-boot integration and bad-block skipping (C) 2006 by OpenMoko, Inc. |
| 15 | * Author: Harald Welte <laforge@openmoko.org> |
| 16 | */ |
| 17 | #ifndef __NAND_READ_H |
| 18 | #define __NAND_READ_H |
| 19 | |
| 20 | int nand_read_ll(unsigned char *buf, unsigned long start_addr, int size); |
| 21 | |
| 22 | #endif /* __NAND_READ_H */ |
| 23 | |