|
@@ -626,9 +626,14 @@ cpm_load_patch(cpm8xx_t *cp)
|
|
{
|
|
{
|
|
volatile uint *dp; /* Dual-ported RAM. */
|
|
volatile uint *dp; /* Dual-ported RAM. */
|
|
volatile cpm8xx_t *commproc;
|
|
volatile cpm8xx_t *commproc;
|
|
|
|
+#if defined(CONFIG_I2C_SPI_UCODE_PATCH) || \
|
|
|
|
+ defined(CONFIG_I2C_SPI_SMC1_UCODE_PATCH)
|
|
volatile iic_t *iip;
|
|
volatile iic_t *iip;
|
|
volatile struct spi_pram *spp;
|
|
volatile struct spi_pram *spp;
|
|
|
|
+#ifdef CONFIG_I2C_SPI_SMC1_UCODE_PATCH
|
|
volatile smc_uart_t *smp;
|
|
volatile smc_uart_t *smp;
|
|
|
|
+#endif
|
|
|
|
+#endif
|
|
int i;
|
|
int i;
|
|
|
|
|
|
commproc = cp;
|
|
commproc = cp;
|