<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/net/fsl-mc/mc.c, branch v2018.01</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/drivers/net/fsl-mc/mc.c?h=v2018.01</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/drivers/net/fsl-mc/mc.c?h=v2018.01'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2017-12-06T22:56:31Z</updated>
<entry>
<title>driver: fsl-mc: MC object cleanup when DPL not loaded</title>
<updated>2017-12-06T22:56:31Z</updated>
<author>
<name>Yogesh Gaur</name>
<email>yogeshnarayan.gaur@nxp.com</email>
</author>
<published>2017-11-28T04:41:14Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=73fa206aefe0d27f71929da0c35dbce879205f20'/>
<id>urn:sha1:73fa206aefe0d27f71929da0c35dbce879205f20</id>
<content type='text'>
For case when MC is loaded but DPL is not deployed perform MC
object [DPBP, DPIO, DPNI and DPRC] cleanup.

Signed-off-by: Yogesh Gaur &lt;yogeshnarayan.gaur@nxp.com&gt;
Reviewed-by: York Sun &lt;york.sun@nxp.com&gt;
</content>
</entry>
<entry>
<title>driver: net: fsl-mc: flib changes for MC 10.3.0</title>
<updated>2017-12-06T22:55:17Z</updated>
<author>
<name>Yogesh Gaur</name>
<email>yogeshnarayan.gaur@nxp.com</email>
</author>
<published>2017-11-15T06:29:31Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=2557c5a942213acc2a0e3353a9c00140ea11b5d4'/>
<id>urn:sha1:2557c5a942213acc2a0e3353a9c00140ea11b5d4</id>
<content type='text'>
Existing MC driver framework is based on MC-9.x.x flib. This patch
migrates MC obj (DPBP, DPNI, DPRC, DPMAC etc) to use latest MC flib
which is MC-10.3.0.

Changes introduced due to migration:
1. To get OBJ token, pair of create and open API replaces create APIs
2. Pair of close and destroy APIs replaces destroy APIs
3. For version read, get_version APIs replaces get_attributes APIs
4. dpni_get/reset_statistics APIs replaces dpni_get/set_counter APIs
5. Simplifies struct dpni_cfg and removes dpni_extended_cfg struct
6. Single API dpni_get_buffer_layout/set_buffer_layout replaces
   dpni_get_rx/set_rx, tx related, tx_conf_buffer_layout related APIs.
   New API takes a queue type as an argument.
7. Similarly dpni_get_queue/set_queue replaces
   dpni_get_rx_flow/set_rx_flow , tx_flow related, tx_conf related
   APIs

Signed-off-by: Yogesh Gaur &lt;yogeshnarayan.gaur@nxp.com&gt;
Signed-off-by: Priyanka Jain &lt;priyanka.jain@nxp.com&gt;
Reviewed-by: York Sun &lt;york.sun@nxp.com&gt;
</content>
</entry>
<entry>
<title>driver: net: fsl-mc: Use base 16 in simple_strtoul</title>
<updated>2017-11-15T18:53:15Z</updated>
<author>
<name>Prabhakar Kushwaha</name>
<email>prabhakar.kushwaha@nxp.com</email>
</author>
<published>2017-11-09T09:15:41Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=f53e12d80a95ca8d7e91fe28ec963f2379290654'/>
<id>urn:sha1:f53e12d80a95ca8d7e91fe28ec963f2379290654</id>
<content type='text'>
Value provided in MC_MEM_SIZE_ENV_VAR is in hex. Use 16 as base
in simple_strtoul.

Signed-off-by: Prabhakar Kushwaha &lt;prabhakar.kushwaha@nxp.com&gt;
Reviewed-by: York Sun &lt;york.sun@nxp.com&gt;
</content>
</entry>
<entry>
<title>driver: fsl-mc: use calloc instead malloc</title>
<updated>2017-10-27T15:38:29Z</updated>
<author>
<name>Prabhakar Kushwaha</name>
<email>prabhakar.kushwaha@nxp.com</email>
</author>
<published>2017-10-11T03:21:18Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=a572fb6bdd6a6fba4892385009edd8a1dd5b9df3'/>
<id>urn:sha1:a572fb6bdd6a6fba4892385009edd8a1dd5b9df3</id>
<content type='text'>
Memory allocated via malloc is not guaranteed to be zeroized.
So explicitly use calloc instead of malloc.

Signed-off-by: Prabhakar Kushwaha &lt;prabhakar.kushwaha@nxp.com&gt;
Reviewed-by: York Sun &lt;york.sun@nxp.com&gt;
</content>
</entry>
<entry>
<title>drivers:net:fsl-mc: Update MC address calculation</title>
<updated>2017-09-11T14:55:36Z</updated>
<author>
<name>Priyanka Jain</name>
<email>priyanka.jain@nxp.com</email>
</author>
<published>2017-08-24T11:12:43Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=033c538e567aca5f0876f2504b5e278c2a0f83a8'/>
<id>urn:sha1:033c538e567aca5f0876f2504b5e278c2a0f83a8</id>
<content type='text'>
Update MC address calculation as per MC design requirement of address
as least significant 512MB address of MC private allocated memory,
i.e. address should point to end address masked with 512MB offset in
private DRAM block.

Signed-off-by: Priyanka Jain &lt;priyanka.jain@nxp.com&gt;
Signed-off-by: Ashish Kumar &lt;ashish.kumar@nxp.com&gt;
[YS: reformatted commit message]
Reviewed-by: York Sun &lt;york.sun@nxp.com&gt;
</content>
</entry>
<entry>
<title>env: Rename eth_getenv_enetaddr() to eth_env_get_enetaddr()</title>
<updated>2017-08-16T12:30:44Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2017-08-03T18:22:14Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=35affd7a2ff9a77b9946bf93b616228fcf218d60'/>
<id>urn:sha1:35affd7a2ff9a77b9946bf93b616228fcf218d60</id>
<content type='text'>
Rename this function for consistency with env_get().

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>env: Rename getenv/_f() to env_get()</title>
<updated>2017-08-16T12:30:24Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2017-08-03T18:22:12Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=00caae6d47645e68d6e5277aceb69592b49381a6'/>
<id>urn:sha1:00caae6d47645e68d6e5277aceb69592b49381a6</id>
<content type='text'>
We are now using an env_ prefix for environment functions. Rename these
two functions for consistency. Also add function comments in common.h.

Quite a few places use getenv() in a condition context, provoking a
warning from checkpatch. These are fixed up in this patch also.

Suggested-by: Wolfgang Denk &lt;wd@denx.de&gt;
Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>driver: net: fsl-mc: fsl_mc_ldpaa_exit exit earlier if dpl applied</title>
<updated>2017-08-09T16:57:33Z</updated>
<author>
<name>Santan Kumar</name>
<email>santan.kumar@nxp.com</email>
</author>
<published>2017-06-29T05:49:34Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=06651b9456d92847cbf4e93b22b020065820bc99'/>
<id>urn:sha1:06651b9456d92847cbf4e93b22b020065820bc99</id>
<content type='text'>
In fsl_mc_ldpaa_exit(), in case of mc is booted and dpl is applied,
it should return earlier without executing dpbp_exit().

Signed-off-by: Santan Kumar &lt;santan.kumar@nxp.com&gt;
Acked-by: Priyanka Jain &lt;priyanka.jain@nxp.com&gt;
Acked-by: Yogesh Narayan Gaur &lt;yogeshnarayan.gaur@nxp.com&gt;
Reviewed-by: York Sun &lt;york.sun@nxp.com&gt;
</content>
</entry>
<entry>
<title>drivers: net: fsl-mc: Include MAC addr fixup to DPL</title>
<updated>2017-06-02T02:56:24Z</updated>
<author>
<name>Bogdan Purcareata</name>
<email>bogdan.purcareata@nxp.com</email>
</author>
<published>2017-05-24T16:40:22Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=1161dbcc0a36ef9629ec090fdeeaf964e6682c41'/>
<id>urn:sha1:1161dbcc0a36ef9629ec090fdeeaf964e6682c41</id>
<content type='text'>
Previous to MC v10.x, port mac address was specified via DPL. Since
newer MC versions are compatible with old style DPLs, make the u-boot
env mac addresses visible there. This applies only to DPLs that have
an older version.

DPLs use 32 bit values for specifying MAC addresses. U-boot
environment variables take precedence over the MAC addresses already
visible in the DPL/DPC.

Signed-off-by: Bogdan Purcareata &lt;bogdan.purcareata@nxp.com&gt;
Signed-off-by: Heinz Wrobel &lt;heinz.wrobel@nxp.com&gt;
Reviewed-by: York Sun &lt;york.sun@nxp.com&gt;
</content>
</entry>
<entry>
<title>drivers: net: fsl-mc: Link MC boot to PHY_RESET_R</title>
<updated>2017-06-02T02:55:50Z</updated>
<author>
<name>Bogdan Purcareata</name>
<email>bogdan.purcareata@nxp.com</email>
</author>
<published>2017-05-24T16:40:21Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=33a8991a877847e39bc6b525f65664be026ba45b'/>
<id>urn:sha1:33a8991a877847e39bc6b525f65664be026ba45b</id>
<content type='text'>
DPAA2 platforms boot the Management Complex based on the u-boot env
variable "mcinitcmd". Instead of doing this step on each platform
individually, define a single mc_env_boot function in the MC driver,
since it's semantically tied to it.

Call the function in a per-board reset_phy hook, as it gets called at a
later moment, when all board PHY devices have been initialized.

Signed-off-by: Bogdan Purcareata &lt;bogdan.purcareata@nxp.com&gt;
Signed-off-by: Heinz Wrobel &lt;heinz.wrobel@nxp.com&gt;
Reviewed-by: York Sun &lt;york.sun@nxp.com&gt;
</content>
</entry>
</feed>
