Permalink
Browse files

FogBugz #287646: Arria10: No indication of Firewall failure.

Matthew noticed that if there is a firewall setup problem,
it fails silently. This patch puts out a message on the UART
if there is a failure.

Signed-off-by: Thor Thayer <tthayer@opensource.altera.com>
1 parent 35f437e commit bc36391e21d843694ad3bcbe54edaf17cda62701 Thor Thayer committed Mar 20, 2015
Showing with 2 additions and 1 deletion.
  1. +2 −1 arch/arm/cpu/armv7/socfpga_arria10/sdram.c
@@ -834,7 +834,8 @@ int ddr_calibration_sequence(void)
/* setup the dram info within bd */
dram_init_banksize();
- of_sdram_firewall_setup(gd->fdt_blob);
+ if (of_sdram_firewall_setup(gd->fdt_blob))
+ puts("FW: Error Configuring Firewall\n");
return 0;
}

0 comments on commit bc36391

Please sign in to comment.