Changing the baudrate via barebox prompt

Sascha Hauer s.hauer at pengutronix.de
Wed May 14 01:16:44 PDT 2014


On Wed, May 14, 2014 at 10:01:10AM +0200, Holger Schurig wrote:
> Hmm, i thought more that "magicvars" could also iterate over the
> devices and spits out their parameter. Internally, they are different,
> but from a users perspective both things do something "magical": a
> simple setting of a variable does some action.

Right now magicvars is just a compile time generated array of struct
magicvar. We could add a const char *description argument to the
dev_add_param_* functions for adding the descriptions to the parameters.

You can get the available parameters for a device with 'devinfo
<devname>', but currently there is no way to see all available
parameters for all devices. Also there can be no description attached
to a parameter. Adding this would indeed be valuable.

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list