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: Iea91419121eb6ab5665c2f9f95e82f461905268e Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Original-Commit-Id: 58696cc7c77a70dca2bfd512d695d143e1097a78 Original-Change-Id: Ie5ede401c4f69ed5d832a9eabac008eeac6db62d Original-Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Original-Reviewed-on: https://chromium-review.googlesource.com/220401 Original-Reviewed-by: Andrew Bresticker <abrestic@chromium.org> Reviewed-on: http://review.coreboot.org/9048 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
parent
ab0f710af7
commit
2d510d01d1
|
@ -5,7 +5,6 @@ choice
|
||||||
|
|
||||||
config BOARD_EMULATION_QEMU_X86_I440FX
|
config BOARD_EMULATION_QEMU_X86_I440FX
|
||||||
bool "QEMU x86 i440fx/piix4 (aka qemu -M pc)"
|
bool "QEMU x86 i440fx/piix4 (aka qemu -M pc)"
|
||||||
|
|
||||||
config BOARD_EMULATION_QEMU_X86_Q35
|
config BOARD_EMULATION_QEMU_X86_Q35
|
||||||
bool "QEMU x86 q35/ich9 (aka qemu -M q35, since v1.4)"
|
bool "QEMU x86 q35/ich9 (aka qemu -M q35, since v1.4)"
|
||||||
|
|
||||||
|
@ -15,8 +14,8 @@ config BOARD_EMULATION_QEMU_ARMV7
|
||||||
config BOARD_EMULATION_QEMU_UCB_RISCV
|
config BOARD_EMULATION_QEMU_UCB_RISCV
|
||||||
bool "QEMU ucb riscv"
|
bool "QEMU ucb riscv"
|
||||||
|
|
||||||
config BOARD_EMULATION_IMGVP_DANUBE
|
config BOARD_EMULATION_IMGVP_PISTACHIO
|
||||||
bool "ImgTec Danube Virtual Platform"
|
bool "ImgTec Pistachio Virtual Platform"
|
||||||
|
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
|
@ -29,7 +28,7 @@ source "src/mainboard/emulation/qemu-i440fx/Kconfig"
|
||||||
source "src/mainboard/emulation/qemu-q35/Kconfig"
|
source "src/mainboard/emulation/qemu-q35/Kconfig"
|
||||||
source "src/mainboard/emulation/qemu-armv7/Kconfig"
|
source "src/mainboard/emulation/qemu-armv7/Kconfig"
|
||||||
source "src/mainboard/emulation/qemu-riscv/Kconfig"
|
source "src/mainboard/emulation/qemu-riscv/Kconfig"
|
||||||
source "src/mainboard/emulation/imgvp-danube/Kconfig"
|
source "src/mainboard/emulation/imgvp-pistachio/Kconfig"
|
||||||
|
|
||||||
config MAINBOARD_VENDOR
|
config MAINBOARD_VENDOR
|
||||||
string
|
string
|
||||||
|
|
|
@ -19,24 +19,24 @@
|
||||||
# MA 02110-1301 USA
|
# MA 02110-1301 USA
|
||||||
#
|
#
|
||||||
|
|
||||||
if BOARD_EMULATION_IMGVP_DANUBE
|
if BOARD_EMULATION_IMGVP_PISTACHIO
|
||||||
|
|
||||||
config BOARD_SPECIFIC_OPTIONS
|
config BOARD_SPECIFIC_OPTIONS
|
||||||
def_bool y
|
def_bool y
|
||||||
select BOOTBLOCK_CONSOLE
|
select BOOTBLOCK_CONSOLE
|
||||||
select CPU_IMGTEC_DANUBE
|
select CPU_IMGTEC_PISTACHIO
|
||||||
|
|
||||||
config MAINBOARD_DIR
|
config MAINBOARD_DIR
|
||||||
string
|
string
|
||||||
default emulation/imgvp-danube
|
default emulation/imgvp-pistachio
|
||||||
|
|
||||||
config MAINBOARD_PART_NUMBER
|
config MAINBOARD_PART_NUMBER
|
||||||
string
|
string
|
||||||
default "ImgTec Danube Virtual Platform"
|
default "ImgTec Pistachio Virtual Platform"
|
||||||
|
|
||||||
config BOOTBLOCK_MAINBOARD_INIT
|
config BOOTBLOCK_MAINBOARD_INIT
|
||||||
string
|
string
|
||||||
default "mainboard/emulation/imgvp-danube/bootblock.c"
|
default "mainboard/emulation/imgvp-pistachio/bootblock.c"
|
||||||
|
|
||||||
config SYS_SDRAM_BASE
|
config SYS_SDRAM_BASE
|
||||||
hex "SDRAM base address"
|
hex "SDRAM base address"
|
|
@ -19,7 +19,7 @@
|
||||||
# MA 02110-1301 USA
|
# MA 02110-1301 USA
|
||||||
#
|
#
|
||||||
|
|
||||||
chip soc/imgtec/danube
|
chip soc/imgtec/pistachio
|
||||||
chip drivers/generic/generic # I2C0 controller
|
chip drivers/generic/generic # I2C0 controller
|
||||||
device i2c 6 on end # Fake component for testing
|
device i2c 6 on end # Fake component for testing
|
||||||
end
|
end
|
|
@ -24,7 +24,7 @@
|
||||||
|
|
||||||
static void mainboard_enable(device_t dev)
|
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 = {
|
struct chip_operations mainboard_ops = {
|
|
@ -25,7 +25,7 @@ config BOARD_SPECIFIC_OPTIONS
|
||||||
def_bool y
|
def_bool y
|
||||||
select BOOTBLOCK_CONSOLE
|
select BOOTBLOCK_CONSOLE
|
||||||
select CONFIG_SPI_FLASH_WINBOND
|
select CONFIG_SPI_FLASH_WINBOND
|
||||||
select CPU_IMGTEC_DANUBE
|
select CPU_IMGTEC_PISTACHIO
|
||||||
select COMMON_CBFS_SPI_WRAPPER
|
select COMMON_CBFS_SPI_WRAPPER
|
||||||
select MAINBOARD_HAS_BOOTBLOCK_INIT
|
select MAINBOARD_HAS_BOOTBLOCK_INIT
|
||||||
select SPI_FLASH
|
select SPI_FLASH
|
||||||
|
@ -36,7 +36,7 @@ config MAINBOARD_DIR
|
||||||
|
|
||||||
config MAINBOARD_PART_NUMBER
|
config MAINBOARD_PART_NUMBER
|
||||||
string
|
string
|
||||||
default "ImgTec Danube Virtual Platform"
|
default "ImgTec Pistachio Virtual Platform"
|
||||||
|
|
||||||
config SYS_SDRAM_BASE
|
config SYS_SDRAM_BASE
|
||||||
hex "SDRAM base address"
|
hex "SDRAM base address"
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
# MA 02110-1301 USA
|
# MA 02110-1301 USA
|
||||||
#
|
#
|
||||||
|
|
||||||
chip soc/imgtec/danube
|
chip soc/imgtec/pistachio
|
||||||
chip drivers/generic/generic # I2C0 controller
|
chip drivers/generic/generic # I2C0 controller
|
||||||
device i2c 6 on end # Fake component for testing
|
device i2c 6 on end # Fake component for testing
|
||||||
end
|
end
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
|
|
||||||
static void mainboard_enable(device_t dev)
|
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 = {
|
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
|
# MA 02110-1301 USA
|
||||||
#
|
#
|
||||||
|
|
||||||
config CPU_IMGTEC_DANUBE
|
config CPU_IMGTEC_PISTACHIO
|
||||||
select CPU_MIPS
|
select CPU_MIPS
|
||||||
select DYNAMIC_CBMEM
|
select DYNAMIC_CBMEM
|
||||||
select GENERIC_UDELAY
|
select GENERIC_UDELAY
|
||||||
|
@ -28,11 +28,11 @@ config CPU_IMGTEC_DANUBE
|
||||||
select HAVE_UART_SPECIAL
|
select HAVE_UART_SPECIAL
|
||||||
bool
|
bool
|
||||||
|
|
||||||
if CPU_IMGTEC_DANUBE
|
if CPU_IMGTEC_PISTACHIO
|
||||||
|
|
||||||
config BOOTBLOCK_CPU_INIT
|
config BOOTBLOCK_CPU_INIT
|
||||||
string
|
string
|
||||||
default "soc/imgtec/danube/bootblock.c"
|
default "soc/imgtec/pistachio/bootblock.c"
|
||||||
|
|
||||||
config BOOTBLOCK_BASE
|
config BOOTBLOCK_BASE
|
||||||
hex
|
hex
|
|
@ -19,7 +19,7 @@
|
||||||
# MA 02110-1301 USA
|
# MA 02110-1301 USA
|
||||||
#
|
#
|
||||||
|
|
||||||
# We enable CBFS_SPI_WRAPPER for Danuibe targets.
|
# We enable CBFS_SPI_WRAPPER for Pistachio targets.
|
||||||
bootblock-y += spi.c
|
bootblock-y += spi.c
|
||||||
romstage-y += spi.c
|
romstage-y += spi.c
|
||||||
ramstage-y += spi.c
|
ramstage-y += spi.c
|
|
@ -142,7 +142,7 @@ static unsigned int uart_baudrate_divisor(unsigned int baudrate,
|
||||||
return (1 + (2 * refclk) / (baudrate * oversample)) / 2;
|
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);
|
u32 base = uart_platform_base(0);
|
||||||
if (!base)
|
if (!base)
|
||||||
|
@ -154,7 +154,7 @@ static void danube_uart_init(void)
|
||||||
uart8250_mem_init(base, div);
|
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);
|
u32 base = uart_platform_base(0);
|
||||||
if (!base)
|
if (!base)
|
||||||
|
@ -162,7 +162,7 @@ static void danube_uart_tx_byte(unsigned char data)
|
||||||
uart8250_mem_tx_byte(base, 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);
|
u32 base = uart_platform_base(0);
|
||||||
if (!base)
|
if (!base)
|
||||||
|
@ -170,7 +170,7 @@ static unsigned char danube_uart_rx_byte(void)
|
||||||
return uart8250_mem_rx_byte(base);
|
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);
|
u32 base = uart_platform_base(0);
|
||||||
if (!base)
|
if (!base)
|
||||||
|
@ -180,11 +180,11 @@ static void danube_uart_tx_flush(void)
|
||||||
|
|
||||||
#if !defined(__PRE_RAM__)
|
#if !defined(__PRE_RAM__)
|
||||||
|
|
||||||
static const struct console_driver danube_uart_console __console = {
|
static const struct console_driver pistachio_uart_console __console = {
|
||||||
.init = danube_uart_init,
|
.init = pistachio_uart_init,
|
||||||
.tx_byte = danube_uart_tx_byte,
|
.tx_byte = pistachio_uart_tx_byte,
|
||||||
.tx_flush = danube_uart_tx_flush,
|
.tx_flush = pistachio_uart_tx_flush,
|
||||||
.rx_byte = danube_uart_rx_byte,
|
.rx_byte = pistachio_uart_rx_byte,
|
||||||
};
|
};
|
||||||
|
|
||||||
uint32_t uartmem_getbaseaddr(void)
|
uint32_t uartmem_getbaseaddr(void)
|
||||||
|
@ -196,22 +196,22 @@ uint32_t uartmem_getbaseaddr(void)
|
||||||
|
|
||||||
void uart_init(void)
|
void uart_init(void)
|
||||||
{
|
{
|
||||||
danube_uart_init();
|
pistachio_uart_init();
|
||||||
}
|
}
|
||||||
|
|
||||||
void uart_tx_byte(unsigned char data)
|
void uart_tx_byte(unsigned char data)
|
||||||
{
|
{
|
||||||
danube_uart_tx_byte(data);
|
pistachio_uart_tx_byte(data);
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned char uart_rx_byte(void)
|
unsigned char uart_rx_byte(void)
|
||||||
{
|
{
|
||||||
return danube_uart_rx_byte();
|
return pistachio_uart_rx_byte();
|
||||||
}
|
}
|
||||||
|
|
||||||
void uart_tx_flush(void)
|
void uart_tx_flush(void)
|
||||||
{
|
{
|
||||||
danube_uart_tx_flush();
|
pistachio_uart_tx_flush();
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* __PRE_RAM__ */
|
#endif /* __PRE_RAM__ */
|
|
@ -137,7 +137,7 @@ static void usage(FILE *f)
|
||||||
"\n"
|
"\n"
|
||||||
"bimgtool is a simple tool which generates boot images in the "
|
"bimgtool is a simple tool which generates boot images in the "
|
||||||
"BIMG format used in systems designed by Imagination "
|
"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"
|
"tool generates BIMG version 1.0 images.\n"
|
||||||
"\n"
|
"\n"
|
||||||
" input: The binary file to be converted to a BIMG\n"
|
" input: The binary file to be converted to a BIMG\n"
|
||||||
|
|
Loading…
Reference in New Issue