diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2011-10-26 09:01:00 +0000 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2011-11-03 22:56:19 +0100 |
commit | 9c818b1b98b9f23b6cf301389af641e194f061b9 (patch) | |
tree | 38eba177aaf193db3cf95e8bea5bd31b82054df5 /board/freescale | |
parent | 4f521418359520591de630b16235311b31c94b6e (diff) | |
download | u-boot-imx-9c818b1b98b9f23b6cf301389af641e194f061b9.zip u-boot-imx-9c818b1b98b9f23b6cf301389af641e194f061b9.tar.gz u-boot-imx-9c818b1b98b9f23b6cf301389af641e194f061b9.tar.bz2 |
mx51evk: Remove unused get_board_rev function
No board information is passed for MX51EVK, so remove get_board_rev function.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Diffstat (limited to 'board/freescale')
-rw-r--r-- | board/freescale/mx51evk/mx51evk.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/board/freescale/mx51evk/mx51evk.c b/board/freescale/mx51evk/mx51evk.c index afb1c30..37e6e4d 100644 --- a/board/freescale/mx51evk/mx51evk.c +++ b/board/freescale/mx51evk/mx51evk.c @@ -38,8 +38,6 @@ DECLARE_GLOBAL_DATA_PTR; -static u32 system_rev; - #ifdef CONFIG_FSL_ESDHC struct fsl_esdhc_cfg esdhc_cfg[2] = { {MMC_SDHC1_BASE_ADDR, 1}, @@ -47,11 +45,6 @@ struct fsl_esdhc_cfg esdhc_cfg[2] = { }; #endif -u32 get_board_rev(void) -{ - return system_rev; -} - int dram_init(void) { /* dram_init must store complete ramsize in gd->ram_size */ @@ -404,8 +397,6 @@ int board_early_init_f(void) int board_init(void) { - system_rev = get_cpu_rev(); - /* address of boot parameters */ gd->bd->bi_boot_params = PHYS_SDRAM_1 + 0x100; |