diff options
author | Alexander Dahl <ada@thorsis.com> | 2019-06-28 14:41:22 +0200 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2019-07-30 10:21:14 +0200 |
commit | 3911b19cac9dc7d11e7d9e79e80fb62eced74ba7 (patch) | |
tree | 0263bcacc05467b9a8134208881a23525cf93d94 /drivers/fpga/cyclon2.c | |
parent | bb2c0fa03e80d4ff131eda28eabbd986f3864107 (diff) | |
download | u-boot-3911b19cac9dc7d11e7d9e79e80fb62eced74ba7.tar.gz |
fpga: altera: cyclon2: Fix indentation
Some code parts stood too far left …
Signed-off-by: Alexander Dahl <ada@thorsis.com>
Diffstat (limited to 'drivers/fpga/cyclon2.c')
-rw-r--r-- | drivers/fpga/cyclon2.c | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/drivers/fpga/cyclon2.c b/drivers/fpga/cyclon2.c index 99a64d437c..ab979b017a 100644 --- a/drivers/fpga/cyclon2.c +++ b/drivers/fpga/cyclon2.c @@ -162,28 +162,28 @@ static int CYC2_ps_load(Altera_desc *desc, const void *buf, size_t bsize) putc(' '); /* terminate the dotted line */ #endif - /* - * Checking FPGA's CONF_DONE signal - correctly booted ? - */ - - if (!(*fn->done) (cookie)) { - puts("** Booting failed! CONF_DONE is still deasserted.\n"); - (*fn->abort) (cookie); - return FPGA_FAIL; - } + /* + * Checking FPGA's CONF_DONE signal - correctly booted ? + */ + + if (!(*fn->done) (cookie)) { + puts("** Booting failed! CONF_DONE is still deasserted.\n"); + (*fn->abort) (cookie); + return FPGA_FAIL; + } #ifdef CONFIG_SYS_FPGA_PROG_FEEDBACK - puts(" OK\n"); + puts(" OK\n"); #endif - ret_val = FPGA_SUCCESS; + ret_val = FPGA_SUCCESS; #ifdef CONFIG_SYS_FPGA_PROG_FEEDBACK - if (ret_val == FPGA_SUCCESS) - puts("Done.\n"); - else - puts("Fail.\n"); + if (ret_val == FPGA_SUCCESS) + puts("Done.\n"); + else + puts("Fail.\n"); #endif - (*fn->post) (cookie); + (*fn->post) (cookie); } else { printf("%s: NULL Interface function table!\n", __func__); |