Re: [U-Boot] [PATCH v8 04/14] sf: probe: Code cleanup

2015-12-09 Thread Bin Meng
On Mon, Dec 7, 2015 at 2:34 AM, Jagan Teki wrote: > - Move bar read code below the bar write hance both > at once place, hence it easy for #ifdef macro only > once and readable. > - Move read_cmd_array at top > > Reviewed-by: Simon Glass > Signed-off-by: Jagan Teki > --- > drivers/mtd/spi/s

[U-Boot] [PATCH v8 04/14] sf: probe: Code cleanup

2015-12-06 Thread Jagan Teki
- Move bar read code below the bar write hance both at once place, hence it easy for #ifdef macro only once and readable. - Move read_cmd_array at top Reviewed-by: Simon Glass Signed-off-by: Jagan Teki --- drivers/mtd/spi/sf_ops.c | 80 +++- 1 fil