summaryrefslogtreecommitdiff
path: root/board/ti/common
diff options
context:
space:
mode:
Diffstat (limited to 'board/ti/common')
-rw-r--r--board/ti/common/Kconfig2
-rw-r--r--board/ti/common/fdt_ops.c2
-rw-r--r--board/ti/common/fdt_ops.h2
3 files changed, 4 insertions, 2 deletions
diff --git a/board/ti/common/Kconfig b/board/ti/common/Kconfig
index 2de4212d9b8..f481812247c 100644
--- a/board/ti/common/Kconfig
+++ b/board/ti/common/Kconfig
@@ -40,6 +40,8 @@ config TI_COMMON_CMD_OPTIONS
imply CMD_GPIO
imply CMD_GPT
imply CMD_I2C
+ imply CMD_MEMINFO
+ imply CMD_MEMINFO_MAP
imply CMD_MII
imply CMD_MMC
imply CMD_MMC_REG
diff --git a/board/ti/common/fdt_ops.c b/board/ti/common/fdt_ops.c
index 47df5726ff0..0486d2e7802 100644
--- a/board/ti/common/fdt_ops.c
+++ b/board/ti/common/fdt_ops.c
@@ -9,7 +9,7 @@
#include <stdio.h>
#include "fdt_ops.h"
-void ti_set_fdt_env(const char *board_name, struct ti_fdt_map *fdt_map)
+void ti_set_fdt_env(const char *board_name, const struct ti_fdt_map *fdt_map)
{
char *fdt_file_name = NULL;
char fdtfile[TI_FDT_FILE_MAX];
diff --git a/board/ti/common/fdt_ops.h b/board/ti/common/fdt_ops.h
index 5d304994fb6..5375303ba8e 100644
--- a/board/ti/common/fdt_ops.h
+++ b/board/ti/common/fdt_ops.h
@@ -37,6 +37,6 @@ struct ti_fdt_map {
* @board_name: match to search with (max of TI_BOARD_NAME_MAX chars)
* @fdt_map: NULL terminated array of device tree file name matches.
*/
-void ti_set_fdt_env(const char *board_name, struct ti_fdt_map *fdt_map);
+void ti_set_fdt_env(const char *board_name, const struct ti_fdt_map *fdt_map);
#endif /* __FDT_OPS_H */