Files
u-boot-tk1-som/include
Nikita Kiryanov aa9e604410 cmd: eeprom: add support for layout aware commands
Introduce the (optional) eeprom print and eeprom update commands.

These commands are eeprom layout aware:
* The eeprom print command prints the contents of the eeprom in a human
  readable way (eeprom layout fields, and data formatted to be fit for human
  consumption).
* The eeprom update command allows user to update eeprom fields by specifying
  the field name, and providing the new data in a human readable format (same
  format as displayed by the eeprom print command).
* Both commands can either auto detect the layout, or be told which layout to
  use.

New CONFIG options:
CONFIG_CMD_EEPROM_LAYOUT - enables commands.
CONFIG_EEPROM_LAYOUT_HELP_STRING - tells user what layout names are supported

Feature API:
__weak int parse_layout_version(char *str)
	- override to provide your own layout name parsing
__weak void __eeprom_layout_assign(struct eeprom_layout *layout, int layout_version);
	- override to setup the layout metadata based on the version
__weak int eeprom_layout_detect(unsigned char *data)
	- override to provide your own algorithm for detecting layout version
eeprom_field.c
	- contains various printing and updating functions for common types of
	  eeprom fields. Can be used for defining custom layouts.

Cc: Heiko Schocher <hs@denx.de>
Cc: Marek Vasut <marex@denx.de>
Cc: Simon Glass <sjg@chromium.org>
Cc: Igor Grinberg <grinberg@compulab.co.il>
Cc: Tom Rini <trini@konsulko.com>
Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
2016-05-20 17:02:07 -04:00
..
2016-04-01 17:18:12 -04:00
2016-05-02 18:37:09 -04:00
2016-04-01 17:18:11 -04:00
2016-03-22 12:16:13 -04:00
2016-01-12 10:19:09 -07:00
2016-03-24 09:47:43 +01:00
2016-03-31 17:03:58 +02:00
2015-05-05 20:58:20 -06:00
2015-06-10 19:26:54 -06:00
2016-01-20 19:06:23 -07:00
2016-03-14 19:21:44 -04:00
2015-11-19 20:27:50 -07:00
2014-06-21 10:06:58 -06:00
2016-02-23 16:14:45 +05:30
2016-01-19 08:31:21 -05:00
2015-04-10 14:23:23 +02:00
2016-05-03 17:52:11 -05:00
2016-01-28 12:22:19 -06:00
2016-03-14 15:34:50 -06:00
2016-03-14 15:34:50 -06:00
2015-11-12 13:18:58 -05:00
2016-01-27 15:55:54 +01:00
2016-01-19 08:31:21 -05:00
2015-08-25 22:53:57 -05:00
2015-07-22 08:57:54 +02:00
2014-12-11 13:18:43 -07:00
2013-09-24 09:10:33 -04:00
2014-05-28 10:58:19 +09:00
2016-03-08 15:01:47 -05:00
2015-09-02 15:26:12 +02:00
2016-01-20 10:19:40 -05:00
2013-11-09 17:21:01 +01:00
2015-11-12 08:26:58 +08:00
2015-01-06 10:10:04 +02:00
2016-01-19 08:31:21 -05:00
2016-01-27 15:55:52 +01:00
2015-06-04 03:34:47 -06:00
2016-01-21 20:42:36 -07:00
2016-02-05 12:47:21 +08:00
2015-01-05 12:08:55 -05:00
2016-03-15 15:19:23 -04:00
2016-01-21 20:42:36 -07:00
2016-01-21 20:42:34 -07:00
2015-07-21 17:39:27 -06:00
2015-07-21 17:39:28 -06:00
2016-03-14 15:34:50 -06:00
2016-05-17 09:54:43 -06:00
2015-11-05 08:24:42 +01:00
2015-07-26 12:11:33 +02:00
2016-02-26 08:53:10 -07:00
2016-05-17 09:54:43 -06:00
2016-05-02 18:37:09 -04:00
2016-01-30 10:58:47 +01:00
2016-01-25 10:39:47 -05:00
2015-01-21 10:25:53 +01:00