]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
board: Remove not needed function for the K+P's imx53 board
authorLukasz Majewski <lukma@denx.de>
Sun, 20 May 2018 06:33:18 +0000 (08:33 +0200)
committerStefano Babic <sbabic@denx.de>
Mon, 18 Jun 2018 14:42:04 +0000 (16:42 +0200)
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>
board/k+p/kp_imx53/kp_imx53.c

index 7e947fb6176f03f19bd53bea9c9b95a5c9b7b8e0..becb6a63faaaa3eb96f3a2cd6c31023059c41bf6 100644 (file)
@@ -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)
 {