Tool/software: Starterware
I am using sitara AM335x EVM board.
On board there is micron board having 256MB nand flash
In starterware code, Base address for this flash is takes as 0x10000000 and CS region size is 256 MB
It is initialised as follows
#define NAND_CS0_BASEADDR (0x10000000)
#define NAND_CS0_REGIONSIZE (GPMC_CS_SIZE_256MB) //256MB
Now on my custom board there is only one 512MB nand flash connected to chip select 0.
So what should be the base address and CS region size.
NAND flash is of 8 bit data size.