[U-Boot] [PATCH ARM] updates the at91 main_clock calculation

Daniel Gorsulowski Daniel.Gorsulowski at esd.eu
Wed Feb 17 09:29:56 CET 2010


Am 16.02.2010 16:23, schrieb Tom:
> Daniel Gorsulowski wrote:
>> Jens Scharsig wrote:
>>>  * updates the conditional main_clock calculation (if AT91_MAIN_CLOCK defined) to c structure SoC access
>>>  * add need register flags
>>>
>>>
>>> Signed-off-by: Jens Scharsig <js_at_ng at scharsoft.de>
>>> ---
>>>  cpu/arm926ejs/at91/clock.c           |    7 ++++---
>>>  include/asm-arm/arch-at91/at91_pmc.h |    3 +++
>>>  2 files changed, 7 insertions(+), 3 deletions(-)
>>>
>> ...
>>
>> Thank you, now the updated otc570 builds without errors.
>> I didn't check, whether the board boots, but I guess it does.
>>
> Were you going to check in the next couple of days ?
> Tom
> 
>
Checked... board boots.

Btw. there are some warnings during build:
mkimage.c: In function ‘main’:
mkimage.c:204: warning: dereferencing type-punned pointer will break
strict-aliasing rules
mkimage.c:222: warning: dereferencing type-punned pointer will break
strict-aliasing rules
soft_i2c.c: In function 'send_reset':
soft_i2c.c:103: warning: unused variable 'pio'
soft_i2c.c: In function 'send_start':
soft_i2c.c:130: warning: unused variable 'pio'
soft_i2c.c: In function 'send_stop':
soft_i2c.c:147: warning: unused variable 'pio'
soft_i2c.c: In function 'send_ack':
soft_i2c.c:166: warning: unused variable 'pio'
soft_i2c.c: In function 'write_byte':
soft_i2c.c:185: warning: unused variable 'pio'
soft_i2c.c: In function 'read_byte':
soft_i2c.c:259: warning: unused variable 'pio'
atmel_dataflash_spi.c:25:2: warning: #warning Please update to use C structur
SoC access !
atmel_usart.c:21:2: warning: #warning Please update to use C structur SoC access !
ohci-at91.c:30:2: warning: #warning Please update to use C structur SoC access !

Regards,
Daniel


More information about the U-Boot mailing list