From 1b25f2d9d72823cc6ba35e8cb9086c9b3f6b849b Mon Sep 17 00:00:00 2001 From: Adam Ford Date: Sat, 25 Nov 2017 13:39:09 -0600 Subject: mx6_common: remove dead code There is an #ifdef and #endif with nothing in between. This patch simply removes this dead/useless code. Signed-off-by: Adam Ford Reviewed-by: Fabio Estevam --- include/configs/mx6_common.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'include') diff --git a/include/configs/mx6_common.h b/include/configs/mx6_common.h index 4de9db65c10..5fb85a11277 100644 --- a/include/configs/mx6_common.h +++ b/include/configs/mx6_common.h @@ -65,9 +65,6 @@ #define CONFIG_SYS_CBSIZE 512 #define CONFIG_SYS_MAXARGS 32 -#ifndef CONFIG_SYS_DCACHE_OFF -#endif - /* GPIO */ #define CONFIG_MXC_GPIO -- cgit v1.2.3 From d56f6ca288c588b6a17edf7a4952e1bc3b56220c Mon Sep 17 00:00:00 2001 From: Peng Fan Date: Mon, 4 Dec 2017 12:31:20 +0800 Subject: power: pmic.h: include dm/ofnode.h Include dm/ofnode.h. Signed-off-by: Peng Fan Reviewed-by: Simon Glass Cc: Stefano Babic Reviewed-by: Fabio Estevam --- include/power/pmic.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/power/pmic.h b/include/power/pmic.h index 4b343164270..f2fe537fb7c 100644 --- a/include/power/pmic.h +++ b/include/power/pmic.h @@ -11,6 +11,7 @@ #ifndef __CORE_PMIC_H_ #define __CORE_PMIC_H_ +#include #include #include #include -- cgit v1.2.3 From 6ca03f0dfb2f65c7834737f9e0befff24064e34a Mon Sep 17 00:00:00 2001 From: Fabio Estevam Date: Mon, 27 Nov 2017 10:25:10 -0200 Subject: mx6sxsabresd: Load the correct dtb for revA board Currently only imx6sx-sdb.dtb is loaded, but if revA board is used the correct dtb is imx6sx-sdb-reva.dtb, so make this possible. While at it, remove an extra 'mmc dev'. Signed-off-by: Fabio Estevam --- include/configs/mx6sxsabresd.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/configs/mx6sxsabresd.h b/include/configs/mx6sxsabresd.h index f4c9c283979..906e677cd14 100644 --- a/include/configs/mx6sxsabresd.h +++ b/include/configs/mx6sxsabresd.h @@ -43,6 +43,7 @@ #define UPDATE_M4_ENV "" #endif +#define CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG #define CONFIG_EXTRA_ENV_SETTINGS \ UPDATE_M4_ENV \ "script=boot.scr\0" \ @@ -105,10 +106,13 @@ "fi; " \ "else " \ "bootz; " \ - "fi;\0" + "fi;\0" \ + "findfdt="\ + "if test test $board_rev = REVA ; then " \ + "setenv fdt_file imx6sx-sdb-reva.dtb; fi; " \ #define CONFIG_BOOTCOMMAND \ - "mmc dev ${mmcdev};" \ + "run findfdt; " \ "mmc dev ${mmcdev}; if mmc rescan; then " \ "if run loadbootscript; then " \ "run bootscript; " \ -- cgit v1.2.3