[U-Boot] [PATCH v3 09/13] pci: Use common functions to read/write config
Simon Glass
sjg at chromium.org
Sat Nov 28 17:55:38 CET 2015
On 26 November 2015 at 23:37, Bin Meng <bmeng.cn at gmail.com> wrote:
> On Fri, Nov 27, 2015 at 10:51 AM, Simon Glass <sjg at chromium.org> wrote:
>> Currently we use switch() and access PCI configuration via several
>> functions, one for each data size. Adjust the code to use generic functions,
>> where the data size is a parameter.
>>
>> Signed-off-by: Simon Glass <sjg at chromium.org>
>> ---
>>
>> Changes in v3:
>> - Fix mix-up between PCI_SIZE_xx and byte size
>>
>> Changes in v2:
>> - Add back the leading 0 in the printf() statements
>>
>> common/cmd_pci.c | 74 ++++++++++++++++++++++++--------------------------------
>> 1 file changed, 31 insertions(+), 43 deletions(-)
>>
[snip]
>
> Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
> Tested-by: Bin Meng <bmeng.cn at gmail.com>
Applied to u-boot-dm.
More information about the U-Boot
mailing list