2 * PROJECT: OMAP3 NAND Flashing Utility
3 * LICENSE: BSD - See COPYING.ARM in the top level directory
4 * FILE: tools/nandflash/nandflash.h
5 * PURPOSE: Flashes OmapLDR, FreeLDR and a Root FS into a NAND image
6 * PROGRAMMERS: ReactOS Portable Systems Group
9 /* INCLUDES *******************************************************************/
16 /* NAND Image Sizes */
17 #define NAND_PAGE_SIZE (2 * 1024) // 2 KB
18 #define NAND_OOB_SIZE 64 // 64 bytes
19 #define NAND_PAGES ((256 * 1024 * 1024) / NAND_PAGE_SIZE) // 256 MB