summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorHaixiang Bao <haixiang.bao@amlogic.com>2015-06-25 15:58:43 +0800
committerHaixiang Bao <haixiang.bao@amlogic.com>2015-06-25 15:58:43 +0800
commit5a0d15498bee3df2f7e88134cd5661be072c236a (patch)
tree7b9e1bf2395e3e8048d08ea79119c6af84620cd0 /fs
parentcd0d87bfa4ef9bd139f48c87f50bcc15847504fa (diff)
downloadu-boot-odroid-c1-5a0d15498bee3df2f7e88134cd5661be072c236a.tar.gz
GXBB : secure boot update
1. support EFUSE pattern programming in normal boot 1.1 fatload mmc 0 1080000 u-boot.bin.encrypt.efuse efuse secure_boot_set 1080000 2. support unify build in uboot 2.1 update encrypt module fip/aml_encrypt_gxb 2.2 enable CONFIG_AML_CRYPTO_IMG for kernel image 2.3 enable CONFIG_AML_CRYPTO_UBOOT for uboot 2.4 update Makefile for support unify build 3. update bl31.bin for support above features 3.1 git commit 229f7ee478e8827dc3b1bf28ec2cb6472af4f8eb 3.2 bl31 also support audio license query with smc call 4. update sha2.c for BL2 code size optimization 5. verify 5.1 gxb_p200,gxb_p201,gxb_skt all compile pass 5.2 EFUSE pattern programming verify pass with gxb_skt_v1 5.3 encrypted kernel boot verify pass with gxb_skt_v1 PS: this version bl31 still use PIO mode for HW SHA and AES. Need tune with DMA mode! Change-Id: Ie4e092e3c4836b78974e90e3e6aeeb603d6080a9 Signed-off-by: Haixiang Bao <haixiang.bao@amlogic.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/fs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/fs.c b/fs/fs.c
index ddd751c9cc..a0a5266b23 100644
--- a/fs/fs.c
+++ b/fs/fs.c
@@ -398,6 +398,8 @@ int do_load(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[],
if (ret < 0)
return 1;
+ flush_dcache_range((unsigned long )addr, (unsigned long )addr+len_read);
+
printf("%llu bytes read in %lu ms", len_read, time);
if (time > 0) {
puts(" (");