[Skiboot] [PATCH 1/9] npu2: Split out common helper functions into separate file

Andrew Donnellan andrew.donnellan at au1.ibm.com
Thu Jan 11 14:01:24 AEDT 2018


On 11/01/18 04:15, Frederic Barrat wrote:
> 
> 
> Le 18/12/2017 à 08:07, Andrew Donnellan a écrit :
>> diff --git a/hw/npu2-common.c b/hw/npu2-common.c
>> new file mode 100644
>> index 0000000..cf616f3
>> --- /dev/null
>> +++ b/hw/npu2-common.c
>> @@ -0,0 +1,98 @@
>> +#include <skiboot.h>
>> +#include <xscom.h>
>> +#include <pci.h>
>> +#include <npu2.h>
>> +#include <npu2-regs.h>
>> +#include <bitutils.h>
> 
> I was tempted to make a comment that it's the only file in that 
> directory without a copyright banner statement. But I won't, as you then 
> could fire back by asking details about what/why/how and I don't want to 
> know. So I'm not making that comment. Really.

Added. :D

-- 
Andrew Donnellan              OzLabs, ADL Canberra
andrew.donnellan at au1.ibm.com  IBM Australia Limited



More information about the Skiboot mailing list