NAND: Fix warning due to missing env_ptr casts to u_char * in env_nand.c.
authorMarcel Ziswiler <marcel@ziswiler.com>
Sun, 22 Jun 2008 14:13:46 +0000 (16:13 +0200)
committerScott Wood <scottwood@freescale.com>
Wed, 9 Jul 2008 22:24:47 +0000 (17:24 -0500)
commit99c2b434d37863df5dda5207a53760c6506fc2be
tree169f8025d06e1c6d4865d64e8a6dd41e119d680b
parent3167c5386ea1c98b638be5d8763ef6d5938ef1bd
NAND: Fix warning due to missing env_ptr casts to u_char * in env_nand.c.

The writeenv() and readenv() calls introduced by the recently added bad block
management for environment variables were missing casts therefore producing
compile time warnings.
While at it fixing some typo in a comment and indentation.

Signed-off-by: Marcel Ziswiler <marcel@ziswiler.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
common/env_nand.c