mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 00:12:57 +00:00
Create the AHCI branch for Aman's work
svn path=/branches/GSoC_2016/AHCI/; revision=71203
This commit is contained in:
parent
a5f9846eb9
commit
321bcc056d
22738 changed files with 0 additions and 1285453 deletions
21
sdk/tools/nandflash/nandflash.h
Normal file
21
sdk/tools/nandflash/nandflash.h
Normal file
|
@ -0,0 +1,21 @@
|
|||
/*
|
||||
* 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 */
|
Loading…
Add table
Add a link
Reference in a new issue