From 055ba65f4a5b7435f22a52312d44b4dfe5433b0c Mon Sep 17 00:00:00 2001 From: Fredrik Thulin Date: Sat, 9 Jul 2016 21:55:20 +0200 Subject: 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. --- projects/cli-test/mgmt-test.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'projects/cli-test/mgmt-test.c') 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 @@ -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"); } -- cgit v1.2.3