aboutsummaryrefslogtreecommitdiff
path: root/src/arm/cache.c
diff options
context:
space:
mode:
authorMarat Dukhan <maratek@gmail.com>2017-05-08 11:31:57 +0000
committerMarat Dukhan <maratek@gmail.com>2017-05-08 11:31:57 +0000
commit6d996053cf8cf22876b4b98cfc7b4e75374b1032 (patch)
tree8407f2d1b2f74a4cb2abcb07c1dd426e84897614 /src/arm/cache.c
parentc3035ece95c3067d1f426d37d5563df100606d73 (diff)
downloadcpuinfo-6d996053cf8cf22876b4b98cfc7b4e75374b1032.tar.gz
Support Beagleboard-xM
Diffstat (limited to 'src/arm/cache.c')
-rw-r--r--src/arm/cache.c14
1 files changed, 11 insertions, 3 deletions
diff --git a/src/arm/cache.c b/src/arm/cache.c
index db6cd6b..08d2299 100644
--- a/src/arm/cache.c
+++ b/src/arm/cache.c
@@ -220,19 +220,27 @@ void cpuinfo_arm_decode_cache(
* - configurable cache size of 0KB, 128KB, 256KB, 512KB, and 1MB
* - fixed line length of 64 bytes
* - 8-way set associative cache structure
+ *
+ * +--------------------+-----------+-----------+-----------+-----------+
+ * | Processor model | L1D cache | L1I cache | L2 cache | Reference |
+ * +--------------------+-----------+-----------+-----------+-----------+
+ * | TI DM 3730 | 32K | 32K | 256I | [1] |
+ * +--------------------+-----------+-----------+-----------+-----------+
+ *
+ * [1] https://www.ti.com/lit/ds/symlink/dm3725.pdf
*/
*l1i = (struct cpuinfo_cache) {
- .size = 16 * 1024,
+ .size = 32 * 1024,
.associativity = 4,
.line_size = 64
};
*l1d = (struct cpuinfo_cache) {
- .size = 16 * 1024,
+ .size = 32 * 1024,
.associativity = 4,
.line_size = 64
};
*l2 = (struct cpuinfo_cache) {
- .size = 128 * 1024,
+ .size = 256 * 1024,
.associativity = 8,
.line_size = 64
};