summaryrefslogtreecommitdiff
path: root/common/cmd_sata.c
diff options
context:
space:
mode:
authorPeng Fan <Peng.Fan@freescale.com>2015-03-07 16:25:26 +0800
committerPeng Fan <Peng.Fan@freescale.com>2015-04-29 14:52:33 +0800
commite77c1d3dfb05fce2da844f355a7e0f3f2ce8a977 (patch)
treec314ba5124a62a40a2d2ff9558de74fdb5b03665 /common/cmd_sata.c
parent17d2a94e94449163a132b4485d7a7fe22dbcded6 (diff)
downloadu-boot-imx-e77c1d3dfb05fce2da844f355a7e0f3f2ce8a977.zip
u-boot-imx-e77c1d3dfb05fce2da844f355a7e0f3f2ce8a977.tar.gz
u-boot-imx-e77c1d3dfb05fce2da844f355a7e0f3f2ce8a977.tar.bz2
MLK-10774-9 common: add sata command
Add sata command Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
Diffstat (limited to 'common/cmd_sata.c')
-rw-r--r--common/cmd_sata.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/cmd_sata.c b/common/cmd_sata.c
index 51f6703..0f79351 100644
--- a/common/cmd_sata.c
+++ b/common/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-2014 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];
int __sata_initialize(void)