aboutsummaryrefslogtreecommitdiff
path: root/projects/cli-test/mgmt-test.c
diff options
context:
space:
mode:
authorFredrik Thulin <fredrik@thulin.net>2016-07-09 21:55:20 +0200
committerFredrik Thulin <fredrik@thulin.net>2016-07-09 21:55:20 +0200
commit055ba65f4a5b7435f22a52312d44b4dfe5433b0c (patch)
tree431347f720300949dd0210c0115064db88fc8852 /projects/cli-test/mgmt-test.c
parent556dccb585c8e2023c35bb25d5009e36575ebd33 (diff)
Integrate test code for MKMIF.
There seems to be a timing issue (?) with the MKMIF. If SCLK_DIV is set to a higher value (was: 0x20) then the CLI command "test mkmif" will fail with only occasional success runs. With divisor 0x01, it works most of the time but not allways.
Diffstat (limited to 'projects/cli-test/mgmt-test.c')
-rw-r--r--projects/cli-test/mgmt-test.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/projects/cli-test/mgmt-test.c b/projects/cli-test/mgmt-test.c
index c1f255e..35c6fb6 100644
--- a/projects/cli-test/mgmt-test.c
+++ b/projects/cli-test/mgmt-test.c
@@ -40,6 +40,7 @@
#include "mgmt-test.h"
#include "test_sdram.h"
+#include "test_mkmif.h"
#include <stdlib.h>
@@ -114,4 +115,7 @@ void configure_cli_test(struct cli_def *cli)
/* test sdram */
cli_command_node(test, sdram, "Run SDRAM tests");
+
+ /* test mkmif */
+ cli_command_node(test, mkmif, "Run Master Key Memory Interface tests");
}