Files
u-boot-bpi-r3/include
Simon Glass 4415f1d1f1 env: Create a location driver for each location
Set up a location driver for each supported environment location. At
present this just points to the global functions and is not used. A
later patch will switch this over to use private functions in each driver.

There are several special cases here in various drivers to handle
peculiarities of certain boards:

1. Some boards define CONFIG_ENV_IS_IN_FAT and CONFIG_SPL_ENV_SUPPORT but
do not actually load the environment in SPL. The env load code was
optimised out before but with the driver, it is not. Therefore a special
case is added to env/fat.c. The correct fix (depending on board testing
might be to disable CONFIG_SPL_ENV_SUPPORT.

2. A similar situations happens with CONFIG_ENV_IS_IN_FLASH. Some boards
do not actually load the environment in SPL, so to reduce code size we
need to drop that code. A similar fix may be possible with these boards,
or it may be possible to adjust the environment CONFIG settings.

Added to the above is that the CONFIG_SPL_ENV_SUPPORT option does not
apply when the environment is in flash.

Obviously the above has been discovered through painful and time-consuming
trial and error. Hopefully board maintainers can take a look and figure
out what is actually needed.

Signed-off-by: Simon Glass <sjg@chromium.org>
2017-08-15 08:18:53 -04:00
..
2017-07-03 17:35:28 -04:00
2017-08-14 12:47:32 -05:00
2016-12-03 13:21:21 -05:00
2017-02-07 10:54:32 -06:00
2017-02-08 15:56:28 -05:00
2017-08-01 11:58:00 +09:00
2017-06-05 11:02:29 -04:00
2016-10-19 09:01:51 +02:00
2017-05-11 22:21:27 -04:00
2017-07-28 23:34:39 +02:00
2017-04-13 09:41:10 -04:00
2017-05-15 20:32:12 +02:00
2016-11-14 23:24:03 +01:00
2017-06-03 17:55:34 -04:00
2017-06-02 10:16:46 -06:00
2017-07-28 12:02:48 -06:00
2017-08-13 15:17:37 -04:00
2016-12-08 10:36:22 -06:00
2017-07-23 09:24:47 -04:00
2017-06-12 08:37:55 -04:00
2017-04-14 19:38:57 -06:00
2017-08-01 15:38:32 -04:00
2017-07-11 22:41:54 -04:00
2017-07-28 12:02:47 -06:00
2017-06-12 08:37:55 -04:00
2017-07-03 17:35:28 -04:00
2017-07-28 23:34:07 +02:00
2017-04-10 10:02:03 +08:00
2017-07-03 17:35:28 -04:00
2017-06-01 07:03:16 -06:00
2016-09-26 13:24:43 -04:00
2017-04-12 13:28:27 -04:00
2016-10-12 10:56:51 +08:00
2016-10-23 18:33:48 -04:00
2016-10-31 10:13:17 -04:00