From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Gorsulowski Date: Wed, 17 Feb 2010 09:29:56 +0100 Subject: [U-Boot] [PATCH ARM] updates the at91 main_clock calculation In-Reply-To: <4B7AB874.7030601@windriver.com> References: <4B77DC8B.6050209@scharsoft.de> <4B7A3880.5020204@esd.eu> <4B7AB874.7030601@windriver.com> Message-ID: <4B7BA904.2090704@esd.eu> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 >>> --- >>> 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