Bill Richardson
fd88db3e9a
g: CONFIG_FLASH should be optional
...
The application may need to read/write/erase the flash memory,
but we not want console users to do so. This CL adds
CONFIG_FLASH_PHYSICAL, which allows the higher-level CONFIG_FLASH
to be undefined while still providing the chip-specific
flash_physical_* accessor functions.
There aren't many board.h files that needed changes, since
CONFIG_FLASH_PHYSICAL is enabled by default, just like CONFIG_FLASH.
BUG=chrome-os-partner:57408
BRANCH=none
TEST=make buildall; try on Gru with and without CR50_DEV=1
See that it still boots, updates, wipes, restores, etc. without
linking common/flash.o in the production image; and that the
flash commands are still there in the dev build.
Signed-off-by: Bill Richardson <wfrichar@chromium.org >
Change-Id: I7eb1bbcb414b1c70ee427c4fcb5cea899dbb9e93
Reviewed-on: https://chromium-review.googlesource.com/391188
Reviewed-by: Vadim Bendebury <vbendeb@chromium.org >
2016-10-02 15:19:21 -07:00
..
2016-08-09 22:11:09 -07:00
2016-08-24 16:30:10 +00:00
2016-08-24 16:30:10 +00:00
2016-08-24 16:30:10 +00:00
2013-09-27 23:07:21 +00:00
2016-08-24 16:30:10 +00:00
2016-08-11 14:46:33 -07:00
2016-08-24 16:30:10 +00:00
2016-08-23 15:36:55 -07:00
2016-09-05 23:22:13 -07:00
2016-09-02 15:12:21 -07:00
2016-04-18 17:32:40 -07:00
2016-08-25 01:46:39 -07:00
2016-09-21 19:38:00 -07:00
2016-09-13 22:21:23 -07:00
2016-08-24 16:30:10 +00:00
2016-09-21 19:38:13 -07:00
2016-08-24 16:30:10 +00:00
2016-08-24 16:30:10 +00:00
2015-05-19 02:46:27 +00:00
2016-10-01 03:13:43 +00:00
2016-08-31 17:20:26 +00:00
2016-03-18 22:16:53 -07:00
2014-08-08 03:11:38 +00:00
2016-10-01 03:13:54 +00:00
2016-08-24 16:30:10 +00:00
2015-07-17 03:17:50 +00:00
2015-11-17 14:40:26 -08:00
2016-09-02 07:11:33 -07:00
2016-08-24 16:30:10 +00:00
2015-12-09 06:36:22 -08:00
2015-12-09 06:36:22 -08:00
2016-09-16 21:59:08 -07:00
2016-02-08 13:47:49 -08:00
2016-08-24 16:30:10 +00:00
2016-08-31 17:20:26 +00:00
2016-04-27 14:04:07 -07:00
2016-09-07 14:01:18 -07:00
2016-08-24 16:30:10 +00:00
2016-04-17 12:23:07 -07:00
2016-08-24 16:30:10 +00:00
2016-08-24 16:30:10 +00:00
2016-08-24 16:30:10 +00:00
2016-09-23 15:10:08 -07:00
2016-09-26 22:16:45 -07:00
2016-04-18 17:32:40 -07:00
2015-07-17 03:18:03 +00:00
2016-08-24 16:30:10 +00:00
2016-09-09 12:33:22 -07:00
2016-08-24 16:30:10 +00:00
2013-03-22 11:24:29 -07:00
2015-09-25 09:13:34 -07:00
2014-01-14 09:19:45 +00:00
2016-07-19 12:03:27 -07:00
2016-03-02 13:39:47 -08:00
2016-08-24 16:30:10 +00:00
2016-08-24 16:30:10 +00:00
2015-10-13 05:28:54 -07:00
2016-10-02 15:19:21 -07:00
2015-10-13 05:28:54 -07:00
2015-10-13 05:28:54 -07:00
2016-08-24 17:40:27 -07:00
2016-10-01 00:02:01 -07:00
2016-08-19 14:21:33 -07:00
2016-09-09 12:33:19 -07:00
2016-09-14 03:58:46 -07:00
2016-09-28 16:00:00 -07:00
2013-08-02 18:22:57 -07:00
2016-10-01 03:14:07 +00:00
2015-11-08 10:07:38 -08:00
2016-08-24 16:30:10 +00:00
2016-01-06 18:48:11 -08:00
2016-08-24 16:30:10 +00:00
2016-07-29 10:51:22 -07:00
2012-07-26 16:25:34 -07:00
2016-08-24 16:30:10 +00:00
2016-09-08 17:57:51 -07:00
2015-06-11 00:08:49 +00:00
2015-07-15 21:57:36 +00:00
2014-11-15 06:00:02 +00:00
2015-09-25 19:36:37 -07:00
2014-05-17 20:14:17 +00:00
2016-05-05 19:16:50 -07:00
2016-08-31 17:20:26 +00:00
2016-03-21 16:35:33 -07:00
2016-08-24 16:30:10 +00:00
2016-09-09 02:58:38 -07:00
2016-09-23 12:21:51 -07:00
2016-09-01 05:02:27 -07:00
2016-08-24 16:30:10 +00:00
2016-10-01 00:02:01 -07:00
2016-08-24 16:30:10 +00:00
2016-08-24 16:30:10 +00:00
2016-08-24 16:30:10 +00:00
2016-08-24 16:30:10 +00:00
2016-10-01 00:02:01 -07:00
2016-09-27 00:27:37 -07:00
2016-04-27 10:10:02 -07:00
2016-07-21 13:13:35 -07:00
2016-06-16 12:27:42 -07:00
2016-09-13 22:21:33 -07:00
2016-09-13 22:21:31 -07:00
2016-08-24 16:30:10 +00:00
2016-08-24 16:30:10 +00:00
2016-09-22 19:12:36 -07:00
2016-07-21 13:13:35 -07:00
2016-08-22 23:27:24 -07:00
2016-09-16 21:59:08 -07:00
2015-10-13 05:28:54 -07:00
2015-09-24 12:46:28 -07:00
2016-01-25 21:46:48 -08:00
2016-08-24 16:30:10 +00:00