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
|
||||
bool "QEMU x86 i440fx/piix4 (aka qemu -M pc)"
|
||||
|
||||
config BOARD_EMULATION_QEMU_X86_Q35
|
||||
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
|
||||
bool "QEMU ucb riscv"
|
||||
|
||||
config BOARD_EMULATION_IMGVP_DANUBE
|
||||
bool "ImgTec Danube Virtual Platform"
|
||||
config BOARD_EMULATION_IMGVP_PISTACHIO
|
||||
bool "ImgTec Pistachio Virtual Platform"
|
||||
|
||||
endchoice
|
||||
|
||||
|
@ -29,7 +28,7 @@ source "src/mainboard/emulation/qemu-i440fx/Kconfig"
|
|||
source "src/mainboard/emulation/qemu-q35/Kconfig"
|
||||
source "src/mainboard/emulation/qemu-armv7/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
|
||||
string
|
||||
|
|
|
@ -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 = {
|
|
@ -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
|
|
@ -19,7 +19,7 @@
|
|||
# MA 02110-1301 USA
|
||||
#
|
||||
|
||||
# We enable CBFS_SPI_WRAPPER for Danuibe targets.
|
||||
# We enable CBFS_SPI_WRAPPER for Pistachio targets.
|
||||
bootblock-y += spi.c
|
||||
romstage-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;
|
||||
}
|
||||
|
||||
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…
Reference in New Issue