summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorAllen Xu <b45815@freescale.com>2015-01-15 10:18:29 +0800
committerNitin Garg <nitin.garg@freescale.com>2015-01-15 21:20:01 -0600
commit3534eea2aaa37ad256f1979c205dbad44ef9be04 (patch)
treec0645f9dec2f5be6954ca2726a24bc9393e40bb3 /Documentation
parentb593c7294042f1fc6244542a24dd1fabe8106702 (diff)
MLK-10028 QSPI dynamically alloc memory for AHB read
QSPI may failed to alloc enough memory (256MB) for AHB read in previous implementation, especially in 3G/1G memory layout kernel. Dynamically alloc memory to avoid such issue. This implementation generally alloc 4MB memory for AHB read, it should be enough for common scenarios, and the side effect (0.6% performance drop) is minor. Previous implementation root@imx6qdlsolo:~# dd if=/dev/mtd0 of=/dev/null bs=1K count=32K 32768+0 records in 32768+0 records out 33554432 bytes (34 MB) copied, 2.16006 s, 15.5 MB/s root@imx6qdlsolo:~# dd if=/dev/mtd0 of=/dev/null bs=32M count=1 1+0 records in 1+0 records out 33554432 bytes (34 MB) copied, 1.43149 s, 23.4 MB/s After applied the patch root@imx6qdlsolo:~# dd if=/dev/mtd0 of=/dev/null bs=1K count=32K 32768+0 records in 32768+0 records out 33554432 bytes (34 MB) copied, 2.1743 s, 15.4 MB/s root@imx6qdlsolo:~# dd if=/dev/mtd0 of=/dev/null bs=32M count=1 1+0 records in 1+0 records out 33554432 bytes (34 MB) copied, 1.43158 s, 23.4 MB/s Signed-off-by: Allen Xu <b45815@freescale.com> (cherry picked from commit ebcd4437450c4f0075988ef9c8824e837546c70b)
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions