commit | eea22f7bd9ca4bc563c4b53cacd08ba8f02cb579 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Thu Nov 26 19:51:20 2015 -0700 |
committer | Simon Glass <sjg@chromium.org> | Tue Dec 01 06:26:37 2015 -0700 |
tree | d0c23829ed9afacfcbeb2b801da0d3bbe8bb6832 | |
parent | 3b6c4181b443a10e7b44d45476521ec437379d67 [diff] |
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>