mirror of
https://github.com/reactos/reactos.git
synced 2024-11-01 04:11:30 +00:00
22 lines
720 B
C
22 lines
720 B
C
/*
|
|
* PROJECT: OMAP3 NAND Flashing Utility
|
|
* LICENSE: BSD - See COPYING.ARM in the top level directory
|
|
* FILE: tools/nandflash/nandflash.h
|
|
* PURPOSE: Flashes OmapLDR, FreeLDR and a Root FS into a NAND image
|
|
* PROGRAMMERS: ReactOS Portable Systems Group
|
|
*/
|
|
|
|
/* INCLUDES *******************************************************************/
|
|
|
|
#include <string.h>
|
|
#include <stdio.h>
|
|
#include <fcntl.h>
|
|
#include <typedefs.h>
|
|
|
|
/* NAND Image Sizes */
|
|
#define NAND_PAGE_SIZE (2 * 1024) // 2 KB
|
|
#define NAND_OOB_SIZE 64 // 64 bytes
|
|
#define NAND_PAGES ((256 * 1024 * 1024) / NAND_PAGE_SIZE) // 256 MB
|
|
|
|
/* EOF */
|