cmd: crypto: make foo_data[] cacheline aligned
Crypto-v1 needs flush_dcache() for SHA, this avoids the warning message "CACHE: Misaligned operation at range ...". Change-Id: Ie766af60db83ec1f290103c2059863fa50d0a0ad Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
This commit is contained in:
parent
cc3d674144
commit
27d36fbda0
|
|
@ -12,7 +12,7 @@
|
|||
#include <u-boot/sha256.h>
|
||||
#include <u-boot/sha512.h>
|
||||
|
||||
static u8 foo_data[] = {
|
||||
__cacheline_aligned static u8 foo_data[] = {
|
||||
0x52, 0x53, 0x41, 0x4b, 0x00, 0x00, 0x00, 0x00, 0x23, 0x00, 0x00, 0x00,
|
||||
0xda, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xd5, 0xf2, 0xfc, 0xbb,
|
||||
|
|
|
|||
Loading…
Reference in New Issue