$(call define_add,SOC_TYPE,$(6)) \
)
- $(call define_add,CONFIG_BOARD_CUSTOM_STRING,"$(call board_name,$(1))")
+ $(call define_add,CONFIG_BOARD_CUSTOM_STRING,$(call board_name,$(1)))
$(call define_add,CONFIG_DEFAULT_FLASH_SIZE_IN_MB,$(call flash_size,$(3)))
echo
#include <asm/addrspace.h>
#include <soc/qca_soc_common.h>
-#ifndef CONFIG_BOARD_CUSTOM_STRING
- #define CONFIG_BOARD_CUSTOM_STRING "Unknown/OEM"
-#endif
-
#define ALIGN_SIZE "8"
DECLARE_GLOBAL_DATA_PTR;
char buffer[24];
/* Board name */
- printf("%" ALIGN_SIZE "s %s\n", "BOARD:", CONFIG_BOARD_CUSTOM_STRING);
+ printf("%" ALIGN_SIZE "s %s\n",
+ "BOARD:", MK_STR(CONFIG_BOARD_CUSTOM_STRING));
/* SOC name, version and revision */
qca_soc_name_rev(buffer);