linux-mips
[Top] [All Lists]

Re: [PATCH 0/3] Alchemy: platform updates

To: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Subject: Re: [PATCH 0/3] Alchemy: platform updates
From: Manuel Lauss <mano@roarinelk.homelinux.net>
Date: Sun, 29 Mar 2009 17:43:47 +0200
Cc: Linux-MIPS <linux-mips@linux-mips.org>
In-reply-to: <49CF71BE.2070109@ru.mvista.com>
Organization: Private
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1238318822-4772-1-git-send-email-mano@roarinelk.homelinux.net> <49CF5CE6.1070003@ru.mvista.com> <20090329143802.0a09baca@scarran.roarinelk.net> <49CF71BE.2070109@ru.mvista.com>
Sender: linux-mips-bounce@linux-mips.org
Hi Sergei,

On Sun, 29 Mar 2009 17:03:58 +0400
Sergei Shtylyov <sshtylyov@ru.mvista.com> wrote:
> > Please elaborate.  Shall I check for a config symbol or if bootloader
> > has enabled the peripherals?  The latter is IMO stupid since the
> > bootloader should only load an OS and not preemptively enable every
> > device which might some day be used just because the running OS doesn't
> > know what it wants...
> >   
> 
>    It should check what the board code (or bootloader) has enabled. I 
> remember the board code writes some config registers...

I'd rather duplicate simple, known-working code than go around looking
whether some other part of the boards software system has set enable
bits. (Think of a linux bootloader akin to the simplicity of a QNX IPL
which doesn't enable anything but the debug port, if at all)

In short, consider these patches withdrawn.

Thanks!
        Manuel Lauss

<Prev in Thread] Current Thread [Next in Thread>