Re: [U-Boot] [PATCH 1/2] [NEXT] orion5x: fix relocation-incompatible code

2010-09-23 Thread Prafulla Wadaskar
-Original Message- From: u-boot-boun...@lists.denx.de [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Albert Aribaud Sent: Wednesday, September 22, 2010 1:06 AM To: u-boot@lists.denx.de Subject: [U-Boot] [PATCH 1/2] [NEXT] orion5x: fix relocation-incompatible code

Re: [U-Boot] [PATCH 1/2] [NEXT] orion5x: fix relocation-incompatible code

2010-09-23 Thread Albert ARIBAUD
Hi Prafulla, Le 23/09/2010 11:16, Prafulla Wadaskar a écrit : +/* Disable window 7, configure it for FLASH, enable it. */ Can you pls fix the ordering here so that win6/7 appears last in the code? Of course. @@ -265,6 +283,8 @@ int arch_misc_init(void) writel(ORION5X_MPP16_23,

Re: [U-Boot] [PATCH 1/2] [NEXT] orion5x: fix relocation-incompatible code

2010-09-23 Thread Albert ARIBAUD
Le 23/09/2010 11:32, Albert ARIBAUD a écrit : Ok for misc_init_r() rather than arch_misc_init(). However I think this function is not timer-specific and thus belongs more to cpu.c than timer.c. Following-up on myself: according to a find on the whole u-boot tree, misc_init_r is uniformously

[U-Boot] [PATCH 1/2] [NEXT] orion5x: fix relocation-incompatible code

2010-09-21 Thread Albert Aribaud
Signed-off-by: Albert Aribaud albert.arib...@free.fr --- Device address window mapping code would not run from FLASH due to cutting access to BOOTCS. Fixed by reordering code. Timer initialization would write globals, thus would not run correctly from FLASH. Fixed by moving the writes to a later