commit | 7e7dda8ad6d4aa984e23986765b2c92b74fb362c | [log] [tgz] |
---|---|---|
author | Stefan Roese <sr@denx.de> | Mon Aug 30 10:11:51 2010 +0200 |
committer | Stefan Roese <sr@denx.de> | Mon Sep 20 15:08:43 2010 +0200 |
tree | 0ea12704539f668521ae354fbeef772b6319ab9b | |
parent | 6c7c2dc8ce2549a711eaf100ba8ff4da70ed21d7 [diff] |
cfi_flash: Add weak default for cfi_flash_bank_addr() cfi_flash_bank_addr(int bank_nr) returns the base addresses of the requested bank. Introducing this weak default enables boards to override this functions with a board specific version when required. This feature will be used in the lwmon5 board update, supporting runtime detection of 2 board revisions with different flash layouts. Signed-off-by: Stefan Roese <sr@denx.de>