summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorDirk Eibach <dirk.eibach@gdsys.cc>2014-07-03 09:28:15 +0200
committerTom Rini <trini@ti.com>2014-07-07 19:47:18 -0400
commite9e374216f8718b14b075c9a8420a770ab23f5e1 (patch)
tree6b0128b73c3141a337b2192c1f61f52dba80dcfb /board
parentc2b951b0db7311256be5d01ab8f57ad0459acb7e (diff)
downloadu-boot-imx-e9e374216f8718b14b075c9a8420a770ab23f5e1.zip
u-boot-imx-e9e374216f8718b14b075c9a8420a770ab23f5e1.tar.gz
u-boot-imx-e9e374216f8718b14b075c9a8420a770ab23f5e1.tar.bz2
board: gdsys: Adapt sdhc_boot.c to mmc_get_env_addr API change
Signed-off-by: Dirk Eibach <dirk.eibach@gdsys.cc>
Diffstat (limited to 'board')
-rw-r--r--board/gdsys/p1022/sdhc_boot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/gdsys/p1022/sdhc_boot.c b/board/gdsys/p1022/sdhc_boot.c
index e432318..fd0e910 100644
--- a/board/gdsys/p1022/sdhc_boot.c
+++ b/board/gdsys/p1022/sdhc_boot.c
@@ -32,7 +32,7 @@
#define ESDHC_BOOT_IMAGE_SIZE 0x48
#define ESDHC_BOOT_IMAGE_ADDR 0x50
-int mmc_get_env_addr(struct mmc *mmc, u32 *env_addr)
+int mmc_get_env_addr(struct mmc *mmc, int copy, u32 *env_addr)
{
u8 *tmp_buf;
u32 blklen, code_offset, code_len, n;