summaryrefslogtreecommitdiffstats
path: root/arch/arm/boards/tny-a926x/tny_a9263_bootstrap.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/boards/tny-a926x/tny_a9263_bootstrap.c')
-rw-r--r--arch/arm/boards/tny-a926x/tny_a9263_bootstrap.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/arm/boards/tny-a926x/tny_a9263_bootstrap.c b/arch/arm/boards/tny-a926x/tny_a9263_bootstrap.c
new file mode 100644
index 0000000000..368c67744f
--- /dev/null
+++ b/arch/arm/boards/tny-a926x/tny_a9263_bootstrap.c
@@ -0,0 +1,16 @@
+/*
+ * Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD <plagnio@jcrosoft.com>
+ *
+ * Under GPLv2
+ */
+
+#include <common.h>
+#include <bootstrap.h>
+#include <mach/bootstrap.h>
+
+#ifdef CONFIG_MTD_DATAFLASH
+void * bootstrap_board_read_dataflash(void)
+{
+ return bootstrap_read_devfs("dataflash0", false, 0xffc0, 204864, 204864);
+}
+#endif