Skip to contentSkip to conversation

m68knommu: remove the unused bootlogo.h processing for 68EZ328 and 68VZ328

PATCH New [email protected] 1 participant 2 messages Apr 3, 2012 m68k architecture

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 m68knommu: remove the unused bootlogo.h processing for 68EZ328 and 68VZ328

From: Greg Ungerer <[email protected]>

The 68EZ328 and 68VZ328 platforms currently try to process their bootlogo.h to make it clean to include in asm files. This is no longer used, the bootlogo.h file is now included only in C code, so remove all the processing code in the 68EZ328 and 68VZ328 Makefiles.

---
 arch/m68k/platform/68EZ328/Makefile |    6 ------
 arch/m68k/platform/68VZ328/Makefile |    9 ++-------
 2 files changed, 2 insertions(+), 13 deletions(-)
arch/m68k/platform/68EZ328/Makefile +0 -6
index ee97735..b44d799 100644
@@ -3,9 +3,3 @@
 #
 
 obj-y := config.o
-
-extra-y := bootlogo.rh
-
-$(obj)/bootlogo.rh: $(src)/bootlogo.h
-	perl $(src)/../68328/bootlogo.pl < $(src)/bootlogo.h \
-		> $(obj)/bootlogo.rh
arch/m68k/platform/68VZ328/Makefile +2 -7
index 447ffa0..a49d75e 100644
@@ -3,14 +3,9 @@
 #
 
 obj-y		:= config.o
-logo-$(UCDIMM)	:= bootlogo.rh
-logo-$(DRAGEN2)	:= screen.h
-extra-y		:= $(logo-y)
-
-$(obj)/bootlogo.rh: $(src)/../68EZ328/bootlogo.h
-	perl $(src)/bootlogo.pl < $(src)/../68328/bootlogo.h > $(obj)/bootlogo.rh
+extra-$(DRAGEN2):= screen.h
 
 $(obj)/screen.h: $(src)/screen.xbm $(src)/xbm2lcd.pl
 	perl $(src)/xbm2lcd.pl < $(src)/screen.xbm > $(obj)/screen.h
 
-clean-files := $(obj)/screen.h $(obj)/bootlogo.rh
+clean-files := $(obj)/screen.h
Signature · 1 line
1.7.0.4
#1 lore raw

PATCH 2/2 m68knommu: move and fix the 68VZ328 platform bootlogo.h

From: Greg Ungerer <[email protected]>

The 68EZ328/bootlogo.h is not actually used in the 68EZ328 platform code at all. It is used by the 68VZ328 platform code though, so move it to be with the rest of the 68VZ328 platform code.

Commit c0e0c89c089f4bd66dbbd1a44da90abe74fe3f02 ("fix broken boot logo inclusion") modified the bootlogo code to not be included in asm code. Modify 68VZ328/bootlogo.h so that the bootlogo bit map is named correctly for dorect use in the C code.

---
 arch/m68k/platform/{68EZ328 => 68VZ328}/bootlogo.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
 rename arch/m68k/platform/{68EZ328 => 68VZ328}/bootlogo.h (99%)
arch/m68k/platform/68VZ328/bootlogo.h renamed from arch/m68k/platform/68EZ328/bootlogo.h +1 -1
similarity index 99%
rename from arch/m68k/platform/68EZ328/bootlogo.h
rename to arch/m68k/platform/68VZ328/bootlogo.h
index e842bda..b38e2b2 100644
@@ -1,6 +1,6 @@
 #define splash_width 640
 #define splash_height 480
-static unsigned char splash_bits[] = {
+unsigned char __attribute__ ((aligned(16))) bootlogo_bits[] = {
   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
Signature · 1 line
1.7.0.4