]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
ppc4xx: Canyonlands: Disable PCIe0/SATA in dev-tree depending on selection
authorStefan Roese <sr@denx.de>
Mon, 19 May 2008 05:14:38 +0000 (07:14 +0200)
committerStefan Roese <sr@denx.de>
Mon, 19 May 2008 05:14:38 +0000 (07:14 +0200)
commit16bedc661de0dae767b1377d8413373a3fbcfa79
treedbb10a738a9edebf817995c0aab2269f9b98517a
parenta38dc3ea8614f8b0c41e432b445a9959b9711295
ppc4xx: Canyonlands: Disable PCIe0/SATA in dev-tree depending on selection

When SATA is selected (via jumper J6) we need to disable the first PCIe
node in the device tree, so that Linux doesn't initialize it. Otherwise
the Linux SATA driver will fail to detect the devices.

The same goes the other way around too. So if PCIe is selected we need
to disable the SATA node in the device tree.

This is because PCIe port 0 and SATA on 460EX share the same pins
(multiplexed) and we have to configure in U-Boot which peripheral is
enabled.

Signed-off-by: Stefan Roese <sr@denx.de>
board/amcc/canyonlands/canyonlands.c