Approved by: cognet
This commit is contained in:
Kevin Lo 2006-07-25 01:08:41 +00:00
parent ae05dd24c0
commit c4a6fb0610
2 changed files with 1 additions and 18 deletions

View File

@ -73,23 +73,6 @@ struct bus_space i80321_bs_tag;
*/
struct i80321_softc *i80321_softc;
/* Built-in devices. */
static const struct iopxs_device {
const char *id_name;
bus_addr_t id_offset;
bus_size_t id_size;
} iopxs_devices[] = {
{ "iopaau", VERDE_AAU_BASE, VERDE_AAU_SIZE },
/* { "iopdma", VERDE_DMA_BASE0, VERDE_DMA_CHSIZE }, */
/* { "iopdma", VERDE_DMA_BASE1, VERDE_DMA_CHSIZE }, */
{ "iopiic", VERDE_I2C_BASE0, VERDE_I2C_CHSIZE },
{ "iopiic", VERDE_I2C_BASE1, VERDE_I2C_CHSIZE },
/* { "iopssp", VERDE_SSP_BASE, VERDE_SSP_SIZE }, */
{ "iopmu", VERDE_MU_BASE, VERDE_MU_SIZE },
{ "iopwdog", 0, 0 },
{ NULL, 0, 0 }
};
#define PCI_MAPREG_MEM_ADDR(x) ((x) & 0xfffffff0)
/*
* i80321_attach:

View File

@ -291,7 +291,7 @@ cpu_reset()
(void) disable_interrupts(I32_bit|F32_bit);
*(__volatile uint32_t *)(IQ80321_80321_VBASE + VERDE_ATU_BASE +
ATU_PCSR) = PCSR_RIB | PCSR_RPB;
printf("Reset failed :'(\n");
printf("Reset failed!\n");
for(;;);
}