Hmmm, I have not touched ppc8248 before, but I guess it will work since it is only 1 byte, not 2 or 4 byte access. I have used it in ppc 440epx, and that eval board is big endian as well.
On 12/31/07, Misbah khan <[EMAIL PROTECTED]> wrote: > > > I have used in_be32() and out_be32() for ppc8248 in one of my driver for > FPGA > in which the fpga memory is mapped here it is Io mapped thats the only > difference ....remapping and using in_8() and out_8() will it work for > BigEndian arch ???? > > -----Misbah <>< > > > Misbah khan wrote: > > > > Hi all... > > > > I am writing a driver in which device port is mapped to CPLD and 8 bit > > data bus is directly connected from processor to CPLD. Read write on > CPLD > > memory mapped (buffer/register) is required to control the device. This > is > > now IO mapped to processor. > > > > I need to know whether i am right if i impliment like this :- > > addr=ioremap(base_addr); // Remap to Mem mapped > address > > outb(addr) and inb(addr); > > > > Please suggest me if i am wrong or there could be better solution to > this > > . > > > > -----Misbah <>< > > > > > > -- > View this message in context: > http://www.nabble.com/How-to-do-IO-mapped-Implimentation-----tp14522349p14555864.html > Sent from the linuxppc-embedded mailing list archive at Nabble.com. > > _______________________________________________ > Linuxppc-embedded mailing list > Linuxppc-embedded@ozlabs.org > https://ozlabs.org/mailman/listinfo/linuxppc-embedded >
_______________________________________________ Linuxppc-embedded mailing list Linuxppc-embedded@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-embedded