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

Bin Meng bmeng.cn at gmail.com
Mon Feb 29 08:32:05 CET 2016


On Mon, Feb 29, 2016 at 12:19 PM, Simon Glass <sjg at chromium.org> wrote:
> On 27 February 2016 at 23:58, Bin Meng <bmeng.cn at gmail.com> 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 <bmeng.cn at gmail.com>
>> ---
>>
>>  arch/x86/lib/tables.c | 61 ++++++++++++++++++++++++++++-----------------------
>>  1 file changed, 34 insertions(+), 27 deletions(-)
>
> Reviewed-by: Simon Glass <sjg at chromium.org>
>
> We could even use a linker list.

applied to u-boot-x86/next, thanks!


More information about the U-Boot mailing list