From b99477b3fa6d4063314a313f62b7ae784bcbe710 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Wed, 20 Jan 2021 18:08:04 +0000 Subject: [image] Add the "imgmem" command Provide the "imgmem" command to create an image from an existing block of memory, for debugging purposes only. Signed-off-by: Michael Brown --- src/config/config.c | 3 +++ src/config/general.h | 1 + 2 files changed, 4 insertions(+) (limited to 'src/config') diff --git a/src/config/config.c b/src/config/config.c index 2ca05dff7..5e7a3ecfd 100644 --- a/src/config/config.c +++ b/src/config/config.c @@ -281,6 +281,9 @@ REQUIRE_OBJECT ( ntp_cmd ); #ifdef CERT_CMD REQUIRE_OBJECT ( cert_cmd ); #endif +#ifdef IMAGE_MEM_CMD +REQUIRE_OBJECT ( image_mem_cmd ); +#endif /* * Drag in miscellaneous objects diff --git a/src/config/general.h b/src/config/general.h index 9edf93b5a..9b21f1271 100644 --- a/src/config/general.h +++ b/src/config/general.h @@ -155,6 +155,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL ); //#define PROFSTAT_CMD /* Profiling commands */ //#define NTP_CMD /* NTP commands */ //#define CERT_CMD /* Certificate management commands */ +//#define IMAGE_MEM_CMD /* Read memory command */ /* * ROM-specific options -- cgit v1.2.3-55-g7522