[U-Boot] PowerPC chipselects

Hi. Im new with embedded systems. I have a board which has a powerpc 8313 processor on it, running a linux kernel + uboot.
In the PowerPC Local Bus, there is a chipset connected to the CS02 powerpc pin. The problem is, i don't know how to map the chipset memory into powerpc main memory. What config files I have to change?
I already have a device driver for the chipset, but i dont know what memory address i should io_remap() to talk to it! The only information I have about the chipset is that it is connected to the CS02 pin, and the memory size needed is 0x8000 (32k).
Thanks

On Sat, Nov 21, 2009 at 11:23:42AM -0800, julianosam wrote:
Hi. Im new with embedded systems. I have a board which has a powerpc 8313 processor on it, running a linux kernel + uboot.
In the PowerPC Local Bus, there is a chipset connected to the CS02 powerpc pin. The problem is, i don't know how to map the chipset memory into powerpc main memory. What config files I have to change?
In the board config file, define CONFIG_SYS_BR2_PRELIM and CONFIG_SYS_OR2_PRELIM according to the values that you want programmed into the local bus controller (see the local bus section of the 8313 reference manual for details).
-Scott
participants (2)
-
julianosam
-
Scott Wood