[PATCH 1/4] lib: utils/i2c: Add generic I2C configuration library

Nikita Shubin nikita.shubin at maquefel.me
Tue Sep 28 04:07:54 PDT 2021


Hello Xiang!

On Sat, 25 Sep 2021 12:19:43 +0800
Xiang W <wxjstz at 126.com> wrote:

> > +
> > +#include <sbi/sbi_error.h>
> > +#include <sbi_utils/i2c/i2c.h>
> > +
> > +#define I2C_ADAPTER_MAX                16  
> If it is implemented through a linked list, there will be no limit on
> the number

You are proposing double linked lists like in Linux/BSD? That makes
sense.


Yours,
Nikita Shubin



More information about the opensbi mailing list