]> git.sur5r.net Git - u-boot/commitdiff
cfi_flash: Fix comment style
authorMario Six <mario.six@gdsys.cc>
Fri, 26 Jan 2018 13:43:41 +0000 (14:43 +0100)
committerStefan Roese <sr@denx.de>
Mon, 29 Jan 2018 06:48:58 +0000 (07:48 +0100)
Comment blocks should end with a "*/" on a separate line, not with the
"*/" attached to the end of the last line of text. Fix all instances
where this occurs.

Signed-off-by: Mario Six <mario.six@gdsys.cc>
Signed-off-by: Stefan Roese <sr@denx.de>
drivers/mtd/cfi_flash.c

index 6ae1ac871f5bb2736c462e63a7a60fddaa538350..a21c407ed7f2ca6acdd25835423e8510cd4cf15c 100644 (file)
@@ -946,7 +946,8 @@ static int flash_write_cfibuffer(flash_info_t *info, ulong dest, uchar *cp,
                                              "write to buffer");
                if (retcode == ERR_OK) {
                        /* reduce the number of loops by the width of
-                        * the port */
+                        * the port
+                        */
                        cnt = len >> shift;
                        flash_write_cmd(info, sector, 0, cnt - 1);
                        while (cnt-- > 0) {
@@ -1793,7 +1794,8 @@ static int flash_detect_legacy(phys_addr_t base, int banknum)
 
        if (board_flash_get_legacy(base, banknum, info)) {
                /* board code may have filled info completely. If not, we
-                  use JEDEC ID probing. */
+                * use JEDEC ID probing.
+                */
                if (!info->vendor) {
                        int modes[] = {
                                CFI_CMDSET_AMD_STANDARD,