diff options
author | John Crispin <john@openwrt.org> | 2014-06-24 18:13:13 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2014-06-24 18:13:13 +0000 |
commit | 8e3b055b2a506589fff3dbf3a2c854418bfded00 (patch) | |
tree | 128ea432c92d517bb9b12d2d46bd6662604ad043 /target/linux/atheros/patches-3.8/140-redboot_boardconfig.patch | |
parent | f8893629ecf4e8682f1f6faaeaba74f21e494767 (diff) | |
download | mtk-20170518-8e3b055b2a506589fff3dbf3a2c854418bfded00.zip mtk-20170518-8e3b055b2a506589fff3dbf3a2c854418bfded00.tar.gz mtk-20170518-8e3b055b2a506589fff3dbf3a2c854418bfded00.tar.bz2 |
atheros[ar2315]: don't detect flash size during board initialization
We should not detect actual flash size during board initialization to
find board config at the end of the flash, just use large enough mapping
size (currently 128 mbit). If mapping size is larger than the actual
flash size, than flash will simply be mapped multiple times. This change
simplifies code by removing duplication and saves about 200 bytes of
uncompressed kernel :)
Tested with Ubnt LS2 board equipped with STM 25p32v6p NOR flash (32 mbit).
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 41317
Diffstat (limited to 'target/linux/atheros/patches-3.8/140-redboot_boardconfig.patch')
0 files changed, 0 insertions, 0 deletions