Date: Tue, 25 Nov 2008 22:38:50 +0100 From: =?ISO-8859-2?Q?Rafa=B3_Jaworowski?= <raj@semihalf.com> To: "M. Warner Losh" <imp@bsdimp.com> Cc: arm@FreeBSD.org Subject: Re: Code review request: boards on AT91 Message-ID: <835D3399-80D0-4AAA-BA85-FC922DEB6E7B@semihalf.com> In-Reply-To: <20081125.141957.1723235268.imp@bsdimp.com> References: <20081125.104452.535842403.imp@bsdimp.com> <04BDAB4F-CF02-4CE6-90D8-E03EDC1CC8CC@semihalf.com> <20081125.141957.1723235268.imp@bsdimp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2008-11-25, at 22:19, M. Warner Losh wrote: > : > If anybody wants me to write up where I'm going with this, or > answer > : > any question, please feel free to ask. Also, comments would be > nice. > : > : I was dreaming once about all-generic initarm() that would have > KOBJ- > : based dispatcher, but am not sure this wouldn't cause some chicken- > and- > : egg issues as some parts of the infrastructure might not be > available > : at such early stages, but didn't investigate this too close, any > : thoughts? But anyways, even a simple scheme with common logic and > : function ptrs, which each platform variation would implement their > own > : routines (or use generic), would improve the ARM init code > : significantly. > > Yes. There's much duplication of code now, and I'd love to work > towards ways of coping with less duplication. I'd also like to see > the ability to compile code either for multi-board support, or just a > single board support. For the moment, I'd like to take the first step > and get to have the latter... > > The Marvell/Orion stuff has a much better separation, but still needs > some tweaks for board level support. I think I'm going to write up > what I've done and put it on a wiki and then ask if you could review > it and see if your experience with the Marvell implementation could > help refine it. Great, let me know when you got something in the wiki. Rafal
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?835D3399-80D0-4AAA-BA85-FC922DEB6E7B>