mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* improve device parameter types
@ 2017-04-10  7:14 Sascha Hauer
  2017-04-10  7:14 ` [PATCH 01/10] ARM: socfpga: change param_type struct name Sascha Hauer
                   ` (9 more replies)
  0 siblings, 10 replies; 13+ messages in thread
From: Sascha Hauer @ 2017-04-10  7:14 UTC (permalink / raw)
  To: Barebox List

This series improves the device parameter types and also the
global/nv variables. So far we only had 'int' both for signed
and unsigned variables. This series adds support for explicitly
signed or unsigned variables.
Until now the globalvars were all read/write, but some should really
be readonly (like the barebox version for example). This series
adds support for readonly globalvars.

----------------------------------------------------------------
Sascha Hauer (10):
      ARM: socfpga: change param_type struct name
      parameter: Give device parameters types
      lib: implement simple_strtoll
      console: Use dev_add_param_string
      mtd: nand: use dev_add_param_enum
      mtd: use dev_add_param_string
      net: use dev_add_param_string
      param: make parameter functions more consistent
      globalvar: make globalvar functions more consistent
      param: remove unnecessary device_d * argument

 arch/arm/boards/at91sam9m10ihd/hw_version.c      |   4 +-
 arch/arm/boards/at91sam9x5ek/hw_version.c        |   4 +-
 arch/arm/boards/beaglebone/board.c               |   2 +-
 arch/arm/boards/crystalfontz-cfa10036/hwdetect.c |   2 +-
 arch/arm/boards/phytec-som-imx6/board.c          |   2 +-
 arch/arm/boards/sama5d3xek/hw_version.c          |   4 +-
 arch/arm/boards/vscom-baltos/board.c             |   7 +-
 arch/arm/mach-socfpga/include/mach/sequencer.h   |   2 +-
 arch/ppc/boards/pcm030/eeprom.c                  |   4 +-
 commands/devinfo.c                               |   3 +-
 common/boot.c                                    |   2 +-
 common/bootchooser.c                             |   4 +-
 common/bootm.c                                   |   2 +-
 common/console.c                                 |  52 +++--
 common/console_common.c                          |   6 +-
 common/globalvar.c                               |  42 ++--
 common/partitions/dos.c                          |   2 +-
 common/password.c                                |   2 +-
 common/reset_source.c                            |   2 +-
 common/state/state_variables.c                   |   4 +-
 drivers/amba/bus.c                               |   2 +-
 drivers/efi/efi-device.c                         |  10 +-
 drivers/input/qt1070.c                           |   4 +-
 drivers/mtd/core.c                               |  30 +--
 drivers/mtd/nand/nand_base.c                     |  34 ++-
 drivers/mtd/peb.c                                |   6 +-
 drivers/mtd/ubi/build.c                          |  22 +-
 drivers/net/phy/mdio_bus.c                       |   4 +-
 drivers/pwm/core.c                               |   4 +-
 drivers/usb/core/usb.c                           |  16 +-
 drivers/usb/gadget/udc-core.c                    |   4 +-
 drivers/video/backlight.c                        |   2 +-
 drivers/video/imx-ipu-fb.c                       |   2 +-
 drivers/video/imx.c                              |   2 +-
 include/console.h                                |   2 +-
 include/globalvar.h                              | 109 ++++++++--
 include/linux/kernel.h                           |   1 +
 include/linux/mtd/mtd.h                          |   1 +
 include/linux/mtd/nand.h                         |   1 +
 include/param.h                                  | 195 +++++++++++++----
 lib/parameter.c                                  | 254 +++++++++++------------
 lib/strtox.c                                     |   8 +
 net/net.c                                        |  11 +-
 43 files changed, 541 insertions(+), 335 deletions(-)

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2017-04-11  6:42 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-10  7:14 improve device parameter types Sascha Hauer
2017-04-10  7:14 ` [PATCH 01/10] ARM: socfpga: change param_type struct name Sascha Hauer
2017-04-10  7:14 ` [PATCH 02/10] parameter: Give device parameters types Sascha Hauer
2017-04-10  7:14 ` [PATCH 03/10] lib: implement simple_strtoll Sascha Hauer
2017-04-10 12:44   ` Sam Ravnborg
2017-04-11  6:42     ` Sascha Hauer
2017-04-10  7:14 ` [PATCH 04/10] console: Use dev_add_param_string Sascha Hauer
2017-04-10  7:14 ` [PATCH 05/10] mtd: nand: use dev_add_param_enum Sascha Hauer
2017-04-10  7:14 ` [PATCH 06/10] mtd: use dev_add_param_string Sascha Hauer
2017-04-10  7:14 ` [PATCH 07/10] net: " Sascha Hauer
2017-04-10  7:14 ` [PATCH 08/10] param: make parameter functions more consistent Sascha Hauer
2017-04-10  7:14 ` [PATCH 09/10] globalvar: make globalvar " Sascha Hauer
2017-04-10  7:14 ` [PATCH 10/10] param: remove unnecessary device_d * argument Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox