summaryrefslogtreecommitdiff
path: root/board/k+p
diff options
context:
space:
mode:
authorLukasz Majewski <lukma@denx.de>2018-05-20 08:33:18 +0200
committerStefano Babic <sbabic@denx.de>2018-06-18 16:42:04 +0200
commit61c16507d6d6ce8e8f93c33450f936172a1347b0 (patch)
treea741e6a1f85c61d0022b328493549b5fe9ad80a0 /board/k+p
parente8d2f286ae48324f15d428d6dd1d6dc51664aa3f (diff)
board: Remove not needed function for the K+P's imx53 board
The get_board_rev() is not needed anymore as a generic function for the imx53 SoC has been used instead. Signed-off-by: Lukasz Majewski <lukma@denx.de>
Diffstat (limited to 'board/k+p')
-rw-r--r--board/k+p/kp_imx53/kp_imx53.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/board/k+p/kp_imx53/kp_imx53.c b/board/k+p/kp_imx53/kp_imx53.c
index 7e947fb617..becb6a63fa 100644
--- a/board/k+p/kp_imx53/kp_imx53.c
+++ b/board/k+p/kp_imx53/kp_imx53.c
@@ -45,18 +45,6 @@ int dram_init_banksize(void)
return 0;
}
-u32 get_board_rev(void)
-{
- struct iim_regs *iim = (struct iim_regs *)IMX_IIM_BASE;
- struct fuse_bank *bank = &iim->bank[0];
- struct fuse_bank0_regs *fuse =
- (struct fuse_bank0_regs *)bank->fuse_regs;
-
- int rev = readl(&fuse->gp[6]);
-
- return (get_cpu_rev() & ~(0xF << 8)) | (rev & 0xF) << 8;
-}
-
#ifdef CONFIG_USB_EHCI_MX5
int board_ehci_hcd_init(int port)
{