Skip to content
Snippets Groups Projects
Commit 8b3637c6 authored by Joe Hershberger's avatar Joe Hershberger Committed by Wolfgang Denk
Browse files

common: cosmetic: CONFIG_ROOTPATH checkpatch compliance


Remove MK_STR from places that consume CONFIG_ROOTPATH to force all definitions to be string literals.

Signed-off-by: default avatarJoe Hershberger <joe.hershberger@ni.com>
Cc: Joe Hershberger <joe.hershberger@gmail.com>
Cc: Wolfgang Denk <wd@denx.de>
Acked-by: default avatarMike Frysinger <vapier@gentoo.org>
parent 4c34b2a0
No related branches found
No related tags found
No related merge requests found
...@@ -545,7 +545,7 @@ ...@@ -545,7 +545,7 @@
#endif #endif
#define CONFIG_HOSTNAME VME8349 #define CONFIG_HOSTNAME VME8349
#define CONFIG_ROOTPATH /tftpboot/rootfs #define CONFIG_ROOTPATH "/tftpboot/rootfs"
#define CONFIG_BOOTFILE uImage #define CONFIG_BOOTFILE uImage
#define CONFIG_LOADADDR 800000 /* def location for tftp and bootm */ #define CONFIG_LOADADDR 800000 /* def location for tftp and bootm */
......
...@@ -175,7 +175,7 @@ static char default_environment[] = { ...@@ -175,7 +175,7 @@ static char default_environment[] = {
"autoload=" CONFIG_SYS_AUTOLOAD "\0" "autoload=" CONFIG_SYS_AUTOLOAD "\0"
#endif #endif
#ifdef CONFIG_ROOTPATH #ifdef CONFIG_ROOTPATH
"rootpath=" MK_STR (CONFIG_ROOTPATH) "\0" "rootpath=" CONFIG_ROOTPATH "\0"
#endif #endif
#ifdef CONFIG_GATEWAYIP #ifdef CONFIG_GATEWAYIP
"gatewayip=" MK_STR (CONFIG_GATEWAYIP) "\0" "gatewayip=" MK_STR (CONFIG_GATEWAYIP) "\0"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment