[U-Boot] ARM pull request

Dirk Behme dirk.behme at googlemail.com
Sun Oct 18 09:12:03 CEST 2009


Dirk Behme wrote:
> Tom wrote:
...
>> Minkyu Kang (4):
>>        s5pc1xx: support Samsung s5pc1xx SoC
>>        s5pc1xx: support onenand driver
>>        s5pc1xx: support serial driver
>>        s5pc1xx: add support SMDKC100 board
...
> But: For smdkc100 I get a lot of warnings [2]. I'm not sure if this is 
> already mainline ready?

Ah, looks like there is already a fix:

http://lists.denx.de/pipermail/u-boot/2009-October/062507.html
http://lists.denx.de/pipermail/u-boot/2009-October/062508.html

Applying this on top of master-sync makes smdkc100 compile fine, too :)

Dirk

> [2] smdkc100 warnings:
> 
> Configuring for smdkc100 board...
> clock.c: In function 's5pc100_get_pll_clk':
> clock.c:59: warning: dereferencing type-punned pointer will break 
> strict-aliasing rules
> clock.c:62: warning: dereferencing type-punned pointer will break 
> strict-aliasing rules
> clock.c:65: warning: dereferencing type-punned pointer will break 
> strict-aliasing rules
> clock.c:68: warning: dereferencing type-punned pointer will break 
> strict-aliasing rules
> clock.c: In function 's5pc110_get_pll_clk':
> clock.c:109: warning: dereferencing type-punned pointer will break 
> strict-aliasing rules
> clock.c:112: warning: dereferencing type-punned pointer will break 
> strict-aliasing rules
> clock.c:115: warning: dereferencing type-punned pointer will break 
> strict-aliasing rules
> clock.c:118: warning: dereferencing type-punned pointer will break 
> strict-aliasing rules
> clock.c: In function 's5pc110_get_arm_clk':
> clock.c:164: warning: dereferencing type-punned pointer will break 
> strict-aliasing rules
> clock.c: In function 's5pc100_get_arm_clk':
> clock.c:183: warning: dereferencing type-punned pointer will break 
> strict-aliasing rules
> clock.c: In function 'get_hclk':
> clock.c:203: warning: dereferencing type-punned pointer will break 
> strict-aliasing rules
> clock.c: In function 'get_pclkd1':
> clock.c:219: warning: dereferencing type-punned pointer will break 
> strict-aliasing rules
> clock.c: In function 'get_hclk_sys':
> clock.c:244: warning: dereferencing type-punned pointer will break 
> strict-aliasing rules
> clock.c: In function 'get_pclk_sys':
> clock.c:269: warning: dereferencing type-punned pointer will break 
> strict-aliasing rules
> timer.c: In function 'timer_init':
> timer.c:68: warning: dereferencing type-punned pointer will break 
> strict-aliasing rules
> timer.c:69: warning: dereferencing type-punned pointer will break 
> strict-aliasing rules
> timer.c:82: warning: dereferencing type-punned pointer will break 
> strict-aliasing rules
> timer.c:85: warning: dereferencing type-punned pointer will break 
> strict-aliasing rules
> timer.c:89: warning: dereferencing type-punned pointer will break 
> strict-aliasing rules
> timer.c:92: warning: dereferencing type-punned pointer will break 
> strict-aliasing rules
> timer.c: In function 'reset_timer_masked':
> timer.c:160: warning: dereferencing type-punned pointer will break 
> strict-aliasing rules
> timer.c: In function 'get_timer_masked':
> timer.c:167: warning: dereferencing type-punned pointer will break 
> strict-aliasing rules
> samsung.c: In function 's3c_onenand_reset':
> samsung.c:136: warning: dereferencing type-punned pointer will break 
> strict-aliasing rules
> samsung.c:138: warning: dereferencing type-punned pointer will break 
> strict-aliasing rules
> samsung.c:142: warning: dereferencing type-punned pointer will break 
> strict-aliasing rules
> samsung.c:143: warning: dereferencing type-punned pointer will break 
> strict-aliasing rules
> samsung.c:146: warning: dereferencing type-punned pointer will break 
> strict-aliasing rules
> samsung.c:148: warning: dereferencing type-punned pointer will break 
> strict-aliasing rules
> samsung.c: In function 's3c_onenand_readw':
> samsung.c:161: warning: dereferencing type-punned pointer will break 
> strict-aliasing rules
> samsung.c:163: warning: dereferencing type-punned pointer will break 
> strict-aliasing rules
> samsung.c:165: warning: dereferencing type-punned pointer will break 
> strict-aliasing rules
> samsung.c:167: warning: dereferencing type-punned pointer will break 
> strict-aliasing rules
> samsung.c:169: warning: dereferencing type-punned pointer will break 
> strict-aliasing rules
> samsung.c:171: warning: dereferencing type-punned pointer will break 
> strict-aliasing rules
> samsung.c:187: warning: dereferencing type-punned pointer will break 
> strict-aliasing rules
> samsung.c:189: warning: dereferencing type-punned pointer will break 
> strict-aliasing rules
> samsung.c:191: warning: dereferencing type-punned pointer will break 
> strict-aliasing rules
> samsung.c: In function 's3c_onenand_writew':
> samsung.c:209: warning: dereferencing type-punned pointer will break 
> strict-aliasing rules
> samsung.c:231: warning: dereferencing type-punned pointer will break 
> strict-aliasing rules
> samsung.c: In function 's3c_onenand_wait':
> samsung.c:268: warning: dereferencing type-punned pointer will break 
> strict-aliasing rules
> samsung.c:274: warning: dereferencing type-punned pointer will break 
> strict-aliasing rules
> samsung.c:275: warning: dereferencing type-punned pointer will break 
> strict-aliasing rules
> samsung.c:283: warning: dereferencing type-punned pointer will break 
> strict-aliasing rules
> samsung.c: In function 's3c_onenand_command':
> samsung.c:354: warning: dereferencing type-punned pointer will break 
> strict-aliasing rules
> samsung.c:363: warning: dereferencing type-punned pointer will break 
> strict-aliasing rules
> samsung.c:373: warning: dereferencing type-punned pointer will break 
> strict-aliasing rules
> samsung.c:383: warning: dereferencing type-punned pointer will break 
> strict-aliasing rules
> samsung.c: In function 's3c_onenand_bbt_wait':
> samsung.c:458: warning: dereferencing type-punned pointer will break 
> strict-aliasing rules
> samsung.c:463: warning: dereferencing type-punned pointer will break 
> strict-aliasing rules
> samsung.c:464: warning: dereferencing type-punned pointer will break 
> strict-aliasing rules
> samsung.c:472: warning: dereferencing type-punned pointer will break 
> strict-aliasing rules
> samsung.c: In function 's3c_onenand_check_lock_status':
> samsung.c:493: warning: dereferencing type-punned pointer will break 
> strict-aliasing rules
> samsung.c:495: warning: dereferencing type-punned pointer will break 
> strict-aliasing rules
> serial_s5pc1xx.c: In function 'serial_setbrg_dev':
> serial_s5pc1xx.c:76: warning: dereferencing type-punned pointer will 
> break strict-aliasing rules
> serial_s5pc1xx.c:77: warning: dereferencing type-punned pointer will 
> break strict-aliasing rules
> serial_s5pc1xx.c: In function 'serial_init_dev':
> serial_s5pc1xx.c:89: warning: dereferencing type-punned pointer will 
> break strict-aliasing rules
> serial_s5pc1xx.c:90: warning: dereferencing type-punned pointer will 
> break strict-aliasing rules
> serial_s5pc1xx.c:92: warning: dereferencing type-punned pointer will 
> break strict-aliasing rules
> serial_s5pc1xx.c:94: warning: dereferencing type-punned pointer will 
> break strict-aliasing rules
> serial_s5pc1xx.c: In function 'serial_err_check':
> serial_s5pc1xx.c:105: warning: dereferencing type-punned pointer will 
> break strict-aliasing rules
> serial_s5pc1xx.c: In function 'serial_getc_dev':
> serial_s5pc1xx.c:121: warning: dereferencing type-punned pointer will 
> break strict-aliasing rules
> serial_s5pc1xx.c: In function 'serial_putc_dev':
> serial_s5pc1xx.c:137: warning: dereferencing type-punned pointer will 
> break strict-aliasing rules
> serial_s5pc1xx.c: In function 'serial_tstc_dev':
> serial_s5pc1xx.c:156: warning: dereferencing type-punned pointer will 
> break strict-aliasing rules
> onenand.c: In function 'onenand_board_init':
> onenand.c:46: warning: dereferencing type-punned pointer will break 
> strict-aliasing rules
> onenand.c:49: warning: dereferencing type-punned pointer will break 
> strict-aliasing rules
> onenand.c:51: warning: dereferencing type-punned pointer will break 
> strict-aliasing rules
> onenand.c:54: warning: dereferencing type-punned pointer will break 
> strict-aliasing rules
> onenand.c:56: warning: dereferencing type-punned pointer will break 
> strict-aliasing rules
> onenand.c:59: warning: dereferencing type-punned pointer will break 
> strict-aliasing rules
> onenand.c:61: warning: dereferencing type-punned pointer will break 
> strict-aliasing rules
> onenand.c:63: warning: dereferencing type-punned pointer will break 
> strict-aliasing rules
> onenand.c:66: warning: dereferencing type-punned pointer will break 
> strict-aliasing rules
> onenand.c:73: warning: dereferencing type-punned pointer will break 
> strict-aliasing rules
> onenand.c:75: warning: dereferencing type-punned pointer will break 
> strict-aliasing rules
> onenand.c:76: warning: dereferencing type-punned pointer will break 
> strict-aliasing rules
> onenand.c:78: warning: dereferencing type-punned pointer will break 
> strict-aliasing rules
> onenand.c:80: warning: dereferencing type-punned pointer will break 
> strict-aliasing rules
>    text    data     bss     dec     hex filename
>  124927    6436  209660  341023   5341f ./u-boot
> 



More information about the U-Boot mailing list