summaryrefslogtreecommitdiff
path: root/src/flash
diff options
context:
space:
mode:
Diffstat (limited to 'src/flash')
-rw-r--r--src/flash/nand/nonce.c2
-rw-r--r--src/flash/nor/faux.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/flash/nand/nonce.c b/src/flash/nand/nonce.c
index f4411640..8d15040f 100644
--- a/src/flash/nand/nonce.c
+++ b/src/flash/nand/nonce.c
@@ -21,6 +21,7 @@
#include "config.h"
#endif
#include <flash/nand.h>
+#include "hello.h"
static int nonce_nand_command(struct nand_device *nand, uint8_t command)
@@ -68,6 +69,7 @@ static int nonce_nand_init(struct nand_device *nand)
struct nand_flash_controller nonce_nand_controller =
{
.name = "nonce",
+ .commands = hello_command_handlers,
.nand_device_command = &nonce_nand_device_command,
.init = &nonce_nand_init,
.reset = &nonce_nand_reset,
diff --git a/src/flash/nor/faux.c b/src/flash/nor/faux.c
index 49a0f722..c996522c 100644
--- a/src/flash/nor/faux.c
+++ b/src/flash/nor/faux.c
@@ -23,7 +23,7 @@
#include <flash/flash.h>
#include <target/image.h>
-#include "../hello.h"
+#include "hello.h"
struct faux_flash_bank