summaryrefslogtreecommitdiff
path: root/include/pci.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-11-26 19:51:20 -0700
committerSimon Glass <sjg@chromium.org>2015-12-01 06:26:37 -0700
commit07a588704c3020bd29a1c27e85570592ce665592 (patch)
treed0c23829ed9afacfcbeb2b801da0d3bbe8bb6832 /include/pci.h
parentca7de76d8c5a12e178593770e0d2272cca2596bb (diff)
downloadu-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