diff options
author | Simon Glass <sjg@chromium.org> | 2015-11-26 19:51:20 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-12-01 06:26:37 -0700 |
commit | 07a588704c3020bd29a1c27e85570592ce665592 (patch) | |
tree | d0c23829ed9afacfcbeb2b801da0d3bbe8bb6832 /include/pci.h | |
parent | ca7de76d8c5a12e178593770e0d2272cca2596bb (diff) | |
download | u-boot-imx-07a588704c3020bd29a1c27e85570592ce665592.zip u-boot-imx-07a588704c3020bd29a1c27e85570592ce665592.tar.gz u-boot-imx-07a588704c3020bd29a1c27e85570592ce665592.tar.bz2 |
pci: Refactor the pciinfo() function
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 <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'include/pci.h')
0 files changed, 0 insertions, 0 deletions