[U-Boot] [PATCH v2 9/9] spi, mpc8xx: migrate to DM_SPI

Christophe LEROY christophe.leroy at c-s.fr
Thu Nov 29 08:21:01 UTC 2018



Le 21/11/2018 à 11:18, Jagan Teki a écrit :
> On Wed, Nov 21, 2018 at 2:39 PM Jagan Teki <jagan at amarulasolutions.com> wrote:
>>
>> On Wed, Nov 21, 2018 at 2:21 PM Christophe Leroy
>> <christophe.leroy at c-s.fr> wrote:
>>>
>>> Signed-off-by: Christophe Leroy <christophe.leroy at c-s.fr>
>>> ---
>>>   drivers/spi/mpc8xx_spi.c | 179 ++++++++---------------------------------------
> 
> How did you handle this eeprom calls?
> 
> cmd/built-in.o: In function `eeprom_init':
> ~/u-boot-dev/cmd/eeprom.c:71: undefined reference to `spi_init_f'
> cmd/built-in.o: In function `eeprom_rw_block':
> ~/u-boot-dev/cmd/eeprom.c:135: undefined reference to `spi_read'
> ~/u-boot-dev/cmd/eeprom.c:137: undefined reference to `spi_write'
> 

Oops, didn't see that. Indeed the HW I have doesn't have eeprom, I 
tested the SPI driver with thermal monitoring.

I see you sent a patch fixing it, thanks.

Christophe


More information about the U-Boot mailing list