Commit 78677812 authored by Juan David González Cobas's avatar Juan David González Cobas Committed by Alessandro Rubini

fine-delay: temporary hack to get the 2nd mz address

parent 530e444c
......@@ -191,6 +191,13 @@ int fd_probe(struct fmc_device *fmc)
/* Now use SDB to find the base addresses */
fd->fd_regs_base =
fmc_find_sdb_device(fmc->sdb, 0xce42, 0xf19ede1a, NULL);
/* ugly hack for svec testing*/
if (fmc->slot_id == 1) {
fd->fd_regs_base = 0x10000;
}
dev_info(dev, "fd_regs_base is %x\n", fd->fd_regs_base);
fd->fd_vic_base =
fmc_find_sdb_device(fmc->sdb, 0xce42, 0x00000013, NULL);
fd->fd_owregs_base = fd->fd_regs_base + 0x500;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment