blob: cbc8ac2d42a26a4191c5597e7f467310b4f153af (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
From 573a190264dabefd8899c681f62d3eb3ec94a78f Mon Sep 17 00:00:00 2001
From: Valentine Barshak <valentine.barshak@cogentembedded.com>
Date: Wed, 2 Nov 2016 22:17:32 +0300
Subject: [PATCH] configs: r8a7796_salvator-x: Enable RPC HyperFlash support
This enables flash commands along with the RPC HyperFlash support.
Signed-off-by: Valentine Barshak <valentine.barshak@cogentembedded.com>
---
include/configs/r8a7796_salvator-x.h | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/include/configs/r8a7796_salvator-x.h b/include/configs/r8a7796_salvator-x.h
index 2926b95..6d6a2ef 100644
--- a/include/configs/r8a7796_salvator-x.h
+++ b/include/configs/r8a7796_salvator-x.h
@@ -28,10 +28,13 @@
/* [A] Hyper Flash */
/* use to RPC(SPI Multi I/O Bus Controller) */
+#define CONFIG_RPC_HYPERFLASH
- /* underconstruction */
+#define CONFIG_SYS_FLASH_BASE CONFIG_SYS_RPC_FLASH_BASE
+#define CONFIG_SYS_MAX_FLASH_BANKS 1
+#define CONFIG_SYS_MAX_FLASH_SECT 256
-#define CONFIG_SYS_NO_FLASH
+#define CONFIG_CMD_FLASH
/* Ethernet RAVB */
#define CONFIG_RAVB
--
1.9.3
|