summaryrefslogtreecommitdiff
path: root/board/freescale/imx8mp_evk
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2020-05-27 02:33:46 +0300
committerStefano Babic <sbabic@denx.de>2020-06-08 11:42:26 +0300
commit87f6e2f51e337623b1794e916d8b8eb654736c0d (patch)
tree2daf7ab2ff76fd2a60e0467a374c3da44cd6d798 /board/freescale/imx8mp_evk
parentc04b41b3299d7d82c4b991a200bef137d4991a85 (diff)
downloadu-boot-87f6e2f51e337623b1794e916d8b8eb654736c0d.tar.xz
imx8mp_evk: spl: drop useless code
Drop useless getting ccm device, there is no need to explicted do this in board code, and we not enable SPL CLK currently. Signed-off-by: Peng Fan <peng.fan@nxp.com> Signed-off-by: Fabio Estevam <festevam@gmail.com>
Diffstat (limited to 'board/freescale/imx8mp_evk')
-rw-r--r--board/freescale/imx8mp_evk/spl.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/board/freescale/imx8mp_evk/spl.c b/board/freescale/imx8mp_evk/spl.c
index cd5b32c3f8..f2cc177757 100644
--- a/board/freescale/imx8mp_evk/spl.c
+++ b/board/freescale/imx8mp_evk/spl.c
@@ -29,11 +29,6 @@
#include <mmc.h>
#include <asm/arch/ddr.h>
-#include <dm/uclass.h>
-#include <dm/device.h>
-#include <dm/uclass-internal.h>
-#include <dm/device-internal.h>
-
DECLARE_GLOBAL_DATA_PTR;
int spl_board_boot_device(enum boot_device boot_dev_spl)
@@ -48,16 +43,7 @@ void spl_dram_init(void)
void spl_board_init(void)
{
- struct udevice *dev;
- int ret;
-
puts("Normal Boot\n");
-
- ret = uclass_get_device_by_name(UCLASS_CLK,
- "clock-controller@30380000",
- &dev);
- if (ret < 0)
- printf("Failed to find clock node. Check device tree\n");
}
#define I2C_PAD_CTRL (PAD_CTL_DSE6 | PAD_CTL_HYS | PAD_CTL_PUE | PAD_CTL_PE)