Ok Scott,
now it works!
We had severals hardware problem.
Thanks for your help
2013/10/11 Scott Wood :
> On Fri, 2013-10-11 at 17:03 +0200, Mercier Ivan wrote:
>> Hi,
>> this should be correct (I'm using chip select 3 for this device)
>> lbc: localbus@ffe12400
a3p_bcsr = of_iomap(np, 0);
of_node_put(np);
if (!a3p_bcsr) {
printk(KERN_CRIT "Could not remap BCSR\n");
return;
}
}
Thanks for your help Scott
2013/10/10 Scott Wood :
> On Thu, 2013-10-10 at 16:54 +0200, Mercier Ivan wrote:
>
000>;
};
The corresponding law on ELBC is 0xe000 ->0xf000.
I want to map my device on 0xe000 ->0xe800 as it has 16 adress bits.
Now the controler registers are properly set,but how do I map the device?
Thanks a lot
2013/10/9 Scott Wood :
> On Tue, 2013-10-08 a
Hi,
I'm working on a powerpc qoriq p3041 and trying to communicate with a
device by elbc bus in gpmc mode.
I 've integrated CONFIG_FSL_LBC in Linux which provide the basic functions.
Now I'm wondering how can I do read and write operations on the
bus.Where is mapped my device?
Should I code .re