public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH v3 1/5] imx8mp_evk: spl: drop useless code
@ 2020-05-26 23:33 Fabio Estevam
  2020-05-26 23:33 ` [PATCH v3 2/5] imx8mp_evk: spl: drop timer_init Fabio Estevam
                   ` (5 more replies)
  0 siblings, 6 replies; 12+ messages in thread
From: Fabio Estevam @ 2020-05-26 23:33 UTC (permalink / raw)
  To: u-boot

From: Peng Fan <peng.fan@nxp.com>

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>
---
Changes since v2:
- None. Rebased against U-Boot master

 board/freescale/imx8mp_evk/spl.c | 14 --------------
 1 file changed, 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 at 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)
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2020-06-08 17:23 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-26 23:33 [PATCH v3 1/5] imx8mp_evk: spl: drop useless code Fabio Estevam
2020-05-26 23:33 ` [PATCH v3 2/5] imx8mp_evk: spl: drop timer_init Fabio Estevam
2020-06-08 17:22   ` sbabic at denx.de
2020-05-26 23:33 ` [PATCH v3 3/5] imx8mp_evk: spl: use spl_early_init Fabio Estevam
2020-06-08 17:22   ` sbabic at denx.de
2020-05-26 23:33 ` [PATCH v3 4/5] imx8mp_evk: spl: no need the code since spl framework could do that Fabio Estevam
2020-06-08 17:22   ` sbabic at denx.de
2020-05-26 23:33 ` [PATCH v3 5/5] imx: imx8mp_evk: fix boot issue Fabio Estevam
2020-06-08 17:23   ` sbabic at denx.de
2020-06-04 12:09 ` [PATCH v3 1/5] imx8mp_evk: spl: drop useless code Fabio Estevam
2020-06-04 12:20   ` Stefano Babic
2020-06-08 17:22 ` sbabic at denx.de

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox