On Sun, Nov 22, 2015 at 7:28 AM, Simon Glass <[email protected]> wrote:
> This function uses macros to output data. It seems better to use a table of
> registers rather than macro-based code generation. It also reduces the
> code/data size by 2KB on ARM.
>
> Signed-off-by: Simon Glass <[email protected]>
>
> ---
>
> Changes in v2:
> - Squash in the patch to fix pci_field_width() for 32-bit values
> - Rename '_byte' to class in pci_header_show()
>

Reviewed-by: Bin Meng <[email protected]>
Tested-by: Bin Meng <[email protected]>

>  common/cmd_pci.c | 237 
> ++++++++++++++++++++++++++++++++++---------------------
>  1 file changed, 148 insertions(+), 89 deletions(-)
>

[snip]

Regards,
Bin
_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to