| 526c692b | 16-Jan-2018 |
Joseph Chen <chenjh@rock-chips.com> |
env: add more debug message for env_update() and env_append()
Change-Id: I0d798d91f2bc132accac882ccfeec76d2f6a747e Signed-off-by: Joseph Chen <chenjh@rock-chips.com> |
| 73991b07 | 04-Dec-2017 |
Simon Glass <sjg@chromium.org> |
log: Add a test command
Add a command which exercises the logging system.
Change-Id: I4eb139b69937c752d7f6fc42dde3f757260b832b Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Kever Yan
log: Add a test command
Add a command which exercises the logging system.
Change-Id: I4eb139b69937c752d7f6fc42dde3f757260b832b Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Kever Yang <kever.yang@rock-chips.com> (cherry picked from commit ef11ed8239bf02b347e7fb9fc6d980aec0c7810a)
show more ...
|
| 923fc48d | 04-Dec-2017 |
Simon Glass <sjg@chromium.org> |
log: Add a 'log level' command
Add a command for adjusting the log level.
Change-Id: I51e15c61e860f4f0bdb980f1d7aa88c492f55d49 Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <b
log: Add a 'log level' command
Add a command for adjusting the log level.
Change-Id: I51e15c61e860f4f0bdb980f1d7aa88c492f55d49 Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Kever Yang <kever.yang@rock-chips.com> (cherry picked from commit d5f61f272d5b7b86bf6321512ba6326c7c075e72)
show more ...
|
| 785b4fbf | 04-Dec-2017 |
Simon Glass <sjg@chromium.org> |
Drop the log buffer
This does not appear to be used by any boards. Before introducing a new log system, remove this old one.
Change-Id: I798cd4aff50b7136ae9f84362185f9f73b04f710 Signed-off-by: Simo
Drop the log buffer
This does not appear to be used by any boards. Before introducing a new log system, remove this old one.
Change-Id: I798cd4aff50b7136ae9f84362185f9f73b04f710 Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Kever Yang <kever.yang@rock-chips.com> (cherry picked from commit c5404b64fb5a35d41f7eff6d12b8ffdb0c851040)
show more ...
|
| 51b432da | 01-Dec-2017 |
Nobuhiro Iwamatsu <iwamatsu@nigauri.org> |
UPSTREAM: cmd: i2c: Fix use sdram sub command with CONFIG_DM_I2C
sdram sub command of i2c command does not support Drivers Model. This adds Drivers Model support to sdram sub command.
Change-Id: I4
UPSTREAM: cmd: i2c: Fix use sdram sub command with CONFIG_DM_I2C
sdram sub command of i2c command does not support Drivers Model. This adds Drivers Model support to sdram sub command.
Change-Id: I405d05b9b697715759a68ba71597cd9ae63d9565 Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de> Signed-off-by: Kever Yang <kever.yang@rock-chips.com> (cherry picked from commit 28df8ed07f2ae936e9af28c146d555ed4d0c122a)
show more ...
|
| 6ff3d590 | 19-Nov-2017 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
UPSTREAM: cmd: blk: remove unreachable code
Remove an unreachable return statement.
Change-Id: I523a83571eade593a08b685519757c1df4ffab25 Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Revi
UPSTREAM: cmd: blk: remove unreachable code
Remove an unreachable return statement.
Change-Id: I523a83571eade593a08b685519757c1df4ffab25 Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Kever Yang <kever.yang@rock-chips.com> (cherry picked from commit 254eedee7f383066b70ac4da01bc792a3256a4b3)
show more ...
|
| 1c7b1b4b | 24-Oct-2017 |
Suneel Garapati <suneelglinux@gmail.com> |
UPSTREAM: cmd: usb: ignore blk, emulation devices in usb tree/info display
Usb tree/info commands iterate over all usb uclass devices recursively. Blk uclass devices based on struct blk_desc are cre
UPSTREAM: cmd: usb: ignore blk, emulation devices in usb tree/info display
Usb tree/info commands iterate over all usb uclass devices recursively. Blk uclass devices based on struct blk_desc are created for mass storage device, treating them as usb uclass devices based on struct usb_device and referencing usb config interface descriptors cause crash. To fix, ignore blk and usb_emul uclass devices in usb_show_info and usb_tree_graph. Also avoid addition of preamble for blk uclass child devices, otherwise tree dump gets messed up.
Change-Id: If25ca43b08c0918c44583f71282a07c928e5bf53 Signed-off-by: Suneel Garapati <suneelglinux@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Kever Yang <kever.yang@rock-chips.com> (cherry picked from commit abd7cedb19ab7979467734b3933a39879bd8935a)
show more ...
|
| 853f31c4 | 28-Sep-2017 |
Bernhard Messerklinger <bernhard.messerklinger@br-automation.com> |
UPSTREAM: cmd/fdt.c align data buffer to avoid unaligned word access
Since the compiler is free to place a char array to any address in memory (in this case the stack), also to a non word aligned ad
UPSTREAM: cmd/fdt.c align data buffer to avoid unaligned word access
Since the compiler is free to place a char array to any address in memory (in this case the stack), also to a non word aligned address the function "fdt_prop_parse" runs into troubles upon it wants to write some (fdt32_t *) to such a variable (if it has been placed to a none word aligned address).
To avoid this we tell the compiler to always align this scratchpad to a word aligned address.
Change-Id: I6ea64827a9c245db4ba2a2ff522aaddea647c2f2 Signed-off-by: Bernhard Messerklinger <bernhard.messerklinger@br-automation.com> Reviewed-by: Hannes Schmelzer <oe5hpm@oevsv.at> Tested-by: Hannes Schmelzer <oe5hpm@oevsv.at> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Kever Yang <kever.yang@rock-chips.com> (cherry picked from commit 6dfd65f81fd060a85c961a84f85a286e8e96332c)
show more ...
|
| c9bf1d5a | 11-Oct-2017 |
Tom Rini <trini@konsulko.com> |
UPSTREAM: cmd/pxe.c: Rework bootargs construction to clarify string checks
As the code currently stands, we first check that the length of the given command line, along with ip_str/mac_str along wit
UPSTREAM: cmd/pxe.c: Rework bootargs construction to clarify string checks
As the code currently stands, we first check that the length of the given command line, along with ip_str/mac_str along with an additional 1 for the NULL termination will fit within the buffer we have, and if not, we return an error. The way this code was originally written however left Coverity "unhappy" due to using strcat rather than strncat. Switching this to strncat however causes clang to be unhappy that we aren't enforcing the "1" portion within strncat. Rather than further re-work the code to include a "- 1" in this case as well, make the strcat code only be done within the else side of the length test. This keeps both clang and Coverity happy.
Fixes: 48ee0a87bc46 ("cmd/pxe.c: Rework initrd and bootargs handling slightly") Change-Id: I6a3d3ea54d6b7e1f3c2aed200b2f706f42d570d4 Signed-off-by: Tom Rini <trini@konsulko.com> Signed-off-by: Kever Yang <kever.yang@rock-chips.com> (cherry picked from commit 59ee8f83b6e77550d5697fced4899e9b5173981f)
show more ...
|
| b0ec9442 | 10-Oct-2017 |
Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi> |
UPSTREAM: Drop CONFIG_HAS_DATAFLASH
Last user of this option went away in commit:
fdc7718999 ("board: usb_a9263: Update to support DT and DM")
Change-Id: Id05869deccb88c1102700dd5af58a8c249e3e9e2
UPSTREAM: Drop CONFIG_HAS_DATAFLASH
Last user of this option went away in commit:
fdc7718999 ("board: usb_a9263: Update to support DT and DM")
Change-Id: Id05869deccb88c1102700dd5af58a8c249e3e9e2 Signed-off-by: Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi> Signed-off-by: Kever Yang <kever.yang@rock-chips.com> (cherry picked from commit c68c03f52badc90951dbf8a054c0e500e04bf365)
show more ...
|
| 9a544e36 | 10-Oct-2017 |
Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi> |
UPSTREAM: env: Drop CONFIG_ENV_IS_IN_DATAFLASH
Last user of this option went away in commit:
fdc7718999 ("board: usb_a9263: Update to support DT and DM")
Change-Id: Ie6cec28e4daf26b669f3f35db02642
UPSTREAM: env: Drop CONFIG_ENV_IS_IN_DATAFLASH
Last user of this option went away in commit:
fdc7718999 ("board: usb_a9263: Update to support DT and DM")
Change-Id: Ie6cec28e4daf26b669f3f35db026427bdb47a5b6 Signed-off-by: Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi> Signed-off-by: Kever Yang <kever.yang@rock-chips.com> (cherry picked from commit 7b7341d7f3ee915c89a7f8ab7054e39872057d90)
show more ...
|
| f9b2adb5 | 28-Sep-2017 |
York Sun <york.sun@nxp.com> |
UPSTREAM: cmd: spl: fix compiling error when CONFIG_CMD_SPL_WRITE_SIZE not defined
CONFIG_CMD_SPL_WRITE_SIZE is used for writing parameters to non-volatile storage. So far it is only used for NAND.
UPSTREAM: cmd: spl: fix compiling error when CONFIG_CMD_SPL_WRITE_SIZE not defined
CONFIG_CMD_SPL_WRITE_SIZE is used for writing parameters to non-volatile storage. So far it is only used for NAND. Fix compiling error when this macro is not used for SD.
Change-Id: I879971e42fb333e1e0ff4e21ce6b34caf8498aa5 Signed-off-by: York Sun <york.sun@nxp.com> CC: Anatolij Gustschin <agust@denx.de> Signed-off-by: Kever Yang <kever.yang@rock-chips.com> (cherry picked from commit b65ac633f52da596cfa573bb4a597e2edd2318c8)
show more ...
|
| fafa35c5 | 29-Sep-2017 |
Tom Rini <trini@konsulko.com> |
UPSTREAM: cmd: Make CMD_LZMA / CMD_UNZIP default y if CMD_BOOTI
In the Linux Kernel on ARM64, the Image.COMPRESSION file is not self-extracting in the way that x86 and ARM images are. So when CMD_B
UPSTREAM: cmd: Make CMD_LZMA / CMD_UNZIP default y if CMD_BOOTI
In the Linux Kernel on ARM64, the Image.COMPRESSION file is not self-extracting in the way that x86 and ARM images are. So when CMD_BOOTI is enabled we should also default to enabling CMD_UNZIP and CONFIG_LZMA in order for the user to be able to decompress many of the common compressions that will be done to an Image file.
Change-Id: Ic7958458ddc16c8b78ea40ff56d380d02883d76a Signed-off-by: Tom Rini <trini@konsulko.com> Signed-off-by: Kever Yang <kever.yang@rock-chips.com> (cherry picked from commit 99e46dfc6a9176f6f0680c9dfdf33c97d56336ce)
show more ...
|
| 70c69668 | 28-Sep-2017 |
Sam Protsenko <semen.protsenko@linaro.org> |
UPSTREAM: scripts: Move Kconfig contents to cmd/Kconfig
On case-insensitive file systems we have collision between scripts/kconfig/ directory and scripts/Kconfig file. This patch moves scripts/Kcofn
UPSTREAM: scripts: Move Kconfig contents to cmd/Kconfig
On case-insensitive file systems we have collision between scripts/kconfig/ directory and scripts/Kconfig file. This patch moves scripts/Kcofnig contents to cmd/Kconfig to fix that.
Change-Id: Ia60682a7eb9c3379e6e257b07e799b06e304c95f Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org> Acked-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Kever Yang <kever.yang@rock-chips.com> (cherry picked from commit 610eec7f0593574c034054ba54fc1c934755e208)
show more ...
|
| 017aad04 | 07-Oct-2017 |
Tom Rini <trini@konsulko.com> |
UPSTREAM: cmd/gpt.c, cmd/nvedit.c, tools/fit_image.c: Rework recent fixes for Coverity
The recent changes to these files did not completely fix the previous issues, or introduced different (minor) i
UPSTREAM: cmd/gpt.c, cmd/nvedit.c, tools/fit_image.c: Rework recent fixes for Coverity
The recent changes to these files did not completely fix the previous issues, or introduced different (minor) issues. In cmd/gpt.c we need to dereference str_disk_guid to be sure that malloc worked. In cmd/nvedit.c we need to be careful that we can also fit in that leading space when adding to the string. And in tools/fit_image.c we need to re-work the error handling slightly in fit_import_data() so that we only call munmap() once. We have two error paths here, one where we have an fd to close and one where we do not. Adjust labels to match this.
Change-Id: I66fafd0ed8d1c290a7773bba5ece8d11bfc15b50 Reported-by: Coverity (CID: 167366, 167367, 167370) Signed-off-by: Tom Rini <trini@konsulko.com> Signed-off-by: Kever Yang <kever.yang@rock-chips.com> (cherry picked from commit bf52fcdef4aac242b5e6b6b9827acf6d69ce1951)
show more ...
|
| 8ab67e0d | 27-Sep-2017 |
Tom Rini <trini@konsulko.com> |
UPSTREAM: cmd/time.c: Initialize 'repeatable' variable
We cannot leave this uninitialized, set it to 0.
Change-Id: Ic8f3dd4d7395921bf4269a618aaf92a717dbfe46 Reported-by: Coverity (CID: 144426) Sign
UPSTREAM: cmd/time.c: Initialize 'repeatable' variable
We cannot leave this uninitialized, set it to 0.
Change-Id: Ic8f3dd4d7395921bf4269a618aaf92a717dbfe46 Reported-by: Coverity (CID: 144426) Signed-off-by: Tom Rini <trini@konsulko.com> Signed-off-by: Kever Yang <kever.yang@rock-chips.com> (cherry picked from commit 146dda391126d4f199c7692f2342efcc34b45ebd)
show more ...
|
| 7f2f3661 | 27-Sep-2017 |
Tom Rini <trini@konsulko.com> |
UPSTREAM: cmd/pxe.c: Rework initrd and bootargs handling slightly
For the initrd portion of handling our bootm arguments we do not have a sufficiently long enough buffer for some improbable 64bit ca
UPSTREAM: cmd/pxe.c: Rework initrd and bootargs handling slightly
For the initrd portion of handling our bootm arguments we do not have a sufficiently long enough buffer for some improbable 64bit cases. Expand this buffer to allow for a 64bit address and almost 256MB initrd to be used. Make use of strncpy/strncat when constructing the values here since we know what the worst case valid values are, length wise.
Similarly for bootargs themselves, we need to make use of strlen/sizeof and strncpy/strncat to ensure that we don't overflow bootargs itself.
Cc: Simon Glass <sjg@chromium.org> Cc: Alexander Graf <agraf@suse.de> Change-Id: I86151e4bde53972d9b6105f3a85db93b114e22d8 Reported-by: Coverity (CID: 131256) Signed-off-by: Tom Rini <trini@konsulko.com> Signed-off-by: Kever Yang <kever.yang@rock-chips.com> (cherry picked from commit 48ee0a87bc46a6f863ffd9e0396b7a068dd68c50)
show more ...
|
| bc846a8c | 26-Sep-2017 |
Tom Rini <trini@konsulko.com> |
UPSTREAM: cmd/nvedit.c: Update input handling to cover overflow cases
When we have multiple messages provided, we need to be sure that we do not exceed the length of our 'message' buffer. In the fo
UPSTREAM: cmd/nvedit.c: Update input handling to cover overflow cases
When we have multiple messages provided, we need to be sure that we do not exceed the length of our 'message' buffer. In the for loop, make sure that pos is not larger than message. Only copy in at most however much of the message buffer remains. Finally, if we have not reached the end of the message buffer, put in a space and NULL, and if we have, ensure the buffer is now NULL termined.
Change-Id: I0c4f88803f8525eb6ef0207a6b7fdbec2b43e9ff Reported-by: Coverity (CID: 165116) Signed-off-by: Tom Rini <trini@konsulko.com> Signed-off-by: Kever Yang <kever.yang@rock-chips.com> (cherry picked from commit c667723ffb50b00585b729ee0da7b0e8c93ffa13)
show more ...
|
| cb40c099 | 26-Sep-2017 |
Alison Chaiken <alison@she-devel.com> |
UPSTREAM: GPT: fix memory leaks identified by Coverity
Create a common exit for most of the error handling code in do_rename_gpt_parts. Delete the list elements in disk_partitions before calling I
UPSTREAM: GPT: fix memory leaks identified by Coverity
Create a common exit for most of the error handling code in do_rename_gpt_parts. Delete the list elements in disk_partitions before calling INIT_LIST_HEAD from get_gpt_info() a second time.
The SIZEOF_MISMATCH error is not addressed, since that problem was already fixed by "GPT: incomplete initialization in allocate_disk_part".
Change-Id: I4ec9881a86c8a50960844e07f69c04a239bc218f Signed-off-by: Alison Chaiken <alison@peloton-tech.com> Reported-by: Coverity (CID: 167222, 167235, 167237) Reviewed-by: Tom Rini <trini@konsulko.com> Signed-off-by: Kever Yang <kever.yang@rock-chips.com> (cherry picked from commit 18030d04d25d7c08d3deff85881772a520d84d49)
show more ...
|
| 90aa625c | 16-Sep-2017 |
Masahiro Yamada <yamada.masahiro@socionext.com> |
treewide: replace with error() with pr_err()
U-Boot widely uses error() as a bit noisier variant of printf().
This macro causes name conflict with the following line in include/linux/compiler-gcc.h
treewide: replace with error() with pr_err()
U-Boot widely uses error() as a bit noisier variant of printf().
This macro causes name conflict with the following line in include/linux/compiler-gcc.h:
# define __compiletime_error(message) __attribute__((error(message)))
This prevents us from using __compiletime_error(), and makes it difficult to fully sync BUILD_BUG macros with Linux. (Notice Linux's BUILD_BUG_ON_MSG is implemented by using compiletime_assert().)
Let's convert error() into now treewide-available pr_err().
Done with the help of Coccinelle, excluing tools/ directory.
The semantic patch I used is as follows:
// <smpl> @@@@ -error +pr_err (...) // </smpl>
Change-Id: I921807c1770d36a91e692c48ab477558bb2ed0b8 Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Simon Glass <sjg@chromium.org> [trini: Re-run Coccinelle] Signed-off-by: Tom Rini <trini@konsulko.com> Signed-off-by: Kever Yang <kever.yang@rock-chips.com> (cherry picked from commit 9b643e312d528f291966c1f30b0d90bf3b1d43dc)
show more ...
|
| 14464b32 | 24-Aug-2017 |
Maxime Ripard <maxime.ripard@free-electrons.com> |
UPSTREAM: cmd: Move CONFIG_RANDOM_UUID to Kconfig
CONFIG_RANDOM_UUID is used by the GPT command to generate random UUID when none are provided.
Move that option to Kconfig.
Reviewed-by: Tom Rini <
UPSTREAM: cmd: Move CONFIG_RANDOM_UUID to Kconfig
CONFIG_RANDOM_UUID is used by the GPT command to generate random UUID when none are provided.
Move that option to Kconfig.
Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Jagan Teki <jagan@openedev.com> Change-Id: Ie4c840fb583d1e5c95170e452ccbb04034926119 Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Kever Yang <kever.yang@rock-chips.com> (cherry picked from commit 47738acceda5bae52b7c33ce912da6b52244c033)
show more ...
|
| 31526294 | 21-Sep-2017 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
UPSTREAM: GPT: incomplete initialization in allocate_disk_part
memset(newpart, '\0', sizeof(newpart)); only initializes the firest 4 or 8 bytes of *newpart and not the whole structure disk_part.
We
UPSTREAM: GPT: incomplete initialization in allocate_disk_part
memset(newpart, '\0', sizeof(newpart)); only initializes the firest 4 or 8 bytes of *newpart and not the whole structure disk_part.
We should use sizeof(struct disk_part).
Instead of malloc and memset we can use calloc.
Identified by cppcheck.
Fixes: 09a49930e41 GPT: read partition table from device into a data structure Change-Id: Ifc937b64f6ac6abc56c0c6bb3d094c2316b9268e Reported-by: Coverity (CID: 167228) Cc: Stefan Roese <sr@denx.de> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Stefan Roese <sr@denx.de> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Kever Yang <kever.yang@rock-chips.com> (cherry picked from commit f66bc0e0beeff7fa27c29f740d2f314d63b3346d)
show more ...
|
| 10eca968 | 28-Aug-2017 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
UPSTREAM: efi_loader: bootefi hello should use loadaddr
Command 'bootefi hello' currently uses CONFIG_SYS_LOAD_ADDR as loading address.
qemu machines have by default 128 MiB RAM. CONFIG_SYS_LOAD_AD
UPSTREAM: efi_loader: bootefi hello should use loadaddr
Command 'bootefi hello' currently uses CONFIG_SYS_LOAD_ADDR as loading address.
qemu machines have by default 128 MiB RAM. CONFIG_SYS_LOAD_ADDR for x86 is 0x20000000 (512 MiB). This causes 'bootefi hello' to fail.
We should use the environment variable loadaddr if available. It defaults to 0x1000000 (16 MiB) on qemu_x86.
Change-Id: Iff6bfbd6c93f115f7f616c42b6e1c2dc4d61e156 Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Kever Yang <kever.yang@rock-chips.com> (cherry picked from commit 51c533fdce75fbdec7de28a05a675a553d209bcb)
show more ...
|
| ec5e502c | 13-Sep-2017 |
Bin Meng <bmeng.cn@gmail.com> |
UPSTREAM: cmd: blk: Use LBAFU in the common block command
There is already a macro LBAFU to aid formatted print with lbaint_t variables. Let's use it in the common block command codes.
Change-Id: I
UPSTREAM: cmd: blk: Use LBAFU in the common block command
There is already a macro LBAFU to aid formatted print with lbaint_t variables. Let's use it in the common block command codes.
Change-Id: I93256536d5af97877ecf9c4edc36d268b498dd1b Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Kever Yang <kever.yang@rock-chips.com> (cherry picked from commit e2888a7fa7f8d23396c4b25ea763fe1f38851b3d)
show more ...
|
| 01003402 | 13-Sep-2017 |
Bin Meng <bmeng.cn@gmail.com> |
UPSTREAM: blk: Remove various places that do flush cache after read
All these places seem to inherit the codes from the MMC driver where a FIXME was put in the comment. However the correct operation
UPSTREAM: blk: Remove various places that do flush cache after read
All these places seem to inherit the codes from the MMC driver where a FIXME was put in the comment. However the correct operation after read should be cache invalidate, not flush.
The underlying drivers should be responsible for the cache operation. Remove these codes completely.
Change-Id: I8f04c721432753b34e85b19616a0b42d83a633eb Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Stefan Roese <sr@denx.de> Reviewed-by: York Sun <york.sun@nxp.com> Reviewed-by: Joe Hershberger <joe.hershberger@ni.com> Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: York Sun <york.sun@nxp.com> Signed-off-by: Kever Yang <kever.yang@rock-chips.com> (cherry picked from commit 723b43daec7ee2ddb600cfcb9b0253d4a71c3915)
show more ...
|