From: Alexander Dahl Date: Thu, 11 Apr 2019 12:18:49 +0200 Subject: [U-Boot] [PATCH 2/4] fpga: altera: cyclon2: Fix indentation In-Reply-To: <20190411101851.13022-1-ada@thorsis.com> References: <20190411101851.13022-1-ada@thorsis.com> Message-ID: <20190411101851.13022-3-ada@thorsis.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable To: u-boot@lists.denx.de Some code parts stood too far left =E2=80=A6 Signed-off-by: Alexander Dahl --- drivers/fpga/cyclon2.c | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/drivers/fpga/cyclon2.c b/drivers/fpga/cyclon2.c index 6755956e85..bd7931bbb1 100644 --- a/drivers/fpga/cyclon2.c +++ b/drivers/fpga/cyclon2.c @@ -51,7 +51,7 @@ int CYC2_load(Altera_desc *desc, const void *buf, size_t = bsize) * function for FPP, too. */ PRINTF ("%s: Launching Fast Passive Parallel Loader\n", - __FUNCTION__); + __FUNCTION__); ret_val =3D CYC2_ps_load(desc, buf, bsize); break; =20 @@ -162,30 +162,30 @@ static int CYC2_ps_load(Altera_desc *desc, const void= *buf, size_t bsize) putc (' '); /* terminate the dotted line */ #endif =20 - /* - * Checking FPGA's CONF_DONE signal - correctly booted ? - */ + /* + * Checking FPGA's CONF_DONE signal - correctly booted ? + */ =20 - if ( ! (*fn->done) (cookie) ) { - puts ("** Booting failed! CONF_DONE is still deasserted.\n"); - (*fn->abort) (cookie); - return (FPGA_FAIL); - } + 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 =20 - ret_val =3D FPGA_SUCCESS; + ret_val =3D FPGA_SUCCESS; =20 #ifdef CONFIG_SYS_FPGA_PROG_FEEDBACK - if (ret_val =3D=3D FPGA_SUCCESS) { - puts ("Done.\n"); - } - else { - puts ("Fail.\n"); - } + if (ret_val =3D=3D FPGA_SUCCESS) { + puts ("Done.\n"); + } + else { + puts ("Fail.\n"); + } #endif - (*fn->post) (cookie); + (*fn->post) (cookie); =20 } else { printf ("%s: NULL Interface function table!\n", __FUNCTION__); --=20 2.11.0