env: allow flash and nand env driver to compile together
authorRajesh Bhagat <rajesh.bhagat@nxp.com>
Mon, 5 Nov 2018 18:01:10 +0000 (18:01 +0000)
committerYork Sun <york.sun@nxp.com>
Tue, 4 Dec 2018 21:07:13 +0000 (13:07 -0800)
commitb6cba297affba968a8d8465655c71cb3ec8a9bde
tree7c25dbcfd59cd82f3099f76ebdcb704f9c58d8d7
parentd171c70716d49f0e14eb357ab645c8e72b791ca1
env: allow flash and nand env driver to compile together

Define env_ptr as static in flash and nand env driver to
allow these to compile together.

Signed-off-by: Rajesh Bhagat <rajesh.bhagat@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
env/flash.c
env/nand.c
include/environment.h