From: Seung-Woo Kim Date: Thu, 28 Dec 2017 08:38:21 +0000 (+0900) Subject: logo: remove meaningless packed attributte X-Git-Tag: accepted/tizen/5.0/unified/20181106.201708~23 X-Git-Url: http://review.tizen.org/git/?p=profile%2Fmobile%2Fplatform%2Fkernel%2Fu-boot-tm1.git;a=commitdiff_plain;h=7e23307745f6050790da9d14c0dae8b1565503be logo: remove meaningless packed attributte The logo image is not in struct, so packed attribute has no meaning. Remove the meaning less packed attribute to fix build warnings. Change-Id: I35d118600c44af1fcfbd59b6ad59d7601e1bec9a Signed-off-by: Seung-Woo Kim --- diff --git a/include/charge_bmp_logo.h b/include/charge_bmp_logo.h index 005a603..aeb7a40 100644 --- a/include/charge_bmp_logo.h +++ b/include/charge_bmp_logo.h @@ -1,8 +1,8 @@ -unsigned short __attribute__((packed, aligned(4))) charge_palette[] = { +unsigned short __attribute__((aligned(4))) charge_palette[] = { 0x0, 0x222, 0x444, 0x666, 0x888, 0xaaa, 0xccc, 0xeee, 0x111, 0x333, 0x555, 0x777, 0x999, 0xbbb, 0xddd, 0xfff, }; -unsigned short __attribute__((packed, aligned(4))) charge_bitmap[] = { +unsigned short __attribute__((aligned(4))) charge_bitmap[] = { 0x0, 0x8, 0x9, 0x8, 0x0, 0x1, 0x2, 0x1, 0x0, 0x1, 0x2, 0x9, 0x2, 0x9, 0x2, 0x1, 0x0, 0x1, 0x2, 0x9, 0x2, 0x8, 0x0, 0x1, 0x2, 0x9, 0x2, 0x8, 0x0, 0x1, @@ -378,7 +378,7 @@ unsigned short __attribute__((packed, aligned(4))) charge_bitmap[] = { 0x0, 0x9, 0x2, 0x9, 0x0, 0x9, 0x2, 0x9, 0x0, 0x1, 0x9, 0x1, 0x0, }; -unsigned int __attribute__((packed, aligned(4))) charge_num_bitmap[] = { +unsigned int __attribute__((aligned(4))) charge_num_bitmap[] = { 3213, 1, 50, 1, 133, 1, 50, 1, 133, 1, 5, 1, 38, 1, 5, 1, 133, 1, 2, 46, 2, 1, 133, 1, 2, 46, 2, 1, 133, 1, diff --git a/include/normal_mode.h b/include/normal_mode.h index 21d955e..ffe8c93 100644 --- a/include/normal_mode.h +++ b/include/normal_mode.h @@ -23,8 +23,6 @@ #include #endif -extern unsigned spl_data_buf[0x2000] __attribute__((align(4))); -extern unsigned harsh_data_buf[8]__attribute__((align(4))); extern void *spl_data; extern void *harsh_data; extern unsigned char raw_header[8192]; @@ -210,10 +208,10 @@ typedef struct _NV_HEADER { void set_vibrator(int on); void vibrator_hw_init(void); void MMU_InvalideICACHEALL(void); -int read_spldata(); +int read_spldata(void); void lcd_display_logo(int backlight_set,ulong bmp_image,size_t size); int creat_cmdline(char * cmdline,boot_img_hdr *hdr); -void vlx_entry(); +void vlx_entry(void); extern char* get_product_sn(void); extern char *calibration_cmd_buf; void set_recovery_mode(unsigned int recovery_mode); diff --git a/include/prog_end_logo.h b/include/prog_end_logo.h index e165253..6a452a4 100644 --- a/include/prog_end_logo.h +++ b/include/prog_end_logo.h @@ -1,4 +1,4 @@ -unsigned short __attribute__((packed, aligned(4))) prog_end_palette[] = { +unsigned short __attribute__((aligned(4))) prog_end_palette[] = { 0x0, 0x1, 0x2, 0x8ab, 0x269, 0x356, 0x7cf, 0x589, 0x68a, 0x357, 0x379, 0x6ad, 0x258, 0x12, 0x13, 0x368, 0x9be, 0x79a, 0x79b, 0x69c, 0x59d, 0xacf, 0x245, 0x23, 0x123, 0x24, 0x146, 0x59c, 0x469, 0x7ab, @@ -9,7 +9,7 @@ unsigned short __attribute__((packed, aligned(4))) prog_end_palette[] = { 0x112, 0x78a, 0x8bd, 0x8ce, 0x568, 0x8ac, 0x89b, 0x7be, 0x477, 0x478, 0x479, 0x37a, 0x6bf, 0x6be, }; -unsigned short __attribute__((packed, aligned(4))) prog_end_bitmap[] = { +unsigned short __attribute__((aligned(4))) prog_end_bitmap[] = { 0x5, 0x38, 0x39, 0x38, 0x2d, 0x26, 0x18, 0xd, 0x1, 0x0, 0x4e, 0x4f, 0x50, 0x44, 0x9, 0x5, 0x16, 0x22, 0x18, 0xd, 0x0, 0x11, 0x1d, 0x1e, 0x12, 0x8, 0x7, 0x35, 0x28, 0x22, @@ -34,7 +34,7 @@ unsigned short __attribute__((packed, aligned(4))) prog_end_bitmap[] = { 0x21, 0x19, 0xe, 0xd, 0x2, 0x1, 0x0, 0x19, 0x3d, 0x19, 0xe, 0xd, 0x1, 0x0, }; -unsigned int __attribute__((packed, aligned(4))) prog_end_num_bitmap[] = { +unsigned int __attribute__((aligned(4))) prog_end_num_bitmap[] = { 1, 6, 1, 1, 1, 2, 1, 1, 1, 2, 1, 6, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 4, 2, 1, 1, 1, 1, 1, 1, diff --git a/include/prog_mid_logo.h b/include/prog_mid_logo.h index 9147264..9d78e86 100644 --- a/include/prog_mid_logo.h +++ b/include/prog_mid_logo.h @@ -1,13 +1,13 @@ -unsigned short __attribute__((packed, aligned(4))) prog_mid_palette[] = { +unsigned short __attribute__((aligned(4))) prog_mid_palette[] = { 0x7cf, 0x69d, 0x7bf, 0x246, 0x147, 0x468, 0x8cf, 0x25, 0x7be, 0x59d, 0xadf, 0x37a, 0x79b, 0x6bf, 0x9be, 0x9df, }; -unsigned short __attribute__((packed, aligned(4))) prog_mid_bitmap[] = { +unsigned short __attribute__((aligned(4))) prog_mid_bitmap[] = { 0x3, 0x5, 0xc, 0xe, 0xa, 0xf, 0x6, 0x0, 0x2, 0xd, 0x2, 0x8, 0x1, 0x9, 0x1, 0x9, 0x1, 0x9, 0xb, 0x4, 0x7, }; -unsigned int __attribute__((packed, aligned(4))) prog_mid_num_bitmap[] = { +unsigned int __attribute__((aligned(4))) prog_mid_num_bitmap[] = { 6, 6, 6, 6, 12, 6, 12, 6, 12, 18, 12, 6, 1, 1, 1, 1, 1, 1, 6, 6, 6, }; diff --git a/include/prog_start_logo.h b/include/prog_start_logo.h index 9776441..fffe297 100644 --- a/include/prog_start_logo.h +++ b/include/prog_start_logo.h @@ -1,4 +1,4 @@ -unsigned short __attribute__((packed, aligned(4))) prog_start_palette[] = { +unsigned short __attribute__((aligned(4))) prog_start_palette[] = { 0x0, 0x1, 0x2, 0x3, 0x8ad, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x21, 0x22, 0x25, 0x32, 0x33, 0x234, 0x235, 0x244, 0x245, 0x246, 0x247, 0x255, 0x256, 0x267, 0x468, 0x469, 0x467, 0x7bd, 0x9be, @@ -10,7 +10,7 @@ unsigned short __attribute__((packed, aligned(4))) prog_start_palette[] = { 0x346, 0x7ab, 0x7ac, 0x7ad, 0x7ae, 0x9bd, 0x7be, 0x7bf, 0x9cd, 0x7ce, 0x7cf, 0x9df, }; -unsigned short __attribute__((packed, aligned(4))) prog_start_bitmap[] = { +unsigned short __attribute__((aligned(4))) prog_start_bitmap[] = { 0x0, 0x1, 0x7, 0x34, 0x12, 0x3b, 0x13, 0x16, 0x0, 0x1, 0x34, 0x10, 0x3d, 0x41, 0x1b, 0x1f, 0x1e, 0x0, 0x1, 0x7, 0x34, 0x50, 0x1b, 0x46, 0x23, 0x25, 0x26, 0x4e, 0x4d, 0x1, @@ -34,7 +34,7 @@ unsigned short __attribute__((packed, aligned(4))) prog_start_bitmap[] = { 0xe, 0xf, 0x4c, 0x3b, 0x3a, 0x0, 0x5, 0x6, 0xb, 0xc, 0xe, 0xf, 0xe, 0xc, }; -unsigned int __attribute__((packed, aligned(4))) prog_start_num_bitmap[] = { +unsigned int __attribute__((aligned(4))) prog_start_num_bitmap[] = { 4, 1, 1, 1, 1, 1, 2, 6, 4, 1, 1, 1, 2, 1, 1, 2, 4, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5, 1, 2, diff --git a/include/sp_bmp_logo.h b/include/sp_bmp_logo.h index 447ff73..80383cc 100644 --- a/include/sp_bmp_logo.h +++ b/include/sp_bmp_logo.h @@ -1,4 +1,4 @@ -unsigned short __attribute__((packed, aligned(4))) sp_palette[] = { +unsigned short __attribute__((aligned(4))) sp_palette[] = { 0x0, 0x1, 0x6ab, 0x269, 0x156, 0x44, 0x133, 0xbde, 0x3ad, 0xad, 0x10, 0x11, 0x12, 0x13, 0x211, 0xae, 0x9a, 0x59, 0x78, 0x1af, 0x233, 0x455, 0x221, 0x22, 0x23, 0x24, 0x289, 0x677, 0x799, 0x232, @@ -23,7 +23,7 @@ unsigned short __attribute__((packed, aligned(4))) sp_palette[] = { 0xbce, 0xddc, 0xddd, 0xdde, 0xbc, 0xade, 0xded, 0xfee, 0xfef, 0xcee, 0x27a, 0xff, 0x8aa, 0xffe, 0xfff, }; -unsigned short __attribute__((packed, aligned(4))) sp_bitmap[] = { +unsigned short __attribute__((aligned(4))) sp_bitmap[] = { 0x0, 0x40, 0x7b, 0x6c, 0x18, 0x0, 0x18, 0x6c, 0x87, 0x83, 0x87, 0x74, 0x0, 0x32, 0x83, 0x87, 0x83, 0x17, 0x0, 0xb, 0x58, 0x87, 0x83, 0x17, 0x0, 0x1f, 0x74, 0x87, 0x83, 0x17, @@ -788,7 +788,7 @@ unsigned short __attribute__((packed, aligned(4))) sp_bitmap[] = { 0xa3, 0x7a, 0x0, 0x8d, 0x0, 0xb, 0x3f, 0x12, 0x40, 0x3f, 0x33, 0x3f, 0x33, 0x4, 0x9e, 0x1f, 0x8f, 0x8d, 0x0, }; -unsigned int __attribute__((packed, aligned(4))) sp_num_bitmap[] = { +unsigned int __attribute__((aligned(4))) sp_num_bitmap[] = { 6786, 1, 1, 1, 1, 508, 1, 1, 1, 1, 1, 1, 507, 1, 1, 1, 4, 1, 504, 1, 1, 1, 6, 1, 503, 1, 1, 1, 7, 1, diff --git a/include/thor_bmp_logo.h b/include/thor_bmp_logo.h index e207187..12af40b 100644 --- a/include/thor_bmp_logo.h +++ b/include/thor_bmp_logo.h @@ -1,4 +1,4 @@ -unsigned short __attribute__((packed, aligned(4))) thor_palette[] = { +unsigned short __attribute__((aligned(4))) thor_palette[] = { 0x0, 0x1, 0x2, 0x3, 0xaac, 0x10, 0x11, 0x12, 0x13, 0x14, 0x22, 0x23, 0x24, 0x25, 0x26, 0x33, 0x34, 0x35, 0x36, 0x37, 0x45, 0x46, 0x47, 0x57, 0x6a, 0x6b, 0x6c, 0xabd, 0xabe, 0x877, @@ -41,7 +41,7 @@ unsigned short __attribute__((packed, aligned(4))) thor_palette[] = { 0x78a, 0x78b, 0x79a, 0x79b, 0x79c, 0x29a, 0x7aa, 0x7ab, 0x7ac, 0x7bc, 0x7bd, 0x7be, 0x7cd, 0x7ce, 0xfee, 0xfef, 0xffe, 0xfff, }; -unsigned short __attribute__((packed, aligned(4))) thor_bitmap[] = { +unsigned short __attribute__((aligned(4))) thor_bitmap[] = { 0x0, 0x1, 0x6, 0x7, 0x6, 0x0, 0x1, 0x8, 0x8c, 0xcd, 0x105, 0xcd, 0x4e, 0xb, 0x6, 0x0, 0x1, 0x7, 0x47, 0xce, 0x13d, 0x189, 0x18e, 0x18d, 0x10a, 0x8c, 0xa, 0x1, 0x0, 0x1, @@ -2905,7 +2905,7 @@ unsigned short __attribute__((packed, aligned(4))) thor_bitmap[] = { 0xc, 0x7, 0x6, 0x1, 0x0, 0x1, 0x7, 0x46, 0x88, 0x4a, 0xb, 0x1, 0x0, 0x1, 0x2, 0x1, 0x0, }; -unsigned int __attribute__((packed, aligned(4))) thor_num_bitmap[] = { +unsigned int __attribute__((aligned(4))) thor_num_bitmap[] = { 1320, 3, 2, 2, 1, 367, 4, 1, 1, 1, 1, 1, 1, 1, 1, 365, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 361, 5,