Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Jun 2007 12:29:06 +0200
From:      Bernd Walter <ticso@cicely12.cicely.de>
To:        Henrik Brix Andersen <henrik@brixandersen.dk>
Cc:        arm@freebsd.org, ticso@cicely12.cicely.de, =?iso-8859-1?Q?Bj=F6rn_K=F6nig?= <bkoenig@alpha-tierchen.de>
Subject:   Re: 4-bit SD Card mode
Message-ID:  <20070608102905.GT16463@cicely12.cicely.de>
In-Reply-To: <20070608083445.GA84718@tirith.brixandersen.dk>
References:  <49754.2001:6f8:101e:0:20e:cff:fe6d:6adb.1181244172.squirrel@webmail.alpha-tierchen.de> <20070607.133456.74668036.imp@bsdimp.com> <20070607123930.E75948@synthcom.com> <20070607.140054.74667648.imp@bsdimp.com> <60893.2001:6f8:101e:0:20e:cff:fe6d:6adb.1181283256.squirrel@webmail.alpha-tierchen.de> <20070608083445.GA84718@tirith.brixandersen.dk>

index | next in thread | previous in thread | raw e-mail

On Fri, Jun 08, 2007 at 10:34:45AM +0200, Henrik Brix Andersen wrote:
> On Fri, Jun 08, 2007 at 08:14:16AM +0200, Björn König wrote:
> > The best solution that I see is to provide a way to specify the hardware
> > without patching the kernel and without requiring special bits from the
> > loader. This should happen directly or indirectly in the kernel
> > configuration file.
> 
> Couldn't we use device hints for this?

This would work for GPIO setup, but some boards may require procedural
initialisation to setup external FPGA, etc.
The best way still seem to be a board specific init function, which
the user can easily enhance for exotic needs.
This is not the way I want to have for my boards, but I don't have to
put anything in there, so it don't collide.

My current interest is currently more to have compiletime options for
clock rates.
Optionally just by compiling the xtal frequency and reading the PLL
registers to get the rest.

-- 
B.Walter                http://www.bwct.de      http://www.fizon.de
bernd@bwct.de           info@bwct.de            support@fizon.de


help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070608102905.GT16463>