From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Frysinger Date: Tue, 9 Feb 2010 12:44:07 -0500 Subject: [U-Boot] doc: add README for CONFIG_HWCONFIG option In-Reply-To: <4B717636.8060203@denx.de> References: <4B717636.8060203@denx.de> Message-ID: <201002091244.09504.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tuesday 09 February 2010 09:50:30 Heiko Schocher wrote: > +Enable this feature just define CONFIG_HWCONFIG in your board > +config file. To enable ... > +This implements simple hwconfig infrastructure: an > +interface for software knobs to control a hardware. ... a simple ... ... control hardware. > +This is very simple implementation, i.e. it is implemented ... is a very ... > +via `hwconfig' environment variable. Later we could write ... via the ... > +1. Doesn't support options dependencies and mutual exclusion. > + We can implement this by integrating apt-get[3] into the > + u-boot. But I didn't bother yet. ... into Das U-Boot. didn't -> haven't > +2. Since we don't implement hwconfig command, i.e. we're working ... implement a hwconfig ... > + toggling a particular option will need a reboot to take > + an effect. So, for now it's advised to always reboot the ... take effect. > + target after modifying hwconfig variable. ... modifying the hwconfig ... > +3. We support hwconfig options with arguments. For example, > + > + set hwconfig "dr_usb:mode=peripheral,phy_type=ulpi" > + > + There are three hwconfig options selected: This selects three hwconfig options: > +The purpose of this simple implementation is to define some > +internal API and ... to refine the internal ... > +and then we can continue improving user experience ... improving the user ... > +by adding more mature interface, like hwconfig command with interfaces ... like a hwconfig ... > +bells and whistles. Or not adding, if we feel that current ... that the current ... > +interface fits its needs. ... fits people's needs. -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. Url : http://lists.denx.de/pipermail/u-boot/attachments/20100209/8df9f664/attachment.pgp