From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert ARIBAUD Date: Thu, 23 Sep 2010 18:28:27 +0200 Subject: [U-Boot] [PATCH 1/2] [NEXT] orion5x: fix relocation-incompatible code In-Reply-To: <4C9B1ECA.4050809@free.fr> References: <1285097735-813-1-git-send-email-albert.aribaud@free.fr> <4C9B1ECA.4050809@free.fr> Message-ID: <4C9B802B.3080601@free.fr> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 used from board directories, which makes it a de facto board-specific, not SoC-specific, init function, whereas arch_misc_init is only used in SoC directories -- only by orion5x and kirkwood, actually :) -- which makes it a de facto SoC init function. As the timer_init_r code is SoC-, not board-, specific, I think it belongs more to arch_misc_init and to misc_init_r. Amicalement, -- Albert.