mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-30 08:30:50 +09:00
x86: Reduce mrccache record alignment size
At present the records are 4KB in size. This is unnecessarily large when the SPI-flash erase size is 256 bytes. Reduce it so it will be more efficient with Apollo Lake's 24-byte variable-data record. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
This commit is contained in:
parent
b93757caa1
commit
112629c53a
@ -7,7 +7,7 @@
|
|||||||
#ifndef _ASM_MRCCACHE_H
|
#ifndef _ASM_MRCCACHE_H
|
||||||
#define _ASM_MRCCACHE_H
|
#define _ASM_MRCCACHE_H
|
||||||
|
|
||||||
#define MRC_DATA_ALIGN 0x1000
|
#define MRC_DATA_ALIGN 0x100
|
||||||
#define MRC_DATA_SIGNATURE (('M' << 0) | ('R' << 8) | \
|
#define MRC_DATA_SIGNATURE (('M' << 0) | ('R' << 8) | \
|
||||||
('C' << 16) | ('D'<<24))
|
('C' << 16) | ('D'<<24))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user