Patchwork [U-Boot,2/2] video:trats:logo: Make tizen_hd_logo cache line aligned.

login
register
mail settings
Submitter Łukasz Majewski
Date Aug. 8, 2012, 3:10 p.m.
Message ID <1344438635-31169-2-git-send-email-l.majewski@samsung.com>
Download mbox | patch
Permalink /patch/175939/
State Under Review
Delegated to: Anatolij Gustschin
Headers show

Comments

Łukasz Majewski - Aug. 8, 2012, 3:10 p.m.
The tizen_hd_logo is now aligned to cache line size.

Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Cc: Anatolij Gustschin <agust@denx.de>
---
 lib/tizen/tizen_hd_logo.h |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

Patch

diff --git a/lib/tizen/tizen_hd_logo.h b/lib/tizen/tizen_hd_logo.h
index 2258fd5..51ed844 100644
--- a/lib/tizen/tizen_hd_logo.h
+++ b/lib/tizen/tizen_hd_logo.h
@@ -22,7 +22,9 @@ 
 #ifndef _TIZEN_HD_LOGO_H_
 #define _TIZEN_HD_LOGO_H_
 
-unsigned char tizen_hd_logo[]={
+#include <linux/compiler.h>
+
+unsigned char __aligned(CONFIG_SYS_CACHELINE_SIZE) tizen_hd_logo[] = {
 0x1f,0x8b,0x08,0x08,0xe0,0x6f,0x8f,0x4f,0x00,0x03,0x74,0x72,0x61,0x74,0x73,0x2e,
 0x62,0x6d,0x70,0x00,0xbc,0x5c,0xe9,0x53,0x1c,0x57,0x92,0xaf,0x6a,0xa0,0x81,0xa6,
 0xb9,0x1b,0x04,0x48,0x02,0x04,0x7d,0xd0,0xdd,0x1c,0x12,0xba,0xd1,0x61,0x59,0x48,