public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] preloader_console_init()
@ 2011-07-25 15:06 Simon Schwarz
  2011-07-27 14:39 ` V, Aneesh
  0 siblings, 1 reply; 3+ messages in thread
From: Simon Schwarz @ 2011-07-25 15:06 UTC (permalink / raw)
  To: u-boot

Hi Aneesh,

I'am nearly done with OMAP3 - I think I can release the patch today.

I have just one problem left:
You implemented preloader_console_init() in omap-common to call 
setup_clocks_for_console(). This is a OMAP4 specific call - OMAP3 only 
has per_clocks_init() - which inits a bunch of clocks.

Can you change the preloader_console_init()-function that it requires 
that the UART already has a clock and move your 
setup_clocks_for_console() out of the function?

Regards & Thanks
Simon

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] preloader_console_init()
  2011-07-25 15:06 [U-Boot] preloader_console_init() Simon Schwarz
@ 2011-07-27 14:39 ` V, Aneesh
  2011-07-27 15:02   ` Simon Schwarz
  0 siblings, 1 reply; 3+ messages in thread
From: V, Aneesh @ 2011-07-27 14:39 UTC (permalink / raw)
  To: u-boot

Hi Simon,

On Mon, Jul 25, 2011 at 8:36 PM, Simon Schwarz
<simonschwarzcor@googlemail.com> wrote:
> Hi Aneesh,
>
> I'am nearly done with OMAP3 - I think I can release the patch today.
>
> I have just one problem left:
> You implemented preloader_console_init() in omap-common to call
> setup_clocks_for_console(). This is a OMAP4 specific call - OMAP3 only has
> per_clocks_init() - which inits a bunch of clocks.

Sorry. I was on a short travel and didn't have mail access for a couple of days.

The idea was to enable the console at the earliest, even before prcm_init().
If OMAP3 doesn't need this I would suggest moving setup_clocks_for_console()
call to s_init() in omap4/board.c

BTW, how did you fix this in your patches fianlly?

br,
Aneesh

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] preloader_console_init()
  2011-07-27 14:39 ` V, Aneesh
@ 2011-07-27 15:02   ` Simon Schwarz
  0 siblings, 0 replies; 3+ messages in thread
From: Simon Schwarz @ 2011-07-27 15:02 UTC (permalink / raw)
  To: u-boot

Hi Aneesh,

On 07/27/2011 04:39 PM, V, Aneesh wrote:
> Hi Simon,
>
> On Mon, Jul 25, 2011 at 8:36 PM, Simon Schwarz
> <simonschwarzcor@googlemail.com>  wrote:
>> Hi Aneesh,
>>
>> I'am nearly done with OMAP3 - I think I can release the patch today.
>>
>> I have just one problem left:
>> You implemented preloader_console_init() in omap-common to call
>> setup_clocks_for_console(). This is a OMAP4 specific call - OMAP3 only has
>> per_clocks_init() - which inits a bunch of clocks.
>
> Sorry. I was on a short travel and didn't have mail access for a couple of days.
>
No problem, hope it was great!

> The idea was to enable the console at the earliest, even before prcm_init().
> If OMAP3 doesn't need this I would suggest moving setup_clocks_for_console()
> call to s_init() in omap4/board.c
So I think it is best to move it to s_init like you said.

For now I don't plan to add this to OMAP3. If we move it to s_init the 
dev can decide to do early clock init or not.
>
> BTW, how did you fix this in your patches fianlly?

#ifndef CONFIG_OMAP34XX
         setup_clocks_for_console();
#endif

To be able to post the patch.

>
> br,
> Aneesh

Regards
Simon

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-07-27 15:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-25 15:06 [U-Boot] preloader_console_init() Simon Schwarz
2011-07-27 14:39 ` V, Aneesh
2011-07-27 15:02   ` Simon Schwarz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox