summaryrefslogtreecommitdiff
path: root/board/ti
diff options
context:
space:
mode:
authorHao Zhang <hzhang@ti.com>2014-07-09 19:48:43 +0300
committerTom Rini <trini@ti.com>2014-07-25 16:26:10 -0400
commit4984bce41fe78da160ccdad573b09b40e277ec7a (patch)
tree3da5d2729d1eb33a439557982d3b864a0e4cfb3d /board/ti
parent35c547c2bc59dd63cdf76f81abe26f68e9eaf7fb (diff)
downloadu-boot-imx-4984bce41fe78da160ccdad573b09b40e277ec7a.zip
u-boot-imx-4984bce41fe78da160ccdad573b09b40e277ec7a.tar.gz
u-boot-imx-4984bce41fe78da160ccdad573b09b40e277ec7a.tar.bz2
keystone2: move cpu_to_bus() to keystone.c
The SoC related common functions in board.c should be placed to a common keystone.c arch file. Acked-by: Murali Karicheri <m-maricheri2@ti.com> Signed-off-by: Hao Zhang <hzhang@ti.com> Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
Diffstat (limited to 'board/ti')
-rw-r--r--board/ti/k2hk_evm/board.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/board/ti/k2hk_evm/board.c b/board/ti/k2hk_evm/board.c
index f910ebe..3333eb0 100644
--- a/board/ti/k2hk_evm/board.c
+++ b/board/ti/k2hk_evm/board.c
@@ -23,8 +23,6 @@
DECLARE_GLOBAL_DATA_PTR;
-u32 device_big_endian;
-
unsigned int external_clk[ext_clk_count] = {
[sys_clk] = 122880000,
[alt_core_clk] = 125000000,
@@ -136,18 +134,6 @@ int board_eth_init(bd_t *bis)
}
#endif
-/* Byte swap the 32-bit data if the device is BE */
-int cpu_to_bus(u32 *ptr, u32 length)
-{
- u32 i;
-
- if (device_big_endian)
- for (i = 0; i < length; i++, ptr++)
- *ptr = __swab32(*ptr);
-
- return 0;
-}
-
#if defined(CONFIG_BOARD_EARLY_INIT_F)
int board_early_init_f(void)
{