Files
OpenCellular/chip/stm32
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-05-26 16:17:26 -07:00
2016-10-02 15:19:21 -07:00
2014-10-07 20:58:52 +00:00
2016-04-25 16:49:02 -07:00
2015-06-18 19:07:00 +00:00
2014-10-07 20:58:52 +00:00
2016-08-21 04:11:10 -07:00
2014-10-07 20:58:52 +00:00
2016-04-25 16:49:02 -07:00
2013-07-08 13:53:58 -07:00
2016-04-25 16:49:01 -07:00
2015-08-24 19:08:35 +00:00
2015-08-24 19:08:35 +00:00
2015-08-24 19:08:35 +00:00
2015-08-24 19:08:30 +00:00
2015-08-24 19:08:30 +00:00
2015-08-24 19:08:30 +00:00
2015-08-24 19:08:30 +00:00
2015-08-24 19:08:30 +00:00
2015-08-24 19:08:30 +00:00
2015-08-24 19:08:35 +00:00
2016-09-02 21:17:22 -07:00
2016-09-02 21:17:22 -07:00
2016-09-02 21:17:22 -07:00
2016-09-02 21:17:22 -07:00
2016-09-02 21:17:22 -07:00
2015-06-18 05:07:55 +00:00
2016-09-01 22:56:22 -07:00
2016-03-15 21:49:35 -07:00
2016-09-02 21:17:22 -07:00