diff options
author | Terry Lv <r65388@freescale.com> | 2011-08-12 12:53:18 +0800 |
---|---|---|
committer | Terry Lv <r65388@freescale.com> | 2011-09-01 11:45:02 +0800 |
commit | d187eb3675f1408d206e9013bcde38793f5d1ca8 (patch) | |
tree | dccc366b52446bd0834a4e9b916cf60a0d0881f5 /board/freescale | |
parent | 3d7fa1dc1c9ea7e03abc89d7b1b2193305564fab (diff) | |
download | u-boot-imx-d187eb3675f1408d206e9013bcde38793f5d1ca8.zip u-boot-imx-d187eb3675f1408d206e9013bcde38793f5d1ca8.tar.gz u-boot-imx-d187eb3675f1408d206e9013bcde38793f5d1ca8.tar.bz2 |
ENGR00154666-2: Align u-boot mmc command with community
Trivial change to remove build warnings.
Signed-off-by: Terry Lv <r65388@freescale.com>
Diffstat (limited to 'board/freescale')
-rwxr-xr-x | board/freescale/mx53_ard/mx53_ard.c | 2 | ||||
-rw-r--r-- | board/freescale/mx53_evk/mx53_evk.c | 2 | ||||
-rw-r--r-- | board/freescale/mx53_loco/mx53_loco.c | 2 | ||||
-rw-r--r-- | board/freescale/mx53_pcba/mx53_pcba.c | 2 | ||||
-rw-r--r-- | board/freescale/mx53_smd/mx53_smd.c | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/board/freescale/mx53_ard/mx53_ard.c b/board/freescale/mx53_ard/mx53_ard.c index 08fbbe8..29fd1c6 100755 --- a/board/freescale/mx53_ard/mx53_ard.c +++ b/board/freescale/mx53_ard/mx53_ard.c @@ -657,7 +657,7 @@ struct fsl_esdhc_cfg esdhc_cfg[2] = { }; #ifdef CONFIG_DYNAMIC_MMC_DEVNO -int get_mmc_env_devno() +int get_mmc_env_devno(void) { uint soc_sbmr = readl(SRC_BASE_ADDR + 0x4); return (soc_sbmr & 0x00300000) ? 1 : 0; diff --git a/board/freescale/mx53_evk/mx53_evk.c b/board/freescale/mx53_evk/mx53_evk.c index f4d2317..4193557 100644 --- a/board/freescale/mx53_evk/mx53_evk.c +++ b/board/freescale/mx53_evk/mx53_evk.c @@ -771,7 +771,7 @@ struct fsl_esdhc_cfg esdhc_cfg[2] = { }; #ifdef CONFIG_DYNAMIC_MMC_DEVNO -int get_mmc_env_devno() +int get_mmc_env_devno(void) { uint soc_sbmr = readl(SRC_BASE_ADDR + 0x4); return (soc_sbmr & 0x00300000) ? 1 : 0; diff --git a/board/freescale/mx53_loco/mx53_loco.c b/board/freescale/mx53_loco/mx53_loco.c index caa476a..a96c417 100644 --- a/board/freescale/mx53_loco/mx53_loco.c +++ b/board/freescale/mx53_loco/mx53_loco.c @@ -449,7 +449,7 @@ struct fsl_esdhc_cfg esdhc_cfg[2] = { }; #ifdef CONFIG_DYNAMIC_MMC_DEVNO -int get_mmc_env_devno() +int get_mmc_env_devno(void) { uint soc_sbmr = readl(SRC_BASE_ADDR + 0x4); return (soc_sbmr & 0x00300000) ? 1 : 0; diff --git a/board/freescale/mx53_pcba/mx53_pcba.c b/board/freescale/mx53_pcba/mx53_pcba.c index 24cb45a..e3c9621 100644 --- a/board/freescale/mx53_pcba/mx53_pcba.c +++ b/board/freescale/mx53_pcba/mx53_pcba.c @@ -371,7 +371,7 @@ struct fsl_esdhc_cfg esdhc_cfg[2] = { }; #ifdef CONFIG_DYNAMIC_MMC_DEVNO -int get_mmc_env_devno() +int get_mmc_env_devno(void) { uint soc_sbmr = readl(SRC_BASE_ADDR + 0x4); return (soc_sbmr & 0x00300000) ? 1 : 0; diff --git a/board/freescale/mx53_smd/mx53_smd.c b/board/freescale/mx53_smd/mx53_smd.c index a1e5c5c..b471a7b 100644 --- a/board/freescale/mx53_smd/mx53_smd.c +++ b/board/freescale/mx53_smd/mx53_smd.c @@ -637,7 +637,7 @@ struct fsl_esdhc_cfg esdhc_cfg[2] = { }; #ifdef CONFIG_DYNAMIC_MMC_DEVNO -int get_mmc_env_devno() +int get_mmc_env_devno(void) { uint soc_sbmr = readl(SRC_BASE_ADDR + 0x4); return (soc_sbmr & 0x00300000) ? 1 : 0; |