diff options
author | Mario Six <mario.six@gdsys.cc> | 2018-03-28 14:38:20 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-04-08 18:31:09 -0400 |
commit | 5bc0543df3079add8152afa041b887d081d71839 (patch) | |
tree | 52391dd5ad89ac8681dccb7efd6a3441e2ccec06 /include/configs/suvd3.h | |
parent | 07dea2e737f78ee70e81c27d976811f0e9fdbad8 (diff) |
treewide: Convert CONFIG_HOSTNAME to a string option
CONFIG_HOSTNAME is defined as a "plain" preprocessor string, but every
use is couched by __stringify(...).
Hence, convert it to a proper string option.
Signed-off-by: Mario Six <mario.six@gdsys.cc>
Diffstat (limited to 'include/configs/suvd3.h')
-rw-r--r-- | include/configs/suvd3.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/configs/suvd3.h b/include/configs/suvd3.h index 606a4fc13f..a1d03acf25 100644 --- a/include/configs/suvd3.h +++ b/include/configs/suvd3.h @@ -24,13 +24,13 @@ /* This needs to be set prior to including km/km83xx-common.h */ #if defined(CONFIG_SUVD3) /* SUVD3 board specific */ -#define CONFIG_HOSTNAME suvd3 +#define CONFIG_HOSTNAME "suvd3" #define CONFIG_KM_BOARD_NAME "suvd3" /* include common defines/options for all 8321 Keymile boards */ #include "km/km8321-common.h" #elif defined(CONFIG_KMVECT1) /* VECT1 board specific */ -#define CONFIG_HOSTNAME kmvect1 +#define CONFIG_HOSTNAME "kmvect1" #define CONFIG_KM_BOARD_NAME "kmvect1" /* at end of uboot partition, before env */ #define CONFIG_SYS_QE_FW_ADDR 0xF00B0000 @@ -38,7 +38,7 @@ #include "km/km8309-common.h" #elif defined(CONFIG_KMTEGR1) /* TEGR1 board specific */ -#define CONFIG_HOSTNAME kmtegr1 +#define CONFIG_HOSTNAME "kmtegr1" #define CONFIG_KM_BOARD_NAME "kmtegr1" #define CONFIG_KM_UBI_PARTITION_NAME_BOOT "ubi0" #define CONFIG_KM_UBI_PARTITION_NAME_APP "ubi1" |