mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-21 14:41:31 +00:00
fpga: altera: cyclon2: Fix indentation
Some code parts stood too far left … Signed-off-by: Alexander Dahl <ada@thorsis.com>
This commit is contained in:
parent
bb2c0fa03e
commit
3911b19cac
1 changed files with 15 additions and 15 deletions
|
@ -162,28 +162,28 @@ static int CYC2_ps_load(Altera_desc *desc, const void *buf, size_t bsize)
|
||||||
putc(' '); /* terminate the dotted line */
|
putc(' '); /* terminate the dotted line */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Checking FPGA's CONF_DONE signal - correctly booted ?
|
* Checking FPGA's CONF_DONE signal - correctly booted ?
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if (!(*fn->done) (cookie)) {
|
if (!(*fn->done) (cookie)) {
|
||||||
puts("** Booting failed! CONF_DONE is still deasserted.\n");
|
puts("** Booting failed! CONF_DONE is still deasserted.\n");
|
||||||
(*fn->abort) (cookie);
|
(*fn->abort) (cookie);
|
||||||
return FPGA_FAIL;
|
return FPGA_FAIL;
|
||||||
}
|
}
|
||||||
#ifdef CONFIG_SYS_FPGA_PROG_FEEDBACK
|
#ifdef CONFIG_SYS_FPGA_PROG_FEEDBACK
|
||||||
puts(" OK\n");
|
puts(" OK\n");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
ret_val = FPGA_SUCCESS;
|
ret_val = FPGA_SUCCESS;
|
||||||
|
|
||||||
#ifdef CONFIG_SYS_FPGA_PROG_FEEDBACK
|
#ifdef CONFIG_SYS_FPGA_PROG_FEEDBACK
|
||||||
if (ret_val == FPGA_SUCCESS)
|
if (ret_val == FPGA_SUCCESS)
|
||||||
puts("Done.\n");
|
puts("Done.\n");
|
||||||
else
|
else
|
||||||
puts("Fail.\n");
|
puts("Fail.\n");
|
||||||
#endif
|
#endif
|
||||||
(*fn->post) (cookie);
|
(*fn->post) (cookie);
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
printf("%s: NULL Interface function table!\n", __func__);
|
printf("%s: NULL Interface function table!\n", __func__);
|
||||||
|
|
Loading…
Add table
Reference in a new issue