On 27 February 2016 at 23:58, Bin Meng <[email protected]> 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 <[email protected]>
> ---
>
>  arch/x86/lib/tables.c | 61 
> ++++++++++++++++++++++++++++-----------------------
>  1 file changed, 34 insertions(+), 27 deletions(-)

Reviewed-by: Simon Glass <[email protected]>

We could even use a linker list.
_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to