Skip to contentSkip to conversation

davinci: remove leftover low-level routines

PATCH New Bartosz Golaszewski 2 participants 5 messages May 29, 2019 – Jun 5, 2019

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

v2 cover davinci: remove leftover low-level routines

From: Bartosz Golaszewski <[email protected]>

I'm resending my earlier patch together with David's commit that makes this series not break the build for LEGO EV3.

Bartosz Golaszewski (1):
arm: davinci: remove leftover assembly

David Lechner (1):
configs/legoev3: define CONFIG_SKIP_LOWLEVEL_INIT

 arch/arm/mach-davinci/Makefile        |   4 -
 arch/arm/mach-davinci/lowlevel_init.S | 692 --------------------------
 include/configs/legoev3.h             |   1 +
 3 files changed, 1 insertion(+), 696 deletions(-)
 delete mode 100644 arch/arm/mach-davinci/lowlevel_init.S
Signature · 1 line
2.21.0
#1 lore raw

PATCH v2 1/2 configs/legoev3: define CONFIG_SKIP_LOWLEVEL_INIT

From: David Lechner <[email protected]>

This adds a define for CONFIG_SKIP_LOWLEVEL_INIT in the legoev3 config. On the EV3, U-Boot is loaded into RAM by another bootloader, so we don't need the lowlevel init in U-Boot.

---
 include/configs/legoev3.h | 1 +
 1 file changed, 1 insertion(+)
include/configs/legoev3.h +1 -0
index 1e239ecadd..36ca3b201e 100644
@@ -22,6 +22,7 @@
 #define CONFIG_SYS_OSCIN_FREQ		24000000
 #define CONFIG_SYS_TIMERBASE		DAVINCI_TIMER0_BASE
 #define CONFIG_SYS_HZ_CLOCK		clk_get(DAVINCI_AUXCLK_CLKID)
+#define CONFIG_SKIP_LOWLEVEL_INIT
 
 /*
  * Memory Info
Signature · 1 line
2.21.0
#2 lore raw

PATCH v2 1/2 configs/legoev3: define CONFIG_SKIP_LOWLEVEL_INIT

Quoted 8 lines · Bartosz Golaszewski

From: David Lechner <[email protected]>

This adds a define for CONFIG_SKIP_LOWLEVEL_INIT in the legoev3 config. On the EV3, U-Boot is loaded into RAM by another bootloader, so we don't need the lowlevel init in U-Boot.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190605/29ffd5a6/attachment.sig>
#3 lore raw

PATCH v2 2/2 arm: davinci: remove leftover assembly

In reply to Bartosz Golaszewski

From: Bartosz Golaszewski <[email protected]>

There are no more users of lowlevel_init.S. Remove the file.

---
 arch/arm/mach-davinci/Makefile        |   4 -
 arch/arm/mach-davinci/lowlevel_init.S | 692 --------------------------
 2 files changed, 696 deletions(-)
 delete mode 100644 arch/arm/mach-davinci/lowlevel_init.S
arch/arm/mach-davinci/Makefile +0 -4
index 6887fe05dd..ed88274072 100644
@@ -18,7 +18,3 @@ obj-$(CONFIG_SPL_FRAMEWORK)	+= spl.o
 obj-$(CONFIG_SOC_DM365)	+= dm365_lowlevel.o
 obj-$(CONFIG_SOC_DA8XX)	+= da850_lowlevel.o
 endif
-
-ifndef CONFIG_SKIP_LOWLEVEL_INIT
-obj-y	+= lowlevel_init.o
-endif
arch/arm/mach-davinci/lowlevel_init.S deleted +0 -692

692 lines not on this page · raw message

Signature · 1 line
2.21.0
#4 lore raw

PATCH v2 2/2 arm: davinci: remove leftover assembly

Quoted 6 lines · Bartosz Golaszewski

From: Bartosz Golaszewski <[email protected]>

There are no more users of lowlevel_init.S. Remove the file.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190605/65a4a76f/attachment.sig>