Re: [U-Boot] [PATCH 07/12] x86: Simplify codes in write_tables()

2016-02-28 Thread Bin Meng
On Mon, Feb 29, 2016 at 12:19 PM, Simon Glass wrote: > On 27 February 2016 at 23:58, Bin Meng wrote: >> Given all table write routines have the same signature, we can use >> simplify the codes by using a function table. >> >> Signed-off-by: Bin Meng

Re: [U-Boot] [PATCH 07/12] x86: Simplify codes in write_tables()

2016-02-28 Thread Simon Glass
On 27 February 2016 at 23:58, Bin Meng wrote: > Given all table write routines have the same signature, we can use > simplify the codes by using a function table. > > Signed-off-by: Bin Meng > --- > > arch/x86/lib/tables.c | 61 >

[U-Boot] [PATCH 07/12] x86: Simplify codes in write_tables()

2016-02-27 Thread Bin Meng
Given all table write routines have the same signature, we can use simplify the codes by using a function table. Signed-off-by: Bin Meng --- arch/x86/lib/tables.c | 61 --- 1 file changed, 34 insertions(+), 27 deletions(-)