summaryrefslogtreecommitdiff
path: root/chip/it83xx/flash_chip.h
diff options
context:
space:
mode:
Diffstat (limited to 'chip/it83xx/flash_chip.h')
-rw-r--r--chip/it83xx/flash_chip.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/chip/it83xx/flash_chip.h b/chip/it83xx/flash_chip.h
new file mode 100644
index 0000000000..558db82c27
--- /dev/null
+++ b/chip/it83xx/flash_chip.h
@@ -0,0 +1,16 @@
+/* Copyright 2017 The Chromium OS Authors. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+#ifndef __CROS_EC_FLASH_CHIP_H
+#define __CROS_EC_FLASH_CHIP_H
+
+/*
+ * This symbol is defined in linker script and used to provide the begin
+ * address of the ram code section. With this address, we can enable a ILM
+ * (4K bytes static code cache) for ram code section.
+ */
+extern const char __flash_dma_start;
+
+#endif /* __CROS_EC_FLASH_CHIP_H */