diff options
author | Stefan Roese <sr@denx.de> | 2010-08-30 10:11:51 +0200 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2010-09-20 15:08:43 +0200 |
commit | b00e19cc6b99fdd0a2b2760f225465d0998ef88f (patch) | |
tree | 0ea12704539f668521ae354fbeef772b6319ab9b /common/cmd_misc.c | |
parent | cba34aafde5f50e61d242f86bd4d214207ec7ca7 (diff) | |
download | u-boot-imx-b00e19cc6b99fdd0a2b2760f225465d0998ef88f.zip u-boot-imx-b00e19cc6b99fdd0a2b2760f225465d0998ef88f.tar.gz u-boot-imx-b00e19cc6b99fdd0a2b2760f225465d0998ef88f.tar.bz2 |
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>
Diffstat (limited to 'common/cmd_misc.c')
0 files changed, 0 insertions, 0 deletions