summaryrefslogtreecommitdiff
path: root/include/pci.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-11-27 05:51:20 +0300
committerSimon Glass <sjg@chromium.org>2015-12-01 16:26:37 +0300
commit07a588704c3020bd29a1c27e85570592ce665592 (patch)
treed0c23829ed9afacfcbeb2b801da0d3bbe8bb6832 /include/pci.h
parentca7de76d8c5a12e178593770e0d2272cca2596bb (diff)
downloadu-boot-07a588704c3020bd29a1c27e85570592ce665592.tar.xz
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