commit | b00e19cc6b99fdd0a2b2760f225465d0998ef88f | [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 | cba34aafde5f50e61d242f86bd4d214207ec7ca7 [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>