summaryrefslogtreecommitdiff
path: root/board/scalys/grapeboard/board_configuration_data.h
diff options
context:
space:
mode:
Diffstat (limited to 'board/scalys/grapeboard/board_configuration_data.h')
-rw-r--r--board/scalys/grapeboard/board_configuration_data.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/board/scalys/grapeboard/board_configuration_data.h b/board/scalys/grapeboard/board_configuration_data.h
new file mode 100644
index 0000000..f08eea8
--- /dev/null
+++ b/board/scalys/grapeboard/board_configuration_data.h
@@ -0,0 +1,20 @@
+/*
+ * Copyright 2018 Scalys B.V.
+ * opensource@scalys.com
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+
+#ifndef _BCD_H
+#define _BCD_H
+
+#define BCD_LENGTH_SIZE 4
+
+#define BCD_FLASH_SIZE 0x100000 /* 1 MBytes */
+
+#define BCD_HASH_SIZE 4
+
+const void* get_boardinfo_rescue_flash(void);
+int add_mac_addressess_to_env(const void* blob);
+
+#endif /* _BCD_H */