urara: use proper SOC name
Danube has become Pistachio, let's rename all instances where this SOC is mentioned. BUG=none TEST=board urara still builds Change-Id: Ie5ede401c4f69ed5d832a9eabac008eeac6db62d Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/220401 Reviewed-by: Andrew Bresticker <abrestic@chromium.org>
This commit is contained in:
parent
3958efb288
commit
58696cc7c7
23 changed files with 34 additions and 34 deletions
|
|
@ -3,8 +3,8 @@ if VENDOR_EMULATION
|
|||
choice
|
||||
prompt "Mainboard model"
|
||||
|
||||
config BOARD_EMULATION_IMGVP_DANUBE
|
||||
bool "ImgTec Danube Virtual Platform"
|
||||
config BOARD_EMULATION_IMGVP_PISTACHIO
|
||||
bool "ImgTec Pistachio Virtual Platform"
|
||||
|
||||
config BOARD_EMULATION_QEMU_X86
|
||||
bool "QEMU x86"
|
||||
|
|
@ -17,7 +17,7 @@ config BOARD_EMULATION_QEMU_ARMV7
|
|||
|
||||
endchoice
|
||||
|
||||
source "src/mainboard/emulation/imgvp-danube/Kconfig"
|
||||
source "src/mainboard/emulation/imgvp-pistachio/Kconfig"
|
||||
source "src/mainboard/emulation/qemu-x86/Kconfig"
|
||||
source "src/mainboard/emulation/qemu-armv7/Kconfig"
|
||||
source "src/mainboard/emulation/foundation-armv8/Kconfig"
|
||||
|
|
|
|||
|
|
@ -19,24 +19,24 @@
|
|||
# MA 02110-1301 USA
|
||||
#
|
||||
|
||||
if BOARD_EMULATION_IMGVP_DANUBE
|
||||
if BOARD_EMULATION_IMGVP_PISTACHIO
|
||||
|
||||
config BOARD_SPECIFIC_OPTIONS
|
||||
def_bool y
|
||||
select BOOTBLOCK_CONSOLE
|
||||
select CPU_IMGTEC_DANUBE
|
||||
select CPU_IMGTEC_PISTACHIO
|
||||
|
||||
config MAINBOARD_DIR
|
||||
string
|
||||
default emulation/imgvp-danube
|
||||
default emulation/imgvp-pistachio
|
||||
|
||||
config MAINBOARD_PART_NUMBER
|
||||
string
|
||||
default "ImgTec Danube Virtual Platform"
|
||||
default "ImgTec Pistachio Virtual Platform"
|
||||
|
||||
config BOOTBLOCK_MAINBOARD_INIT
|
||||
string
|
||||
default "mainboard/emulation/imgvp-danube/bootblock.c"
|
||||
default "mainboard/emulation/imgvp-pistachio/bootblock.c"
|
||||
|
||||
config SYS_SDRAM_BASE
|
||||
hex "SDRAM base address"
|
||||
|
|
@ -19,7 +19,7 @@
|
|||
# MA 02110-1301 USA
|
||||
#
|
||||
|
||||
chip soc/imgtec/danube
|
||||
chip soc/imgtec/pistachio
|
||||
chip drivers/generic/generic # I2C0 controller
|
||||
device i2c 6 on end # Fake component for testing
|
||||
end
|
||||
|
|
@ -24,7 +24,7 @@
|
|||
|
||||
static void mainboard_enable(device_t dev)
|
||||
{
|
||||
printk(BIOS_INFO, "Enable imgvp-danube device...\n");
|
||||
printk(BIOS_INFO, "Enable imgvp-pistachio device...\n");
|
||||
}
|
||||
|
||||
struct chip_operations mainboard_ops = {
|
||||
|
|
@ -178,7 +178,7 @@ config BOARD_GOOGLE_URARA
|
|||
help
|
||||
Google Urara mainboard.
|
||||
Urara is an embedded device running on MIPS platorm
|
||||
based on the Danube SOC.
|
||||
based on the Pistachio SOC.
|
||||
config BOARD_GOOGLE_VEYRON_PINKY
|
||||
bool "Veyron_Pinky"
|
||||
help
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ config BOARD_SPECIFIC_OPTIONS
|
|||
def_bool y
|
||||
select BOOTBLOCK_CONSOLE
|
||||
select CONFIG_SPI_FLASH_WINBOND
|
||||
select CPU_IMGTEC_DANUBE
|
||||
select CPU_IMGTEC_PISTACHIO
|
||||
select COMMON_CBFS_SPI_WRAPPER
|
||||
select MAINBOARD_HAS_BOOTBLOCK_INIT
|
||||
select SPI_FLASH
|
||||
|
|
@ -36,7 +36,7 @@ config MAINBOARD_DIR
|
|||
|
||||
config MAINBOARD_PART_NUMBER
|
||||
string
|
||||
default "ImgTec Danube Virtual Platform"
|
||||
default "ImgTec Pistachio Virtual Platform"
|
||||
|
||||
config SYS_SDRAM_BASE
|
||||
hex "SDRAM base address"
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
# MA 02110-1301 USA
|
||||
#
|
||||
|
||||
chip soc/imgtec/danube
|
||||
chip soc/imgtec/pistachio
|
||||
chip drivers/generic/generic # I2C0 controller
|
||||
device i2c 6 on end # Fake component for testing
|
||||
end
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@
|
|||
|
||||
static void mainboard_enable(device_t dev)
|
||||
{
|
||||
printk(BIOS_INFO, "Enable Danube device...\n");
|
||||
printk(BIOS_INFO, "Enable Pistachio device...\n");
|
||||
}
|
||||
|
||||
struct chip_operations mainboard_ops = {
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
source src/soc/imgtec/danube/Kconfig
|
||||
source src/soc/imgtec/pistachio/Kconfig
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
subdirs-$(CONFIG_CPU_IMGTEC_DANUBE) += danube
|
||||
subdirs-$(CONFIG_CPU_IMGTEC_PISTACHIO) += pistachio
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
# MA 02110-1301 USA
|
||||
#
|
||||
|
||||
config CPU_IMGTEC_DANUBE
|
||||
config CPU_IMGTEC_PISTACHIO
|
||||
select CPU_MIPS
|
||||
select DYNAMIC_CBMEM
|
||||
select GENERIC_UDELAY
|
||||
|
|
@ -28,11 +28,11 @@ config CPU_IMGTEC_DANUBE
|
|||
select HAVE_UART_SPECIAL
|
||||
bool
|
||||
|
||||
if CPU_IMGTEC_DANUBE
|
||||
if CPU_IMGTEC_PISTACHIO
|
||||
|
||||
config BOOTBLOCK_CPU_INIT
|
||||
string
|
||||
default "soc/imgtec/danube/bootblock.c"
|
||||
default "soc/imgtec/pistachio/bootblock.c"
|
||||
|
||||
config BOOTBLOCK_BASE
|
||||
hex
|
||||
|
|
@ -142,7 +142,7 @@ static unsigned int uart_baudrate_divisor(unsigned int baudrate,
|
|||
return (1 + (2 * refclk) / (baudrate * oversample)) / 2;
|
||||
}
|
||||
|
||||
static void danube_uart_init(void)
|
||||
static void pistachio_uart_init(void)
|
||||
{
|
||||
u32 base = uart_platform_base(0);
|
||||
if (!base)
|
||||
|
|
@ -154,7 +154,7 @@ static void danube_uart_init(void)
|
|||
uart8250_mem_init(base, div);
|
||||
}
|
||||
|
||||
static void danube_uart_tx_byte(unsigned char data)
|
||||
static void pistachio_uart_tx_byte(unsigned char data)
|
||||
{
|
||||
u32 base = uart_platform_base(0);
|
||||
if (!base)
|
||||
|
|
@ -162,7 +162,7 @@ static void danube_uart_tx_byte(unsigned char data)
|
|||
uart8250_mem_tx_byte(base, data);
|
||||
}
|
||||
|
||||
static unsigned char danube_uart_rx_byte(void)
|
||||
static unsigned char pistachio_uart_rx_byte(void)
|
||||
{
|
||||
u32 base = uart_platform_base(0);
|
||||
if (!base)
|
||||
|
|
@ -170,7 +170,7 @@ static unsigned char danube_uart_rx_byte(void)
|
|||
return uart8250_mem_rx_byte(base);
|
||||
}
|
||||
|
||||
static void danube_uart_tx_flush(void)
|
||||
static void pistachio_uart_tx_flush(void)
|
||||
{
|
||||
u32 base = uart_platform_base(0);
|
||||
if (!base)
|
||||
|
|
@ -180,11 +180,11 @@ static void danube_uart_tx_flush(void)
|
|||
|
||||
#if !defined(__PRE_RAM__)
|
||||
|
||||
static const struct console_driver danube_uart_console __console = {
|
||||
.init = danube_uart_init,
|
||||
.tx_byte = danube_uart_tx_byte,
|
||||
.tx_flush = danube_uart_tx_flush,
|
||||
.rx_byte = danube_uart_rx_byte,
|
||||
static const struct console_driver pistachio_uart_console __console = {
|
||||
.init = pistachio_uart_init,
|
||||
.tx_byte = pistachio_uart_tx_byte,
|
||||
.tx_flush = pistachio_uart_tx_flush,
|
||||
.rx_byte = pistachio_uart_rx_byte,
|
||||
};
|
||||
|
||||
uint32_t uartmem_getbaseaddr(void)
|
||||
|
|
@ -196,22 +196,22 @@ uint32_t uartmem_getbaseaddr(void)
|
|||
|
||||
void uart_init(void)
|
||||
{
|
||||
danube_uart_init();
|
||||
pistachio_uart_init();
|
||||
}
|
||||
|
||||
void uart_tx_byte(unsigned char data)
|
||||
{
|
||||
danube_uart_tx_byte(data);
|
||||
pistachio_uart_tx_byte(data);
|
||||
}
|
||||
|
||||
unsigned char uart_rx_byte(void)
|
||||
{
|
||||
return danube_uart_rx_byte();
|
||||
return pistachio_uart_rx_byte();
|
||||
}
|
||||
|
||||
void uart_tx_flush(void)
|
||||
{
|
||||
danube_uart_tx_flush();
|
||||
pistachio_uart_tx_flush();
|
||||
}
|
||||
|
||||
#endif /* __PRE_RAM__ */
|
||||
|
|
@ -137,7 +137,7 @@ static void usage(FILE *f)
|
|||
"\n"
|
||||
"bimgtool is a simple tool which generates boot images in the "
|
||||
"BIMG format used in systems designed by Imagination "
|
||||
"Technologies, for example the Danube SoC. This version of the "
|
||||
"Technologies, for example the Pistachio SoC. This version of the "
|
||||
"tool generates BIMG version 1.0 images.\n"
|
||||
"\n"
|
||||
" input: The binary file to be converted to a BIMG\n"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue