summaryrefslogtreecommitdiff
path: root/cmd/sata.c
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2016-03-17 09:55:42 +0800
committerYe Li <ye.li@nxp.com>2016-03-25 16:43:35 +0800
commit8d48b6e11455ae64bf819d6b43e280d4a2904f8d (patch)
tree9f41715cac555b3bb08314dbed82872673eeb940 /cmd/sata.c
parentef3608bbe2c627d6c8b53ca96def61582524faf7 (diff)
downloadu-boot-imx-8d48b6e11455ae64bf819d6b43e280d4a2904f8d.zip
u-boot-imx-8d48b6e11455ae64bf819d6b43e280d4a2904f8d.tar.gz
u-boot-imx-8d48b6e11455ae64bf819d6b43e280d4a2904f8d.tar.bz2
MLK-12416-11: support saveenv for sata
Support saveenv for sata. Signed-off-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'cmd/sata.c')
-rw-r--r--cmd/sata.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/sata.c b/cmd/sata.c
index 76bacea..8012a17 100644
--- a/cmd/sata.c
+++ b/cmd/sata.c
@@ -4,7 +4,7 @@
* Copyright (C) Procsys. All rights reserved.
* Mushtaq Khan <mushtaq_k@procsys.com>
* <mushtaqk_921@yahoo.co.in>
- * Copyright (C) 2008 Freescale Semiconductor, Inc.
+ * Copyright (C) 2008-2016 Freescale Semiconductor, Inc.
* Dave Liu <daveliu@freescale.com>
*
* SPDX-License-Identifier: GPL-2.0+
@@ -15,7 +15,7 @@
#include <part.h>
#include <sata.h>
-static int sata_curr_device = -1;
+int sata_curr_device = -1;
block_dev_desc_t sata_dev_desc[CONFIG_SYS_SATA_MAX_DEVICE];
static unsigned long sata_bread(block_dev_desc_t *block_dev, lbaint_t start,