]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - processor-sdk/pdk.git/commit
Squashed commit of the following:
authorSivaraj R <sivaraj@ti.com>
Wed, 1 Jul 2020 09:47:11 +0000 (15:17 +0530)
committerSivaraj R <sivaraj@ti.com>
Wed, 1 Jul 2020 09:47:11 +0000 (15:17 +0530)
commit1c609745b96f1e3c8edb953b8f92c6deba4ecba6
tree660d0c8a4e3727fbe38d10819c831c889aff445d
parent88a78862a598066212035750d6b4ae7a01332df6
Squashed commit of the following:

commit 4827dbaf6948bf8b3047d3af5c1e2c0735be2899
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Tue Jun 30 00:37:33 2020 +0530

    Reverting J7ES support

Signed-off-by: Pratheesh Gangadhar <pratheesh@ti.com>
commit 610671576f7cf49c7eadf1464deeec0513c6b723
Merge: d77bd453 1ae16acc
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Tue Jun 30 00:34:35 2020 +0530

    Merge remote-tracking branch 'remotes/origin/HEAD'

commit d77bd45319a2061514765aa346b414d748458c9d
Merge: d8e7a2ce 4d9f3352
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Tue Jun 30 00:31:57 2020 +0530

    Merge remote-tracking branch 'remotes/origin/dev_icssg_tsn_mac_baseline'

commit 4d9f3352370ebec5f1e54d96090b796d90bdda0e
Author: Tinku Mannan <tmannan@ti.com>
Date:   Mon Jun 29 14:29:41 2020 -0400

    Fix for host port IOCTLS

     Fix internal port number in emac_port_info[] for host port IOCTLs

commit d8e7a2ce72315142407bef223190af3ba4d64eca
Merge: 6f7c8409 55a2f3b2
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Sat Jun 27 18:49:21 2020 +0530

    Merge branch 'master' of ssh://bitbucket.itg.ti.com/processor-sdk/pdk

commit 6f7c8409db16f91aba9e286ca72746aeb1f526d5
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Fri Jun 26 13:06:19 2020 +0530

    Fix memory placement of switch buffers on J7ES

Signed-off-by: Pratheesh Gangadhar <pratheesh@ti.com>
commit 0f8c1aefbc5c1d15377600d2d8a0db60ee1f13ef
Merge: 1921154c 82ab2289
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Wed Jun 24 09:21:45 2020 +0530

    Merge remote-tracking branch 'remotes/origin/emac_j721e_test_fix'

commit 1921154ce3c06bc94edc85bb8051af3c0c47a0c6
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Mon Jun 22 11:11:50 2020 +0530

    Fix for emac_ioctl_accept_frame_check_ctrl to align with R30 over DMEM interface

Signed-off-by: Pratheesh Gangadhar <pratheesh@ti.com>
commit 4651ce5689bcb19ea69253d96f3cb583fd6d69a7
Merge: 68a5bce4 19d30e7a
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Sun Jun 21 08:26:01 2020 +0530

    Merge branch 'master' of ssh://bitbucket.itg.ti.com/processor-sdk/pdk

commit 68a5bce4731b67b1b76e44194dec81b4da3b140c
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Sat Jun 20 20:22:00 2020 +0530

    Minor cleanup

commit bda133759f8076fa5a3bbd797f100c2187fa80a9
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Thu Jun 18 14:17:36 2020 +0530

    Aligning the mem_map.h to the new linux friendly format

commit 82ab22893740bb1f5d89b2f30c02989aae690d6c
Author: Tinku Mannan <tmannan@ti.com>
Date:   Wed Jun 17 15:28:53 2020 -0400

    am65xx: emac: test app fix for j721e

commit 6f95119583eecd5c0b873f6e8d949747e6d65c1f
Merge: bb3f4af9 90278424
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Wed Jun 17 15:43:57 2020 +0530

    Merge branch 'master' of ssh://bitbucket.itg.ti.com/processor-sdk/pdk

commit bb3f4af9ef7f908204247a90d3b32cb86d744a3f
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Wed Jun 17 11:33:35 2020 +0530

    Use EthBoard_delay as BOARD_delay is not defined for KeyStone3

Signed-off-by: Pratheesh Gangadhar <pratheesh@ti.com>
commit ea441856ef806d3cb6b1fb33270028064197689e
Merge: baa0b907 975f632e
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Wed Jun 17 11:08:00 2020 +0530

    Merge remote-tracking branch 'remotes/origin/dev_icssg_tsn_mac_baseline'

commit 975f632e00eee6c6e5d7c592df3214c5b76aa43c
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Tue Jun 16 18:44:54 2020 +0530

    Fixes for NRT loopback to work in Profinet Switch (only works from P2 to P1 direction)

commit 411b90c46a00f9f794aa125549310b4c67e4edbe
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Sat Jun 13 17:32:29 2020 +0530

    Update to the latest FW headers

commit 0d62ab3fea2c9aa1c67da421833a21a30623bb36
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Sat Jun 13 17:24:47 2020 +0530

    Manual merge from PDK master commit 2f1a92b347818e29a547a98ebfb27243edb15e4d

commit fe250084f58f7b527bd7e998c5486bd1dd268a04
Merge: d204c8fc 702a311e
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Wed Jun 10 16:30:14 2020 +0530

    Merge branch 'dev_icssg_tsn_mac_baseline' of ssh://bitbucket.itg.ti.com/processor-sdk/pdk into dev_icssg_tsn_mac_baseline

commit 702a311eb82ecade1df83b7322c63d33af40178e
Author: Tinku Mannan <tmannan@ti.com>
Date:   Mon Jun 8 16:37:19 2020 -0400

    am65xx: emac_send fixes for switch use case

commit d204c8fc19b59e7c55c645a82c513706272fbb33
Merge: 12883724 bcea9da9
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Sat May 30 21:38:38 2020 +0530

    Merge branch 'dev_icssg_tsn_mac_baseline' of ssh://bitbucket.itg.ti.com/processor-sdk/pdk into dev_icssg_tsn_mac_baseline

commit bcea9da9c385e1b7ffa66e6a7b6a7b4a58082d70
Author: Tinku Mannan <tmannan@ti.com>
Date:   Fri May 29 16:11:33 2020 -0400

    am65xx: emac: Adding FDB multi entry IOCTL suport

     ioctl implementation cleanup for switch use case for PG2.0

Signed-off-by: Tinku Mannan <tmannan@ti.com>
commit 12883724f536ac22c98ab28d56015e88dd2fec7d
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Fri May 15 10:31:16 2020 +0530

    Align to the master

commit 02a8f5bbe47e8e85ac1be56a96c5ba8df57ff43f
Merge: b1e1b962 2177035d
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Fri May 15 09:59:19 2020 +0530

    Merge branch 'dev_icssg_tsn_mac_baseline' of ssh://bitbucket.itg.ti.com/processor-sdk/pdk into dev_icssg_tsn_mac_baseline

commit 2177035d18d2479f1248d93729098ea5e4f99b1a
Author: Tinku Mannan <tmannan@ti.com>
Date:   Thu May 14 15:26:29 2020 -0400

    am65xx: emac: driver and test updates

Signed-off-by: Tinku Mannan <tmannan@ti.com>
commit b1e1b96201688a43035971589bbb1d6cd8b3690a
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Thu May 14 21:57:34 2020 +0530

    emac_ioctl fixes for Switch mode when SWITCH_PORT argument is used

Signed-off-by: Pratheesh Gangadhar <pratheesh@ti.com>
commit e8f66ebf3312b6ed6390d4926d1e0adc21e5907d
Author: Tinku Mannan <tmannan@ti.com>
Date:   Wed May 13 08:46:10 2020 -0400

    Buffer pool fixes and test updates to enable 3 instances

commit 412c48fd53ddb4656d3490e1baee9f179e7bbffa
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Tue May 12 21:28:13 2020 +0530

    Updating firmware headers

commit 23b7ad781ed8782f0520b3f0d8301413cc38b7e2
Merge: b4a34bd5 a87f1282
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Tue May 12 00:09:51 2020 +0530

    Merge branch 'dev_icssg_tsn_mac_baseline' of ssh://bitbucket.itg.ti.com/processor-sdk/pdk into dev_icssg_tsn_mac_baseline

commit a87f128267d690a8766b40c84686b375c68f0e92
Author: Tinku Mannan <tmannan@ti.com>
Date:   Fri May 8 15:45:38 2020 -0400

    am65xx: emac: driver fixes

     update to use distinct buffer pool memories per port
     update to fix PSI flow configururation in SMEM
     unit test update to test multi icssg instances
     update for link status change processing for icssg switch use case

Signed-off-by: Tinku Mannan <tmannan@ti.com>
commit b4a34bd5b3f3aa5b069b2b0366e836e4a255b8db
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Sat May 9 18:07:59 2020 +0530

    More fixes

commit a04941cada3a2c1d9ff6c44e549185dc1f715420
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Fri May 8 12:07:05 2020 +0530

    Fixing emac_open error for ethernet_switch

Signed-off-by: Pratheesh Gangadhar <pratheesh@ti.com>
commit b5a9e0075c909d4e246e7dc3940686dfac789b5b
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Fri May 8 09:53:41 2020 +0530

    Update FW headers

commit f2bd86c089dcf2c3c224da2594da6b161e56ad29
Author: Tinku Mannan <tmannan@ti.com>
Date:   Thu May 7 15:54:59 2020 -0400

    am65xx: emac: fix for r30 over dmem IOCTL implementation

Signed-off-by: Tinku Mannan <tmannan@ti.com>
commit 616f58056a7b2903e87b0a442085013b63416bc8
Merge: f36998ae 69438fc2
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Thu May 7 12:29:27 2020 +0530

    Merge remote-tracking branch 'remotes/origin/r30_over_dmem_updates' into dev_icssg_tsn_mac_baseline

commit 69438fc2e50cba8ceb8da2f59784f063b305314e
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Thu May 7 11:34:35 2020 +0530

    Aligning FW headers to the latest

commit 820c6d20f4acf939c15a071462c78493e21e0112
Author: Tinku Mannan <tmannan@ti.com>
Date:   Tue May 5 17:45:02 2020 -0400

    am65xx: emac: unit test updates cleanup

Signed-off-by: Tinku Mannan <tmannan@ti.com>
commit 7af2186acd1aee9c25bdc95d57f1341c35e1feb5
Author: Tinku Mannan <tmannan@ti.com>
Date:   Tue May 5 17:44:29 2020 -0400

    am65xx: emac:  updates for PG2.0 switch use  case
     fix for TX timestamp response processing for PG1.0
     cleanup

Signed-off-by: Tinku Mannan <tmannan@ti.com>
commit 5ae7dfe5c8e2dcbc91d0b7e6bb3b7b47a206a654
Author: Tinku Mannan <tmannan@ti.com>
Date:   Tue May 5 14:37:45 2020 -0400

    am65xx: firmware updates for r30_over_dmem

commit 7bbffc0844b63e0f8102fef40f9ac578ff03bd67
Merge: d3b3ffe5 f36998ae
Author: Tinku Mannan <tmannan@ti.com>
Date:   Mon May 4 16:15:32 2020 -0400

    Merge branch 'dev_icssg_tsn_mac_baseline' of ssh://bitbucket.itg.ti.com/processor-sdk/pdk into r30_over_dmem_updates

commit d3b3ffe5f0d4969535c492e4d940582c32308284
Author: Tinku Mannan <tmannan@ti.com>
Date:   Mon May 4 15:43:24 2020 -0400

    am65xx: emac: test app updates

     update to test ICSSG asynchronous IOCTL via R30
     commands over dmem
     cleanup

Signed-off-by: Tinku Mannan <tmannan@ti.com>
commit cec6c02e3e892b2ce3a3e895f53f29f1e3c818d6
Author: Tinku Mannan <tmannan@ti.com>
Date:   Mon May 4 15:38:32 2020 -0400

    am65xx: emac: driver and firmware updates for pg2.0

     Adding ICSSG asynchronous IOCTL support via
     r30 commands over dmem
     Config support for number of icssg firmwware buffer
     pools and sizes
     driver cleanup

Signed-off-by: Tinku Mannan <tmannan@ti.com>
commit f36998aec70f2af81ddcd9dd6f2cc0b775fc82ee
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Sun May 3 12:20:33 2020 +0530

    Removing PG2 to test FW

commit 78046cf4077f67d692776239854e60625e842e20
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Sat May 2 22:04:29 2020 +0530

    Update dual mac FW headers and memory map

commit 8b3109b64d8a5561e031dd8d04838b9b2ef157d5
Merge: 9b8f14fc 59136746
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Sat May 2 00:23:55 2020 +0530

    Merge remote-tracking branch 'remotes/origin/HEAD' into dev_icssg_tsn_mac_baseline

commit 9b8f14fc8bdbeea87e019f8da25b4c60658de310
Author: Tinku Mannan <tmannan@ti.com>
Date:   Fri May 1 11:35:43 2020 -0400

    am65xx: emac: Adding emac_drv_v5_cpsw.c

commit 60c220931b9d904455b48da746bf69b4ae3112d7
Author: Tinku Mannan <tmannan@ti.com>
Date:   Wed Apr 29 15:42:26 2020 -0400

    am65xx: nimu: example updates for Maxwell PG.2.0

Signed-off-by: Tinku Mannan <tmannan@ti.com>
commit 244179b085c22863ebf5e0222d451b02f3a5b8ec
Author: Tinku Mannan <tmannan@ti.com>
Date:   Wed Apr 29 15:40:18 2020 -0400

    am65xx: nimu: driver updates to support Maxwell PG2.0

commit 57358a73c3e4307362a792943d153e8950a76573
Author: Tinku Mannan <tmannan@ti.com>
Date:   Tue Apr 28 17:58:14 2020 -0400

    am65xx: emac: unit test updates
     allocation of icssg buffer polls from application
     synced up linker command files from common build
     infrastructure

Signed-off-by: Tinku Mannan <tmannan@ti.com>
commit 03c55d73d2ddcf45ab5698617fd4643de216fec7
Author: Tinku Mannan <tmannan@ti.com>
Date:   Tue Apr 28 17:56:20 2020 -0400

    am65xx: emac: make icssg buffer pool address configurable

     memory for icssg buffer pools allocated from application

Signed-off-by: Tinku Mannan <tmannan@ti.com>
commit 5a5e5a593d0f7e6b8b4cde19819d30c68afda8d0
Author: Tinku Mannan <tmannan@ti.com>
Date:   Fri Apr 24 14:16:12 2020 -0400

    am65xx: emac: unit test updates

     updates for running on Maxwell pg1 and pg2 evms

Signed-off-by: Tinku Mannan <tmannan@ti.com>
commit bde880cfa4cacb3aa27cd5001e0c0d199b7d5532
Author: Tinku Mannan <tmannan@ti.com>
Date:   Fri Apr 24 14:15:03 2020 -0400

    am65xx: emac: API checks for port closed state and cleanup

Signed-off-by: Tinku Mannan <tmannan@ti.com>
commit 4553139c26aac386dbc3eae576cc0548114d088e
Author: Tinku Mannan <tmannan@ti.com>
Date:   Fri Apr 24 14:13:21 2020 -0400

    am65xx: emac: fixes for running on cortex a53 cores

Signed-off-by: Tinku Mannan <tmannan@ti.com>
commit 91076a2047a56181ff46e8057804385d14acfe19
Author: Tinku Mannan <tmannan@ti.com>
Date:   Thu Apr 23 17:52:23 2020 -0400

    am65xx: update to ICSSG firmware configuration interface

     grouped all FW config parameters into EMAC_ICSSG_FW_CFG
     struct
     moved  common iccs config functions for
     switch and dual mac use case to emac utility file
     cleanup

commit de09de8adc2d3c267df011d5a8b657f7e68cf7d7
Author: Tinku Mannan <tmannan@ti.com>
Date:   Wed Apr 22 10:37:41 2020 -0400

    am65xx: emac driver updates for polling optimizations and code cleanup

Signed-off-by: Tinku Mannan <tmannan@ti.com>
commit f55d58cd18507a36155b2bd3e37ca56cb3f26ad7
Author: Tinku Mannan <tmannan@ti.com>
Date:   Tue Apr 21 16:26:16 2020 -0400

    am65xx: driver updates for cpsw use case

commit c5583ea8c2fdd5270566efc8b9f00d497a4ec029
Author: Tinku Mannan <tmannan@ti.com>
Date:   Mon Apr 20 16:23:18 2020 -0400

    am65xx: driver updates for icssg switch use case

     update for icssg dual mac use case to ensure icssg config fxn is
     not null before deferencing it.

Signed-off-by: Tinku Mannan <tmannan@ti.com>
commit 932c1245ca1cb457022a74731ce04fa27ff07056
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Mon Apr 20 15:16:30 2020 +0530

    Fixes to prevent crash of TSN Switch application. emac_open fails due to missing config steps

commit 7db20398709b5660978e3bc3f8381ab2324139fa
Merge: 70b7f446 9c04a8f4
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Fri Apr 17 15:27:21 2020 +0530

    Merge remote-tracking branch 'remotes/origin/master' into dev_icssg_tsn_mac_baseline

commit 70b7f4462237ca5d36a90ac34fad25ab252955b5
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Fri Apr 17 13:22:45 2020 +0530

    Updates to the emac_fw_config_dual_mac.c and emac_fw_dual_mac_mem_map.h to align with the latest PRU FW

    Emac loopback test is passing

Signed-off-by: Pratheesh Gangadhar <pratheesh@ti.com>
commit 4afef8c17fa5e93d6893ec0d3ebc175ec46257a8
Merge: 0d153438 61ae3f64
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Thu Apr 16 06:14:41 2020 +0530

    Merge remote-tracking branch 'remotes/origin/emac_lld_refactor' into dev_icssg_tsn_mac_baseline

    Build tested only

commit 0d153438867e072fad10a0c5406ecc746776b091
Merge: d32119b5 11ae3192
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Sat Apr 11 20:58:23 2020 +0530

    Merge remote-tracking branch 'remotes/origin/HEAD' into dev_icssg_tsn_mac_baseline

commit 61ae3f64d1fd020f935629294b85ef76ee94171c
Author: Tinku Mannan <tmannan@ti.com>
Date:   Tue Apr 7 17:17:05 2020 -0400

    emac-lld: am65xx/j7: test update to remove hard-coding of FW config and init sequence

commit d2b3e0e3e9dfcbc4e9d617f8d96b29132f4685a3
Author: Tinku Mannan <tmannan@ti.com>
Date:   Tue Apr 7 17:13:47 2020 -0400

    emac-lld: am65xx/j7: driver updates to new firmware config interface

     replaced fw config and init routine from the driver and repalced with
     function provided by firmware config interface
     cleanup

Signed-off-by: Tinku Mannan <tmannan@ti.com>
commit bf64ab387d7a3241a6e218cc9254a301a64ac497
Author: Tinku Mannan <tmannan@ti.com>
Date:   Tue Apr 7 16:52:42 2020 -0400

    emac-lld: am65xx/j7: ICSSG dual mac firmware config updates

     adding firmware config memory map file
     adding firmware config function to EMAC_PER_PORT_ICSSG_FW_CFG
     required for PRU-ICSS sub-system and and firmware init, to
     be called at time of emac_open

Signed-off-by: Tinku Mannan <tmannan@ti.com>
commit d32119b5ce0a01982e0189c48da40e15cb28ec14
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Sun Apr 5 23:40:36 2020 +0530

    Build fix

commit 8b0795a0812b4278bed327143866d692c76b74ee
Merge: 511af906 75108711
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Sun Apr 5 23:38:17 2020 +0530

    Merge remote-tracking branch 'remotes/origin/dev_pn_tsn_inc2_am65xx_pg2.0_release_express_queue_mask' into dev_icssg_tsn_mac_baseline

commit 511af906b92cdd3a06ddd306247b39d3b1d53122
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Sun Apr 5 23:27:37 2020 +0530

    Update FW headers and memory map

commit d422974fa3e3e6c94eb4bac20214cea5e458c9f3
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Sun Apr 5 22:39:51 2020 +0530

    Aligning to FW changes

commit 75108711ec3ed2aca781a0b996c1941b26911dde
Author: Prajith <prajith@ti.com>
Date:   Sun Apr 5 22:23:47 2020 +0530

    Added support to configure express queue mask for firmware use

commit e6d1a33534d7b19a20f3f62485188f7477254a4c
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Sun Apr 5 11:38:41 2020 +0530

    Aligning to FW memory map changes

commit 967a1f94c2a8a03e98f62583a5cf26fd5bb99013
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Sun Apr 5 10:51:45 2020 +0530

    Changes to align with port specific configuration support in FW

commit 1712b29d2defc4aa3995667243fdd85864069035
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Sat Apr 4 23:23:00 2020 +0530

    Update switch_mem_map.h to align with the latest

commit 4711e7cc0cfa6b9720b54681ce508036ae2cd7b4
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Sat Apr 4 20:18:39 2020 +0530

    Updating switch_mem_map.h to reflect PASTAT debug counter updates

commit 14a72116f1d72a4b11d03ccceb3cbe38510010d8
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Sat Apr 4 15:07:49 2020 +0530

    Removing EMAC_AM65XX_DUAL_ICSSG_CONFIG

Signed-off-by: Pratheesh Gangadhar <pratheesh@ti.com>
commit 371600deabac0598bdb6269624ba6d6157d3e858
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Sat Apr 4 13:20:41 2020 +0530

    Cleaning up port specific configuration variables to use respective DMEM

Signed-off-by: Pratheesh Gangadhar <pratheesh@ti.com>
commit dfcb6b7e3d5414111cf4b42746805a9c0290b2ff
Merge: 022b6ad5 35c62bb0
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Fri Apr 3 12:08:57 2020 +0530

    Merge remote-tracking branch 'remotes/origin/dev_pn_tsn_inc2_am65xx_pg2.0_release' into dev_icssg_tsn_mac_baseline

commit 022b6ad5d2b7dff17f14aa92be9956bb848dbf18
Author: Manmohan <mrmandhana@ti.com>
Date:   Fri Apr 3 11:45:56 2020 +0530

    Updating the invalid timestamp check. Updating memory map

commit 35c62bb022bc8e257a63013f19927a58854373c4
Author: Prajith <prajith@ti.com>
Date:   Fri Apr 3 10:42:14 2020 +0530

    Fixes for Preemption IOCTL not working on one slice

commit f27ff68bfbcc7e7771d7e8509aae98bcac27fcfa
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Tue Mar 31 16:31:22 2020 +0530

    Fix for PINDSW-4185 priority regeneration to work

Signed-off-by: Pratheesh Gangadhar <pratheesh@ti.com>
commit 4ea89fb936884d2d9df9eec80f10b118af389ee7
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Tue Mar 31 00:11:23 2020 +0530

    Fix for PINDSW-4203. To fix the issues with forwarding of > 1523B packets due to MII RT configuration

commit 803f36e90eb159dc8bc104874090d35f404d7e70
Merge: 470b3c77 201ebc5b
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Sat Mar 28 16:28:32 2020 +0530

    Merge remote-tracking branch 'remotes/origin/master' into dev_icssg_tsn_mac_baseline

commit 470b3c77b40879fc9a265bd76fb77545a5eab06e
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Sat Mar 28 09:38:16 2020 +0530

    Update FW headers

commit 433a0268dd0d94031ef3d310071f69607d1d90fe
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Fri Mar 27 21:40:03 2020 +0530

    Updating memory map to align with FW changes

commit 86e49b69f1f72ab74162a065940b6c28aaf4c115
Merge: 8c9c9578 2117ead5
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Wed Mar 25 15:52:16 2020 +0530

    Merge remote-tracking branch 'remotes/origin/HEAD' into dev_icssg_tsn_mac_baseline

commit 8c9c95787a5e93ac4f7c12bc8d63fe03a3e0e472
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Wed Mar 25 15:24:40 2020 +0530

    Updating the TSN MAC FW headers to align with the latest

commit 5740db24afaa9e96968e977587dfe0a3243357f5
Author: Tinku Mannan <tmannan@ti.com>
Date:   Mon Mar 23 16:01:26 2020 -0400

    emac-lld: am65xx/j7: ICSSG dual mac test app updates

     enabling only dual mac test application
     update dual mac test app to remove interposer card setup
     update dual mac test app to inegrate with latest pg2.0 FW

commit 2bdda7adbfd22701e49b8281be823a4467bd2ad4
Author: Tinku Mannan <tmannan@ti.com>
Date:   Mon Mar 23 15:55:11 2020 -0400

    emac-lld: am65xx/j7: driver integration with ICSSG hardware queue implementation

     update to switch memory map configuration

commit 5804c51f48de3b4fc983b06ea9ba0c76e9e84ed2
Author: Tinku Mannan <tmannan@ti.com>
Date:   Mon Mar 23 15:41:08 2020 -0400

    emac-lld: am65xx/j7: Adding ICSSG hardware queue impplementation

commit e94ef4592b2ae22a523c26a33021247503aac53a
Author: Tinku Mannan <tmannan@ti.com>
Date:   Tue Mar 10 15:51:57 2020 -0400

    emac-lld: am65xx/j7: refactoring driver code base

     adding dual mac specific driver file for dual mac implementaion of apis
     moved common utility functions to emac_utils source and header files
     IOCTL updates for dual mac and single instance icssg switch
     cleanup

Signed-off-by: Tinku Mannan <tmannan@ti.com>
commit 7e1ac6559790542f20c699b8fac3a46de46d0709
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Sat Mar 21 00:53:00 2020 +0530

    Fix a build error

commit 6561157498b3c2756d6f5f70cf4ae9b39b7f1cb5
Merge: af2d73c0 4f3320ff
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Sat Mar 21 00:17:24 2020 +0530

    Merge remote-tracking branch 'remotes/origin/master' into dev_icssg_tsn_mac_baseline

commit af2d73c00a4ddf71c66c7102829f271d28317f0e
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Wed Mar 18 02:17:46 2020 +0530

    EMAC LLD bugfix for Default Port VLANs to be configured correctly for 1xICSSG

Signed-off-by: Pratheesh Gangadhar <pratheesh@ti.com>
commit 8a86ed8fb084ca7d7f4bed56c9a264c90004a4a9
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Sat Mar 14 16:00:23 2020 +0530

    Common TSN MAC FW for J7 and AM65x PG2

commit 3095a63e7089c690e5a82d68dbebd229187b5ee8
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Sat Mar 14 14:48:31 2020 +0530

    Fix the build issues while rebasing to master

commit 8e60abea51244ffdf27f456e1be80d3b712d01df
Merge: 8da79232 087c77da
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Sat Mar 14 13:37:48 2020 +0530

    Merge remote-tracking branch 'remotes/origin/master' into dev_icssg_tsn_mac_baseline

commit 8da792327d8deabf5dcbbca1b2934591ca014953
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Fri Mar 13 13:38:32 2020 +0530

    Updating the FW commit ID

commit 92268eef214e5513e3098bcf3abc05fd3bfd7acb
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Fri Mar 13 13:35:30 2020 +0530

    Disabling the UART printfs

commit a50ac713e6ad677d0d58798f663cb18aed4e8751
Merge: 4b19bc85 889cc945
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Fri Mar 13 11:04:27 2020 +0530

    Merge remote-tracking branch 'remotes/origin/pindsw-4178' into dev_icssg_tsn_mac_baseline

commit 889cc9454f874fc9e1aabdc93e1f904529cdb8a8
Author: Vitaly Andrianov <vitalya@ti.com>
Date:   Thu Mar 12 14:22:49 2020 -0400

    pindsw-4178: use hwq to get tx timestamp

Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
commit 4b19bc85b642f09b2212b34089036b2a5a4ea551
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Thu Mar 12 14:02:58 2020 +0530

    Fix for IOCTLs to work

Signed-off-by: Pratheesh Gangadhar <pratheesh@ti.com>
commit 4af92070bcb6325cc6be35c3b697bca960f0764b
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Tue Mar 10 18:19:37 2020 +0530

    Updating FW commit ID

commit 1d6b7ba79bfde2609c629bef20f1867a16b7de5f
Merge: 2d0ab405 01a52da5
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Tue Mar 10 18:18:40 2020 +0530

    Merge remote-tracking branch 'remotes/origin/pindsw-3779' into dev_icssg_tsn_mac_baseline

commit 2d0ab4055a8f4b38907e7342853aecac956f63a9
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Tue Mar 10 12:04:56 2020 +0530

    ICSSG EMAC lld unit tested with PDK master

    Workarounds for emacUnitTest to build with ti-cgt-arm_18.12.5

    Fix in launch.js for AM65 PG2

Signed-off-by: Pratheesh Gangadhar <pratheesh@ti.com>
commit ac9a99eb25f67ac41aa8c80d7ae746d53a1c4206
Merge: d77c76da 9099d2fc
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Tue Mar 10 09:01:53 2020 +0530

    Merge remote-tracking branch 'remotes/origin/master' into dev_pdk_merge

commit d77c76dab25ef1ee709c8a83937ebcaed7230f12
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Mon Mar 9 19:39:24 2020 +0530

    Fix a build error due to typo

commit f6ba58c21990065f8759d319096eb340f6233309
Merge: a357028e bd21e2cd
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Mon Mar 9 00:19:15 2020 +0530

    Merge remote-tracking branch 'remotes/origin/master' into dev_icssg_tsn_mac_baseline

commit a357028eeb449d1c33061d26e64c470f5e929e49
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Sun Mar 8 23:05:52 2020 +0530

    Fixes for NRT loopback to work with the latest TSN MAC FW integration commit : 0585dd955237e9917294c1201d58716779c32b1a

commit 01a52da54b60870cfac048099d4e68016654c396
Author: Vitaly Andrianov <vitalya@ti.com>
Date:   Wed Mar 4 09:13:06 2020 -0500

    emac: use the single R30 table for set port state command.

Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
commit 75a557b0223cfd261f70a4e5541fecf27d2de6fa
Author: Vitaly Andrianov <vitalya@ti.com>
Date:   Wed Mar 4 08:57:25 2020 -0500

    emac: add new R30 table for dual emac tsn f/w

Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
commit b9fafcbab73fa4f4d7738eb00a39bebf2d147000
Author: Vitaly Andrianov <vitalya@ti.com>
Date:   Wed Mar 4 07:12:53 2020 -0500

    emac: add files to gitignore

Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
commit 7b5a577af802e35246ddfe5fbaf27205f617d58a
Author: Vitaly Andrianov <vitalya@ti.com>
Date:   Wed Mar 4 07:06:34 2020 -0500

    emac: rework emac_util_crc64()

    remove dead code

Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
commit 77063eb9f5653fddc7f81cce904a53321ddc2b12
Author: Vitaly Andrianov <vitalya@ti.com>
Date:   Mon Mar 2 14:31:05 2020 -0500

    simplify emac_util_crc64()

Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
commit 8d6890ee03eaefc9739bfcdb7e3b0719c87a0310
Author: Vitaly Andrianov <vitalya@ti.com>
Date:   Thu Feb 27 13:03:45 2020 -0500

    incremental commit

Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
commit 471ac3f573fdd13d8b401bbab1e36397c1965365
Author: Vitaly Andrianov <vitalya@ti.com>
Date:   Mon Feb 24 15:49:26 2020 -0500

    emac [tmp] got mgmt response from port 0

Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
commit 25da81ff79d7f825f3db3afc0c84291d4b9473ca
Author: Vitaly Andrianov <vitalya@ti.com>
Date:   Mon Feb 24 14:39:25 2020 -0500

    [tmp] emac: replace psi-l management channel with hwqa

    only send message was tested. Need to rework callback function.

Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
commit 94362cca49b08a0e6e7b106c25e4b8e52865c343
Author: Vitaly Andrianov <vitalya@ti.com>
Date:   Wed Feb 19 10:24:17 2020 -0500

    emac: remove code duplication from emac_ioctl_port_state_ctrl()

Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
commit 1dcc7795518d9ba7de3be268de792b5a7affae1d
Author: Vitaly Andrianov <vitalya@ti.com>
Date:   Thu Feb 20 09:40:12 2020 -0500

    tmp: build one app only

commit 6871d32f3162d90fe64ff8c4ec527d1bbbe80e58
Author: Vitaly Andrianov <vitalya@ti.com>
Date:   Thu Feb 20 09:39:47 2020 -0500

    add hwq support to test_utils_k3.c

Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
commit 6fcb76c16d1cccfa1b55b8df1f566d9edba5b2e0
Author: Vitaly Andrianov <vitalya@ti.com>
Date:   Thu Feb 20 09:38:57 2020 -0500

    fix hwq addresses

Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
commit 66b829f2e0a92cc6065760e043654191ebc3f82f
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Wed Feb 19 21:33:01 2020 +0530

    Updated the memory map to align with firmware commit industrial_communications_dev : f111ccb784d840726adf6f093a05dba840719100

Signed-off-by: Pratheesh Gangadhar <pratheesh@ti.com>
commit 822a30242c26a50013153caadfc0c40637cfd2c7
Author: Vitaly Andrianov <vitalya@ti.com>
Date:   Wed Feb 19 09:21:41 2020 -0500

    emac: introduce hw queue api

Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
commit a9bccd1e25d979a61e85d4d803b484ba670059a1
Merge: f99946c6 e71d35b8
Author: Vitaly Andrianov <vitalya@ti.com>
Date:   Mon Feb 17 11:19:43 2020 -0500

    Merge branch 'dev_icssg_tsn_mac_baseline' of ssh://bitbucket.itg.ti.com/processor-sdk/pdk into dev_icssg_tsn_mac_baseline

commit f99946c608cbbdd458c48b492cc321e854b1adc6
Author: Vitaly Andrianov <vitalya@ti.com>
Date:   Mon Feb 17 11:19:26 2020 -0500

    set local path at launch.js

Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
commit e71d35b86f9a8f401159db8c97d0a8c528297587
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Mon Feb 17 18:28:18 2020 +0530

    Multiple fixes for Dual EMAC unit test to work with J7ES EVM

Signed-off-by: Pratheesh Gangadhar <pratheesh@ti.com>
commit 88105aff2d1a67a6baa7a358f928d7842eb0e033
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Mon Feb 17 07:46:38 2020 +0530

    Update pool base addresses for J7ES

commit 59117a4d6595ef78d48249563c2da560edc89738
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Sun Feb 16 20:32:55 2020 +0530

    TX timestamping fix - hard coded for MAC

Signed-off-by: Pratheesh Gangadhar <pratheesh@ti.com>
commit f60c0036f2f0576065595b4b4191e70ebacac56c
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Sun Feb 16 18:31:17 2020 +0530

    Fix for RX timestamping issue

commit 40371135e6fae2cbbbb2087f55bee931e0d310c7
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Sun Feb 16 14:26:44 2020 +0530

    Add a workaround for test not sending any packets without couple of second delays post link up

commit ed8a37aac3e9fb61d9d7fdb10a0136126905922a
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Sun Feb 16 12:37:49 2020 +0530

    Enabling remaining tests

commit c0208781cd5e24901539dc2c94e4a2cc103c9387
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Sun Feb 16 11:30:10 2020 +0530

    Many fixes in test_utils_k3.c for TSN MAC to work, removed OCRAM/MSMC hardcodings in the FW related buffer pool

    RX and TX timestamping is broken.

    TX is due to MAC port to slice mapping differences and associated hardcoding in FW.

    RX timestamp is not updated !

    Updated switch_mem_map.h, FW headers for MAC and Switch

Signed-off-by: Pratheesh Gangadhar <pratheesh@ti.com>
commit a1660ec9e13435a1b0d99ad1acb7041832b5b310
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Thu Feb 13 01:27:13 2020 +0530

    Fixes for TX timestamps to work with TSN MAC firmware

commit 8b8fdf4e14545845b40f4acdb40ac30b2cef8b28
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Thu Feb 13 00:41:27 2020 +0530

    Update FW headers to match restored ring configuration for AM65xx

commit 82786e32ab2f92e24b5d2522961cb3e358dd3d51
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Tue Feb 11 19:39:47 2020 +0530

    Fixes for EMAC unit test (TX to RX from Port0 to Port1 and vice versa) and RX time stamping to work

    TODO
    TX Time stamping
    A break point in emac_send is required for all packets to be sent correctly (issue exists with original FW as well)

Signed-off-by: Pratheesh Gangadhar <pratheesh@ti.com>
commit bf5c714656377bfc73da56f3b002a397846c337c
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Tue Feb 11 19:33:33 2020 +0530

    Firmware fixes for RX path to work (Using Default FlowID for now)

commit bc03f59402159edf2946de30564bd154abebaf6c
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Mon Feb 10 17:47:33 2020 +0530

    Adding TSN MAC/Switch FW headers

Signed-off-by: Pratheesh Gangadhar <pratheesh@ti.com>
commit b08b4e14305f194c03808d3da9738d733aeb5e56
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Mon Feb 10 17:41:23 2020 +0530

    EMAC support using TSN Switch FW - prelim changes

Signed-off-by: Pratheesh Gangadhar <pratheesh@ti.com>
commit 5981fb0626df77d4cd3747c0833f676a17518970
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Tue Feb 4 17:12:28 2020 +0530

    Aligning flow config to match J7ES for Maxwell PG2

Signed-off-by: Pratheesh Gangadhar <pratheesh@ti.com>
commit de911effe82cdd70d2542db151162ec24aecd0bc
Merge: a45fb115 f75bb991
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Tue Feb 4 14:23:34 2020 +0530

    Merge remote-tracking branch 'remotes/origin/PRSDK-7993-support-ccs-launch-pg2'

commit f75bb99199515d11875c4db43b42ef0abf0151e6
Author: Brandon Wetzel <b-wetzel@ti.com>
Date:   Mon Feb 3 19:34:21 2020 -0500

    PRSDK-7993:sciclient:Support CCS launch for AM65xx PG2

    Sciclient must support PG2 in the sciclient_ccs_init_main/launch.js boot flow.

    Also added SYSFW w2020.17 and generated residual launch bins for J7

commit a45fb11502bd64cade802c59eae651b805615b3f
Merge: 54c55ed6 0b054e50
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Mon Feb 3 21:47:23 2020 +0530

    Merge remote-tracking branch 'remotes/origin/am65xx-pg2-support'

commit 54c55ed6726ca994869a6e2bb6696126775d3b7b
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Mon Feb 3 21:42:12 2020 +0530

    Disable EMAC_AM65XX_DUAL_ICSSG_CONFIG for PG2

Signed-off-by: Pratheesh Gangadhar <pratheesh@ti.com>
commit 0b054e50ca3c7f62e0cebd3a197cbd4228a71f98
Author: Brandon Wetzel <b-wetzel@ti.com>
Date:   Mon Feb 3 09:16:03 2020 -0500

    PRSDK-7990:sciclient:Fix makefile warnings

    Makefile was reporting mixed implicit and normal rules. This was due to a
    comment formatting problem (introduced a rogue space)

commit 0e89f7352a8e96c26a15f83a00c30a40fcba05d1
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Mon Feb 3 08:17:00 2020 +0530

    Adding board and emac lld fixes for AM65x and J7ES ICSSG TSN firmware

Signed-off-by: Pratheesh Gangadhar <pratheesh@ti.com>
18 files changed:
packages/ti/board/src/am65xx_idk/AM65xx_pinmux_data.c
packages/ti/board/src/evmKeystone3/board_ethernet_config.c
packages/ti/drv/emac/emac_component.mk
packages/ti/drv/emac/firmware/icss_dualmac/bin_pg2/RTU0_SLICE0_bin.h
packages/ti/drv/emac/firmware/icss_dualmac/bin_pg2/RTU0_SLICE1_bin.h
packages/ti/drv/emac/firmware/icss_dualmac/bin_pg2/RX_PRU_SLICE0_bin.h
packages/ti/drv/emac/firmware/icss_dualmac/bin_pg2/RX_PRU_SLICE1_bin.h
packages/ti/drv/emac/firmware/icss_dualmac/bin_pg2/TX_PRU_SLICE0_bin.h
packages/ti/drv/emac/firmware/icss_dualmac/bin_pg2/TX_PRU_SLICE1_bin.h
packages/ti/drv/emac/firmware/icss_dualmac/bin_pg2/fw_mem_map.h
packages/ti/drv/emac/firmware/icss_dualmac/bin_pg2/tsn_mac_fw_commit_id.txt
packages/ti/drv/emac/firmware/icss_dualmac/config/emac_fw_config_dual_mac.c
packages/ti/drv/emac/src/v5/emac_drv_v5.c
packages/ti/drv/emac/src/v5/emac_drv_v5.h
packages/ti/drv/emac/src/v5/emac_drv_v5_switch.c
packages/ti/drv/emac/src/v5/emac_ioctl.c
packages/ti/drv/emac/src/v5/emac_utils.c
packages/ti/drv/emac/test/EmacLoopbackTest/test_utils_k3.c