mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-27 16:01:27 +00:00
Merge patch series "Add AM64x Support to PRUSS and PRU_RPROC driver"
MD Danish Anwar <danishanwar@ti.com> says: This series adds AM64x related compatibles to PRUSS and PRU_RPROC drivers. This series is a prerequisite for ICSSG Ethernet driver. Once Support for AM64x is added to PRUSS and PRU_RPROC driver, I'll send another series to enable ICSSG Ethernet driver for AM64x as well.
This commit is contained in:
commit
c67199962b
2 changed files with 8 additions and 2 deletions
|
@ -398,10 +398,12 @@ static void pru_set_id(struct pru_privdata *priv, struct udevice *dev)
|
|||
{
|
||||
u32 mask2 = 0x38000;
|
||||
|
||||
if (device_is_compatible(dev, "ti,am654-rtu"))
|
||||
if (device_is_compatible(dev, "ti,am654-rtu") ||
|
||||
device_is_compatible(dev, "ti,am642-rtu"))
|
||||
mask2 = 0x6000;
|
||||
|
||||
if (device_is_compatible(dev, "ti,am654-tx-pru"))
|
||||
if (device_is_compatible(dev, "ti,am654-tx-pru") ||
|
||||
device_is_compatible(dev, "ti,am642-tx-pru"))
|
||||
mask2 = 0xc000;
|
||||
|
||||
if ((priv->pru_iram & mask2) == mask2)
|
||||
|
@ -447,6 +449,9 @@ static const struct udevice_id pru_ids[] = {
|
|||
{ .compatible = "ti,am654-pru"},
|
||||
{ .compatible = "ti,am654-rtu"},
|
||||
{ .compatible = "ti,am654-tx-pru" },
|
||||
{ .compatible = "ti,am642-pru"},
|
||||
{ .compatible = "ti,am642-rtu"},
|
||||
{ .compatible = "ti,am642-tx-pru" },
|
||||
{}
|
||||
};
|
||||
|
||||
|
|
|
@ -204,6 +204,7 @@ static int pruss_probe(struct udevice *dev)
|
|||
|
||||
static const struct udevice_id pruss_ids[] = {
|
||||
{ .compatible = "ti,am654-icssg"},
|
||||
{ .compatible = "ti,am642-icssg"},
|
||||
{}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue