ReactOS
0.4.16-dev-753-g705a985
nandflash.h
Go to the documentation of this file.
1
/*
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
7
*/
8
9
/* INCLUDES *******************************************************************/
10
11
#include <string.h>
12
#include <stdio.h>
13
#include <fcntl.h>
14
#include <
typedefs.h
>
15
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
20
21
/* EOF */
typedefs.h
sdk
tools
nandflash
nandflash.h
Generated on Tue Feb 18 2025 06:15:11 for ReactOS by
1.9.6