env: Handle write-once ethaddr and serial# generically
authorJoe Hershberger <joe.hershberger@ni.com>
Wed, 12 Dec 2012 04:16:37 +0000 (22:16 -0600)
committerTom Rini <trini@ti.com>
Thu, 13 Dec 2012 18:46:57 +0000 (11:46 -0700)
commit1d6cd0a3f69b549a3fc7e735a045279e7a14947e
tree4abb7a50269c09b33e599f291bf6295b863e28e0
parent9d8d661d7fda6ccda1d5fc31565f207b7648bc6d
env: Handle write-once ethaddr and serial# generically

Use the variable access flags to implement the protection for ethaddr
and serial# instead of hard-coding them.

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
common/env_flags.c
include/env_flags.h
tools/env/fw_env.c