
23 Feb
2007
23 Feb
'07
1 p.m.
I don't use the CFG_SPI_UCODE_PATCH but it seems that in u-boot-1.2.0 the setting spi->spi_rpbase = 0; done in order to disable relocation causes my 8xx controller to hang. I removed that line and it works fine. Because I consider myself the newbie(st) on the mailing list, I would like a comment from a competent people.
Here is the code snippet in ./cpu/mpc8xx/spi.c
#ifdef CFG_SPI_UCODE_PATCH spi = (spi_t *)&cp->cp_dpmem[spi->spi_rpbase]; #else spi = (spi_t *)&cp->cp_dparam[PROFF_SPI]; /* Disable relocation */ // spi->spi_rpbase = 0; #endif