aboutsummaryrefslogtreecommitdiffstats
path: root/docs/debugging.tex
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 /docs/debugging.tex
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 'docs/debugging.tex')
0 files changed, 0 insertions, 0 deletions
d='n127' href='#n127'>127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197