We do not need these names. Moreover, there are spelling typos
there: "nansin" instead of "nandsim".
This patch is just a clean up, no functional changes.
Reported-by: Ferenc Wagner <wferi@niif.hu>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
union ns_mem buf;
/* NAND flash "geometry" */
union ns_mem buf;
/* NAND flash "geometry" */
- struct nandsin_geometry {
uint64_t totsz; /* total flash size, bytes */
uint32_t secsz; /* flash sector (erase block) size, bytes */
uint pgsz; /* NAND flash page size, bytes */
uint64_t totsz; /* total flash size, bytes */
uint32_t secsz; /* flash sector (erase block) size, bytes */
uint pgsz; /* NAND flash page size, bytes */
} geom;
/* NAND flash internal registers */
} geom;
/* NAND flash internal registers */
unsigned command; /* the command register */
u_char status; /* the status register */
uint row; /* the page number */
unsigned command; /* the command register */
u_char status; /* the status register */
uint row; /* the page number */
} regs;
/* NAND flash lines state */
} regs;
/* NAND flash lines state */
- struct ns_lines_status {
int ce; /* chip Enable */
int cle; /* command Latch Enable */
int ale; /* address Latch Enable */
int ce; /* chip Enable */
int cle; /* command Latch Enable */
int ale; /* address Latch Enable */