aboutsummaryrefslogtreecommitdiffstats
path: root/target/imagebuilder
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2014-06-24 18:13:13 +0000
committerJohn Crispin <blogic@openwrt.org>2014-06-24 18:13:13 +0000
commitcd83a37b6ecf9cbfc5490df9ec8d2be11cc18c7d (patch)
treed337403489a45ca738fa07f058cddf8947878418 /target/imagebuilder
parentb341c65b7b87244681513bee6163d01caf660612 (diff)
downloadupstream-cd83a37b6ecf9cbfc5490df9ec8d2be11cc18c7d.tar.gz
upstream-cd83a37b6ecf9cbfc5490df9ec8d2be11cc18c7d.tar.bz2
upstream-cd83a37b6ecf9cbfc5490df9ec8d2be11cc18c7d.zip
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41317 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/imagebuilder')
0 files changed, 0 insertions, 0 deletions