Dear Marek Vasut, In message <1410779188-6880-26-git-send-email-ma...@denx.de> you wrote: > From: Pavel Machek <pa...@denx.de> > > Add code necessary to program the FPGA part of SoCFPGA from U-Boot > with an RBF blob. This patch also integrates the code into the > FPGA driver framework in U-Boot so it can be used via the 'fpga' > command. ... > +/* Get the FPGA mode */ > +static int fpgamgr_get_mode(void) > +{ > + unsigned long val; > + val = readl(&fpgamgr_regs->stat); > + return val & FPGAMGRREGS_STAT_MODE_MASK; > +}
Please always separate declarations and code by a blank line (please fix globally). Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de I can't understand why people are frightened of new ideas. I'm frightened of the old ones. - John Cage _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot