Files
OpenCellular/common
Simon Glass 9a4eff992f flash: Provide direct flash access with flash_dataptr()
Sometimes it is useful to get access to the flash directly, without using
flash_read(). Add a function to do this.

Since the range checking is done in every function in flash_common,
use the new function to do it for us. That way we get a slight (64 byte)
code size reduction.

BUG=chrome-os-partner:10146
TEST=manual:
build and boot on snow with SPI flash emulation, in U-Boot:

See that the 32KB of flash has been provided correctly.

Change-Id: I6622a24234edaed371dd5b9bf43d1f3974d55e39
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/26174
2012-07-02 22:35:51 -07:00
..
2012-05-25 13:34:06 -07:00
2012-06-22 15:35:41 -07:00
2012-06-25 15:37:41 -07:00
2012-06-27 00:55:04 -07:00
2012-06-25 07:15:50 -07:00
2012-05-25 13:34:06 -07:00
2012-06-07 14:33:26 -07:00
2012-05-25 13:34:06 -07:00
2012-05-25 13:34:06 -07:00
2012-05-14 13:35:03 -07:00
2012-06-25 15:37:42 -07:00
2012-06-26 17:01:52 -07:00
2012-06-26 13:58:54 -07:00
2012-06-29 10:22:50 -07:00