diff options
author | Chin Liang See <clsee@altera.com> | 2013-11-27 06:40:33 -0800 |
---|---|---|
committer | Chin Liang See <clsee@altera.com> | 2013-11-27 06:40:33 -0800 |
commit | 976f078cc81f23ff5d4d99e58dbc1a7b96a73770 (patch) | |
tree | dfae45e386272e2e0f72679056cbc5bf182ce115 /arch | |
parent | 1bb3cde5639a548c4c526a9c51bf908a94b5633e (diff) | |
download | u-boot-socfpga-976f078cc81f23ff5d4d99e58dbc1a7b96a73770.tar.gz |
FogBugz #161193: Enhancing "bridge_enable_handoff" command
Bridge_enable_handoff command is used to enable all the bridges
based on handoff values. It took place after the FPGA programming.
This enhancement will remove all memory display commands as
they will trigger data abort if user press enter many times
after run bridge_enable_handoff.
The data abort is caused by U-Boot memory display features which
will auto increment the address after user press enter later on.
When this happen, the memory display command will display next
address which are not a valid address and causing data abort.
Signed-off-by: Chin Liang See <clsee@altera.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/cpu/armv7/socfpga/misc.c | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/arch/arm/cpu/armv7/socfpga/misc.c b/arch/arm/cpu/armv7/socfpga/misc.c index 18aecc6121..9568530757 100644 --- a/arch/arm/cpu/armv7/socfpga/misc.c +++ b/arch/arm/cpu/armv7/socfpga/misc.c @@ -106,13 +106,7 @@ int misc_init_r(void) "mw $fpga2sdram ${fpga2sdram_handoff}; " "go $fpga2sdram_apply; " "mw $axibridge ${axibridge_handoff}; " - "mw $l3remap ${l3remap_handoff}; " - "echo fpgaintf; " - "md $fpgaintf 1; " - "echo fpga2sdram; " - "md $fpga2sdram 1; " - "echo axibridge; " - "md $axibridge 1"); + "mw $l3remap ${l3remap_handoff} "); /* add signle command to disable all bridges */ setenv("bridge_disable", @@ -120,13 +114,7 @@ int misc_init_r(void) "mw $fpga2sdram 0; " "go $fpga2sdram_apply; " "mw $axibridge 0; " - "mw $l3remap 0x1; " - "echo fpgaintf; " - "md $fpgaintf 1; " - "echo fpga2sdram; " - "md $fpga2sdram 1; " - "echo axibridge; " - "md $axibridge 1"); + "mw $l3remap 0x1 "); return 0; } |