diff options
author | Peng Fan <peng.fan@nxp.com> | 2016-03-17 09:55:42 +0800 |
---|---|---|
committer | Ye Li <ye.li@nxp.com> | 2016-03-25 16:43:35 +0800 |
commit | 8d48b6e11455ae64bf819d6b43e280d4a2904f8d (patch) | |
tree | 9f41715cac555b3bb08314dbed82872673eeb940 /cmd/sata.c | |
parent | ef3608bbe2c627d6c8b53ca96def61582524faf7 (diff) | |
download | u-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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, |