global: Migrate CONFIG_VSC7385_IMAGE et al to CFG
Perform simple renames of: CONFIG_VSC7385_IMAGE to CFG_VSC7385_IMAGE CONFIG_VSC7385_IMAGE_SIZE to CFG_VSC7385_IMAGE_SIZE Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
1d0eaf2f32
commit
438654c87c
|
|
@ -206,9 +206,9 @@ int misc_init_r(void)
|
||||||
{
|
{
|
||||||
int rc = 0;
|
int rc = 0;
|
||||||
|
|
||||||
#ifdef CONFIG_VSC7385_IMAGE
|
#ifdef CFG_VSC7385_IMAGE
|
||||||
if (vsc7385_upload_firmware((void *) CONFIG_VSC7385_IMAGE,
|
if (vsc7385_upload_firmware((void *) CFG_VSC7385_IMAGE,
|
||||||
CONFIG_VSC7385_IMAGE_SIZE)) {
|
CFG_VSC7385_IMAGE_SIZE)) {
|
||||||
puts("Failure uploading VSC7385 microcode.\n");
|
puts("Failure uploading VSC7385 microcode.\n");
|
||||||
rc = 1;
|
rc = 1;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -355,7 +355,7 @@ int board_early_init_r(void)
|
||||||
vscfw_addr = hextoul(tmp, NULL);
|
vscfw_addr = hextoul(tmp, NULL);
|
||||||
printf("uploading VSC7385 microcode from %x\n", vscfw_addr);
|
printf("uploading VSC7385 microcode from %x\n", vscfw_addr);
|
||||||
if (vsc7385_upload_firmware((void *)vscfw_addr,
|
if (vsc7385_upload_firmware((void *)vscfw_addr,
|
||||||
CONFIG_VSC7385_IMAGE_SIZE))
|
CFG_VSC7385_IMAGE_SIZE))
|
||||||
puts("Failure uploading VSC7385 microcode.\n");
|
puts("Failure uploading VSC7385 microcode.\n");
|
||||||
} else {
|
} else {
|
||||||
puts("No address specified for VSC7385 microcode.\n");
|
puts("No address specified for VSC7385 microcode.\n");
|
||||||
|
|
|
||||||
|
|
@ -42,8 +42,8 @@
|
||||||
#ifdef CONFIG_VSC7385_ENET
|
#ifdef CONFIG_VSC7385_ENET
|
||||||
|
|
||||||
/* The flash address and size of the VSC7385 firmware image */
|
/* The flash address and size of the VSC7385 firmware image */
|
||||||
#define CONFIG_VSC7385_IMAGE 0xFE7FE000
|
#define CFG_VSC7385_IMAGE 0xFE7FE000
|
||||||
#define CONFIG_VSC7385_IMAGE_SIZE 8192
|
#define CFG_VSC7385_IMAGE_SIZE 8192
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -270,7 +270,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* The size of the VSC7385 firmware image */
|
/* The size of the VSC7385 firmware image */
|
||||||
#define CONFIG_VSC7385_IMAGE_SIZE 8192
|
#define CFG_VSC7385_IMAGE_SIZE 8192
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef __VSCFW_ADDR
|
#ifndef __VSCFW_ADDR
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue