mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
sparc: Add CONFIG_DISPLAY_BOARDINFO variable to all LEON boards
Signed-off-by: Francois Retief <fgretief@spaceteq.co.za>
This commit is contained in:
@@ -22,6 +22,16 @@ int checkcpu(void)
|
||||
return 0;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_DISPLAY_CPUINFO
|
||||
|
||||
int print_cpuinfo(void)
|
||||
{
|
||||
printf("CPU: LEON2\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
/* ------------------------------------------------------------------------- */
|
||||
|
||||
void cpu_reset(void)
|
||||
|
@@ -25,6 +25,16 @@ int checkcpu(void)
|
||||
return 0;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_DISPLAY_CPUINFO
|
||||
|
||||
int print_cpuinfo(void)
|
||||
{
|
||||
printf("CPU: LEON3\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
/* ------------------------------------------------------------------------- */
|
||||
|
||||
void cpu_reset(void)
|
||||
|
@@ -15,6 +15,7 @@
|
||||
#define __CONFIG_H__
|
||||
|
||||
#define CONFIG_SYS_GENERIC_BOARD
|
||||
#define CONFIG_DISPLAY_BOARDINFO
|
||||
|
||||
/*
|
||||
* High Level Configuration Options
|
||||
@@ -343,7 +344,7 @@
|
||||
#undef CONFIG_SYS_GRLIB_GAISLER_DDR2SPA1
|
||||
|
||||
/* Identification string */
|
||||
#define CONFIG_IDENT_STRING "GAISLER LEON3 GR-CPCI-AX2000"
|
||||
#define CONFIG_IDENT_STRING " Gaisler LEON3 GR-CPCI-AX2000"
|
||||
|
||||
/* default kernel command line */
|
||||
#define CONFIG_DEFAULT_KERNEL_COMMAND_LINE "console=ttyS0,38400\0\0"
|
||||
|
@@ -16,6 +16,7 @@
|
||||
#define __CONFIG_H__
|
||||
|
||||
#define CONFIG_SYS_GENERIC_BOARD
|
||||
#define CONFIG_DISPLAY_BOARDINFO
|
||||
|
||||
/*
|
||||
* High Level Configuration Options
|
||||
@@ -313,7 +314,7 @@
|
||||
#undef CONFIG_SYS_GRLIB_GAISLER_DDR2SPA1
|
||||
|
||||
/* Identification string */
|
||||
#define CONFIG_IDENT_STRING "GAISLER LEON3 EP2S60"
|
||||
#define CONFIG_IDENT_STRING " Gaisler LEON3 EP2S60"
|
||||
|
||||
/* default kernel command line */
|
||||
#define CONFIG_DEFAULT_KERNEL_COMMAND_LINE "console=ttyS0,38400\0\0"
|
||||
|
@@ -14,6 +14,7 @@
|
||||
#define __CONFIG_H__
|
||||
|
||||
#define CONFIG_SYS_GENERIC_BOARD
|
||||
#define CONFIG_DISPLAY_BOARDINFO
|
||||
|
||||
/*
|
||||
* High Level Configuration Options
|
||||
@@ -275,7 +276,7 @@
|
||||
#undef CONFIG_SYS_GRLIB_GAISLER_DDR2SPA1
|
||||
|
||||
/* Identification string */
|
||||
#define CONFIG_IDENT_STRING "GAISLER LEON3 GR-XC3S-1500"
|
||||
#define CONFIG_IDENT_STRING " Gaisler LEON3 GR-XC3S-1500"
|
||||
|
||||
/* default kernel command line */
|
||||
#define CONFIG_DEFAULT_KERNEL_COMMAND_LINE "console=ttyS0,38400\0\0"
|
||||
|
@@ -14,6 +14,7 @@
|
||||
#define __CONFIG_H__
|
||||
|
||||
#define CONFIG_SYS_GENERIC_BOARD
|
||||
#define CONFIG_DISPLAY_BOARDINFO
|
||||
|
||||
/*
|
||||
* High Level Configuration Options
|
||||
@@ -294,7 +295,7 @@
|
||||
/* default kernel command line */
|
||||
#define CONFIG_DEFAULT_KERNEL_COMMAND_LINE "console=ttyS0,38400\0\0"
|
||||
|
||||
#define CONFIG_IDENT_STRING "Gaisler GRSIM"
|
||||
#define CONFIG_IDENT_STRING " Gaisler GRSIM"
|
||||
|
||||
/* TSIM command:
|
||||
* $ ./tsim-leon3 -mmu -cas
|
||||
|
@@ -13,6 +13,7 @@
|
||||
#define __CONFIG_H__
|
||||
|
||||
#define CONFIG_SYS_GENERIC_BOARD
|
||||
#define CONFIG_DISPLAY_BOARDINFO
|
||||
|
||||
/*
|
||||
* High Level Configuration Options
|
||||
@@ -290,6 +291,6 @@
|
||||
/* default kernel command line */
|
||||
#define CONFIG_DEFAULT_KERNEL_COMMAND_LINE "console=ttyS0,38400\0\0"
|
||||
|
||||
#define CONFIG_IDENT_STRING "Gaisler GRSIM LEON2"
|
||||
#define CONFIG_IDENT_STRING " Gaisler GRSIM LEON2"
|
||||
|
||||
#endif /* __CONFIG_H */
|
||||
|
Reference in New Issue
Block a user