diff options
author | Marek Vasut <marex@denx.de> | 2015-12-05 22:08:21 +0300 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2015-12-20 05:36:51 +0300 |
commit | ea0823465157decd81bc06c3b6dfe8f604ee4471 (patch) | |
tree | e3107d43141d87df8334c5c37c0a9b4f1ef0cab2 /include/configs/socfpga_common.h | |
parent | a5cad67735a1f098c22ec30941f1bd0422459069 (diff) | |
download | u-boot-ea0823465157decd81bc06c3b6dfe8f604ee4471.tar.xz |
arm: socfpga: Switch CONFIG_HOSTNAME to CONFIG_SYS_BOARD
We already have the CONFIG_SYS_BOARD variable, which defines the name
of the board. The value in CONFIG_HOSTNAME is exactly the same and is
thus just a duplicity, so switch it to reuse CONFIG_SYS_BOARD .
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Chin Liang See <clsee@altera.com>
Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
Diffstat (limited to 'include/configs/socfpga_common.h')
-rw-r--r-- | include/configs/socfpga_common.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/configs/socfpga_common.h b/include/configs/socfpga_common.h index 4b2d246db4..f74c758f5a 100644 --- a/include/configs/socfpga_common.h +++ b/include/configs/socfpga_common.h @@ -69,6 +69,10 @@ #define CONFIG_CMDLINE_EDITING /* Command history etc */ #define CONFIG_SYS_HUSH_PARSER +#ifndef CONFIG_SYS_HOSTNAME +#define CONFIG_SYS_HOSTNAME CONFIG_SYS_BOARD +#endif + /* * Cache */ |