cros_ec: Move #ifdef to permit flash region access
authorSimon Glass <sjg@chromium.org>
Thu, 27 Feb 2014 20:26:06 +0000 (13:26 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 18 Mar 2014 02:05:46 +0000 (20:05 -0600)
commit1c266b9214cc87307b1201d51efab22bda14fb8e
treeedf0dacdab39b20c5a5e244ba39a0aae20743868
parente0dd81e3aaffa58bd45a932c4cd1511cb491714a
cros_ec: Move #ifdef to permit flash region access

Flash region access is not tied to having commands, so adjust the #ifdef
to reflect this.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/misc/cros_ec.c