Searched hist:"8 f9fe660fcf99af47dc0a28b80cd4e34d403f7c5" (Results 1 – 2 of 2) sorted by relevance
| /rk3399_rockchip-uboot/arch/powerpc/cpu/mpc85xx/ |
| H A D | liodn.c | 8f9fe660fcf99af47dc0a28b80cd4e34d403f7c5 Wed Oct 23 12:20:27 UTC 2013 Laurentiu TUDOR <Laurentiu.Tudor@freescale.com> powerpc/t4240: fix per pci endpoint liodn offsets
Update the code that builds the pci endpoint liodn offset list so that it doesn't overlap with other liodns and doesn't generate negative offsets like:
fsl,liodn-offset-list = <0 0xffffffcd 0xffffffcf 0xffffffd1 0xffffffd3 0xffffffd5 0xffffffd7 0xffffffd9 0xffffffdb>;
The update consists in adding a parameter to the function that builds the list to specify the base liodn. On PCI v2.4 use the old base = 256 and, on PCI 3.0 where some of the PCIE liodns are larger than 256, use a base = 1024. The version check is based on the PCI controller's version register.
Signed-off-by: Laurentiu Tudor <Laurentiu.Tudor@freescale.com> Cc: Scott Wood <scottwood@freescale.com> Cc: York Sun <yorksun@freescale.com>
|
| /rk3399_rockchip-uboot/arch/powerpc/include/asm/ |
| H A D | immap_85xx.h | 8f9fe660fcf99af47dc0a28b80cd4e34d403f7c5 Wed Oct 23 12:20:27 UTC 2013 Laurentiu TUDOR <Laurentiu.Tudor@freescale.com> powerpc/t4240: fix per pci endpoint liodn offsets
Update the code that builds the pci endpoint liodn offset list so that it doesn't overlap with other liodns and doesn't generate negative offsets like:
fsl,liodn-offset-list = <0 0xffffffcd 0xffffffcf 0xffffffd1 0xffffffd3 0xffffffd5 0xffffffd7 0xffffffd9 0xffffffdb>;
The update consists in adding a parameter to the function that builds the list to specify the base liodn. On PCI v2.4 use the old base = 256 and, on PCI 3.0 where some of the PCIE liodns are larger than 256, use a base = 1024. The version check is based on the PCI controller's version register.
Signed-off-by: Laurentiu Tudor <Laurentiu.Tudor@freescale.com> Cc: Scott Wood <scottwood@freescale.com> Cc: York Sun <yorksun@freescale.com>
|