]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
firmware: ti_sci: drop the device ids to resource id translation table
authorLokesh Vutla <lokeshvutla@ti.com>
Mon, 17 Aug 2020 05:30:47 +0000 (11:00 +0530)
committerLokesh Vutla <lokeshvutla@ti.com>
Mon, 31 Aug 2020 09:09:38 +0000 (14:39 +0530)
With ABI 3.0, sysfw deprecated special resource types used for AM65x
SoC. Instead started using device id as resource type similar to the
convention used in J721E SOC.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
drivers/firmware/ti_sci.c

index 15f5b0b14cce01e01fd9d269ee93a2ff01b25b39..a784b4ea29f02816a3a38dd2ff08cfa7129c6103 100644 (file)
@@ -3175,16 +3175,6 @@ static const struct ti_sci_desc ti_sci_pmmc_k2g_desc = {
        .rm_type_map = NULL,
 };
 
-static struct ti_sci_rm_type_map ti_sci_am654_rm_type_map[] = {
-       {.dev_id = 56, .type = 0x00b}, /* GIC_IRQ */
-       {.dev_id = 179, .type = 0x000}, /* MAIN_NAV_UDMASS_IA0 */
-       {.dev_id = 187, .type = 0x009}, /* MAIN_NAV_RA */
-       {.dev_id = 188, .type = 0x006}, /* MAIN_NAV_UDMAP */
-       {.dev_id = 194, .type = 0x007}, /* MCU_NAV_UDMAP */
-       {.dev_id = 195, .type = 0x00a}, /* MCU_NAV_RA */
-       {.dev_id = 0, .type = 0x000}, /* end of table */
-};
-
 /* Description for AM654 */
 static const struct ti_sci_desc ti_sci_pmmc_am654_desc = {
        .default_host_id = 12,
@@ -3193,7 +3183,7 @@ static const struct ti_sci_desc ti_sci_pmmc_am654_desc = {
        /* Limited by MBOX_TX_QUEUE_LEN. K2G can handle upto 128 messages! */
        .max_msgs = 20,
        .max_msg_size = 60,
-       .rm_type_map = ti_sci_am654_rm_type_map,
+       .rm_type_map = NULL,
 };
 
 static const struct udevice_id ti_sci_ids[] = {