rename CFG_ macros to CONFIG_SYS
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
This commit is contained in:
committed by
Wolfgang Denk
parent
71edc27181
commit
6d0f6bcf33
@@ -23,7 +23,7 @@
|
||||
|
||||
#include <common.h>
|
||||
|
||||
#if defined (CFG_NIOS_SYSID_BASE)
|
||||
#if defined (CONFIG_SYS_NIOS_SYSID_BASE)
|
||||
|
||||
#include <command.h>
|
||||
#include <asm/io.h>
|
||||
@@ -32,7 +32,7 @@
|
||||
|
||||
void display_sysid (void)
|
||||
{
|
||||
struct nios_sysid_t *sysid = (struct nios_sysid_t *)CFG_NIOS_SYSID_BASE;
|
||||
struct nios_sysid_t *sysid = (struct nios_sysid_t *)CONFIG_SYS_NIOS_SYSID_BASE;
|
||||
struct tm t;
|
||||
char asc[32];
|
||||
time_t stamp;
|
||||
@@ -55,4 +55,4 @@ U_BOOT_CMD(
|
||||
"sysid - display Nios-II system id\n\n",
|
||||
"\n - display Nios-II system id\n"
|
||||
);
|
||||
#endif /* CFG_NIOS_SYSID_BASE */
|
||||
#endif /* CONFIG_SYS_NIOS_SYSID_BASE */
|
||||
|
||||
Reference in New Issue
Block a user