]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: emaclite: fix xemaclite_alignedread/write functions
authorSamuel Obuch <samuel.obuch@codasip.com>
Tue, 27 Sep 2022 11:21:02 +0000 (13:21 +0200)
committerMichal Simek <michal.simek@amd.com>
Wed, 5 Oct 2022 09:36:54 +0000 (11:36 +0200)
commit3d1700296c7149f93e6fca6c733afc1c20a74e39
tree8bd2363c8232fb76f0a8eecad46930d694165977
parent078d8eb5bbb770bcf55c0f70b3da4df2c1362659
net: emaclite: fix xemaclite_alignedread/write functions

Use __raw_read* and __raw_write* functions to ensure read/write
is passed to the memory-mapped regions, as non-volatile accesses
may get optimised out.

Signed-off-by: Samuel Obuch <samuel.obuch@codasip.com>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
Link: https://lore.kernel.org/r/20220927112103.155689-2-samuel.obuch@codasip.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
drivers/net/xilinx_emaclite.c