Hello,
On 12/03/2014 04:18 PM, Simon Glass wrote:
Hi Masahiro,
On 1 December 2014 at 04:48, Masahiro Yamada wrote:
Hi Simon,
On Mon, 24 Nov 2014 11:57:22 -0700
Simon Glass wrote:
--- /dev/null
+++ b/drivers/misc/i2c_eeprom.c
@@ -0,0 +1,51 @@
+/*
+ * Copyright (c) 2014 Google, Inc
+ *
+
Hi Simon,
2014-12-04 0:18 GMT+09:00 Simon Glass :
>> Moreover, can we read data from EEPROM
>> without knowing if its parent is I2C bus or SPI bus ?
>>
>>
>> My rough image is like this:
>>
>> int eeprom_read(struct udevice *dev, int offset, uint8_t buf, int size)
>> {
>> struct udevice
Hi Masahiro,
On 1 December 2014 at 04:48, Masahiro Yamada wrote:
> Hi Simon,
>
>
>
>
>
> On Mon, 24 Nov 2014 11:57:22 -0700
> Simon Glass wrote:
>
>> --- /dev/null
>> +++ b/drivers/misc/i2c_eeprom.c
>> @@ -0,0 +1,51 @@
>> +/*
>> + * Copyright (c) 2014 Google, Inc
>> + *
>> + * SPDX-License-Ident
Hi Simon,
On Mon, 24 Nov 2014 11:57:22 -0700
Simon Glass wrote:
> --- /dev/null
> +++ b/drivers/misc/i2c_eeprom.c
> @@ -0,0 +1,51 @@
> +/*
> + * Copyright (c) 2014 Google, Inc
> + *
> + * SPDX-License-Identifier: GPL-2.0+
> + */
> +
> +#include
> +#include
> +#include
> +#include
> +
>
There seem to be a few EEPROM drivers around - perhaps we should have a
single standard one? This simple driver is used for sandbox testing, but
could be pressed into more active service.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2:
- Update commit message for EEPROM driver
5 matches
Mail list logo