summaryrefslogtreecommitdiff
path: root/arch/x86/include
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2016-02-27 22:57:59 -0800
committerBin Meng <bmeng.cn@gmail.com>2016-03-17 10:27:22 +0800
commit897e1dc86af7b2b9d58c71345c585d130b16232d (patch)
treeb097930d5e29d84c6492d43be326c9e36a0c5d89 /arch/x86/include
parenta5221b52064013137109e7aa659b661747f47e98 (diff)
x86: Use a macro for ROM table alignment
Define ROM_TABLE_ALIGN instead of using 1024 directly. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86/include')
-rw-r--r--arch/x86/include/asm/tables.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/include/asm/tables.h b/arch/x86/include/asm/tables.h
index 0aa6d9b33e..9e6754f2a5 100644
--- a/arch/x86/include/asm/tables.h
+++ b/arch/x86/include/asm/tables.h
@@ -14,6 +14,8 @@
*/
#define ROM_TABLE_ADDR 0xf0000
+#define ROM_TABLE_ALIGN 1024
+
/**
* table_compute_checksum() - Compute a table checksum
*