google: Remove board 'rotor'

Rotor is dead, long live [PROJECT NAME REDACTED]!

Change-Id: Ia9308944257255e077a44c1df262c7f49c69890c
Signed-off-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://review.coreboot.org/27964
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Julius Werner 2018-08-08 14:20:00 -07:00
parent 042b53ad65
commit 3b1987b6be
13 changed files with 0 additions and 557 deletions

View File

@ -1,48 +0,0 @@
##
## This file is part of the coreboot project.
##
## Copyright (C) 2016 Marvell, Inc.
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; version 2 of the License.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
if BOARD_GOOGLE_ROTOR
config BOARD_SPECIFIC_OPTIONS # dummy
def_bool y
select SOC_MARVELL_MVMAP2315
select MAINBOARD_HAS_CHROMEOS
select BOARD_ROMSIZE_KB_4096
config VBOOT
select VBOOT_MOCK_SECDATA
config MAINBOARD_DIR
string
default google/rotor
config MAINBOARD_PART_NUMBER
string
default "rotor"
config GBB_HWID
string
depends on CHROMEOS
default "ROTOR TEST 1234"
config VBOOT_FWID_MODEL
string
default "Marvell_Rotor"
config DRAM_SIZE_MB
int
default 232
endif # BOARD_MARVELL_ROTOR

View File

@ -1,2 +0,0 @@
config BOARD_GOOGLE_ROTOR
bool "Rotor"

View File

@ -1,29 +0,0 @@
##
## This file is part of the coreboot project.
##
## Copyright (C) 2016 Marvell, Inc.
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; version 2 of the License.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
bootblock-y += bootblock.c
bootblock-y += memlayout.ld
bootblock-y += reset.c
bootblock-$(CONFIG_CHROMEOS) += chromeos.c
ramstage-y += mainboard.c
ramstage-y += memlayout.ld
ramstage-y += reset.c
ramstage-$(CONFIG_CHROMEOS) += chromeos.c
romstage-y += memlayout.ld
romstage-y += reset.c
romstage-y += dram_params.c
romstage-$(CONFIG_CHROMEOS) += chromeos.c

View File

@ -1,28 +0,0 @@
/*
* This file is part of the coreboot project.
*
* Copyright (C) 2016 Marvell, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef __COREBOOT_SRC_MAINBOARD_GOOGLE_ROTOR_BOARD_H
#define __COREBOOT_SRC_MAINBOARD_GOOGLE_ROTOR_BOARD_H
#include <stdint.h>
#include <soc/pinmux.h>
#define PINMUX_APB_UART0_TXD PINMUX(165, 1, 1, 0, 0, PULLUP)
#define PINMUX_APB_UART0_RXD PINMUX(166, 1, 1, 0, 0, PULLUP)
#define PINMUX_APB_UART1_TXD PINMUX(176, 1, 1, 0, 0, PULLUP)
#define PINMUX_APB_UART1_RXD PINMUX(177, 1, 1, 0, 0, PULLUP)
#endif /* __COREBOOT_SRC_MAINBOARD_GOOGLE_ROTOR_BOARD_H */

View File

@ -1,3 +0,0 @@
Category: laptop
ROM protocol: parallel flash
Flashrom support: y

View File

@ -1,54 +0,0 @@
/*
* This file is part of the coreboot project.
*
* Copyright (C) 2016 Marvell, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include <stddef.h>
#include <stdint.h>
#include <stdlib.h>
#include <arch/io.h>
#include <bootblock_common.h>
#include <console/console.h>
#include <soc/clock.h>
#include <soc/pinmux.h>
#include "board.h"
struct mvmap2315_pinmux board_pinmux[] = {
PINMUX_APB_UART0_TXD,
PINMUX_APB_UART0_RXD,
PINMUX_APB_UART1_TXD,
PINMUX_APB_UART1_RXD,
};
static void pinmux_init(void)
{
int i;
for (i = 0; i < ARRAY_SIZE(board_pinmux); i++)
set_pinmux(board_pinmux[i]);
}
void bootblock_mainboard_early_init(void)
{
/* enable APB/UART0 clock */
setbits_le32(&mvmap2315_apmu_clk->uartclk0_clkgenconfig,
MVMAP2315_UART_CLK_EN);
/* enable APB/UART1 clock */
setbits_le32(&mvmap2315_apmu_clk->uartclk1_clkgenconfig,
MVMAP2315_UART_CLK_EN);
pinmux_init();
}

View File

@ -1,34 +0,0 @@
/*
* This file is part of the coreboot project.
*
* Copyright (C) 2016 Marvell, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include <boot/coreboot_tables.h>
#include <bootmode.h>
#include "board.h"
void fill_lb_gpios(struct lb_gpios *gpios)
{
/*TODO: implement fill_lb_gpios */
}
int get_recovery_mode_switch(void)
{
return 0;
}
int get_write_protect_state(void)
{
return 0;
}

View File

@ -1,27 +0,0 @@
FLASH@0x0 0x400000 {
WP_RO@0x0 0x200000 {
RO_SECTION@0x0 0x1f0000 {
BOOTBLOCK@0 128K
COREBOOT(CBFS)@0x20000 0xe0000
FMAP@0x100000 0x1000
GBB@0x101000 0xeef00
RO_FRID@0x1eff00 0x100
}
RO_VPD@0x1f0000 0x10000
}
RW_SECTION_A@0x200000 0x78000 {
VBLOCK_A@0x0 0x2000
FW_MAIN_A(CBFS)@0x2000 0x75f00
RW_FWID_A@0x77f00 0x100
}
RW_SHARED@0x278000 0x4000 {
SHARED_DATA@0x0 0x4000
}
RW_ELOG@0x27c000 0x4000
RW_SECTION_B@0x280000 0x78000 {
VBLOCK_B@0x0 0x2000
FW_MAIN_B(CBFS)@0x2000 0x75f00
RW_FWID_B@0x77f00 0x100
}
RW_VPD@0x2f8000 0x8000
}

View File

@ -1,18 +0,0 @@
##
## This file is part of the coreboot project.
##
## Copyright (C) 2016 Marvell, Inc.
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; version 2 of the License.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
chip soc/marvell/mvmap2315
device cpu_cluster 0 on end
end

View File

@ -1,245 +0,0 @@
/*
* This file is part of the coreboot project.
*
* Copyright (C) 2016 Marvell, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include <soc/sdram.h>
struct mvmap2315_sdram_params ddr_params = {
{
0x1f1f1f1f,
0x00000100,
0x00000100,
0x1f1f1f1f,
0x00000100,
0x00000100,
0x1f1f1f1f,
0x00000100,
0x00000100,
0x1f1f1f1f,
0x00000100,
0x00000100,
0x00010100,
0x00000100,
0x00003100,
0x00010100,
0x00000100,
0x00003100,
0x00010100,
0x00000100,
0x00003100,
0x00010100,
0x00000100,
0x00003100,
0x03230080,
0x03230081,
0x03230085,
0x03230081,
0x03230080,
0x03230081,
0x03230085,
0x03230081,
0x03230080,
0x03230081,
0x03230085,
0x03230081,
0x03230080,
0x03230081,
0x03230085,
0x03230081,
0x000b0681,
0x000b0681,
0x2A1001B8,
0x2A1001B8,
0x8000bb04,
0x8000bb04,
0x88087700,
0x88087700,
0x000b0681,
0x000b0681,
0x2A1001B8,
0x2A1001B8,
0x8000bb04,
0x8000bb04,
0x88087700,
0x88087700,
0x000b0681,
0x000b0681,
0x2A1001B8,
0x2A1001B8,
0x8000bb04,
0x8000bb04,
0x88087700,
0x88087700,
0x000b0681,
0x000b0681,
0x2A1001B8,
0x2A1001B8,
0x8000bb04,
0x8000bb04,
0x88087700,
0x88087700,
0x00bb0000,
0x00bb0000,
0x00bb0000,
0x00bb0000,
0x00bb0000,
0x00bb0000,
0x00bb0000,
0x00bb0000,
0x00000508,
0x2A1001B8,
0x00000508,
0x00010508,
0x00010508,
0x00000508,
0x2A1001B8,
0x00000508,
0x00010508,
0x00010508,
0x00000508,
0x2A1001B8,
0x00000508,
0x00010508,
0x00010508,
0x00000508,
0x2A1001B8,
0x00000508,
0x00010508,
0x00010508
},
{
0x04020632,
0x04020632,
0x04020632,
0x04020632,
0x04020632,
0x04020632,
0x04020632,
0x04020632,
0x00000010,
0x00000010,
0x00000010,
0x00000010,
0x00100000,
0x00100000,
0x00100000,
0x00100000,
0x00100000,
0x00100000,
0x00100000,
0x00100000,
0x00000000,
0x00100001,
0x00000000,
0x40100001,
0x00000000,
0x80100003,
0x00000000,
0xc0100001,
0x00000001,
0x00100001,
0x00000001,
0x40100001,
0x00000001,
0x80100003,
0x00000001,
0xc0100001,
0x221d0c1d,
0x221d0c1d,
0x221d0c1d,
0x221d0c1d,
0x40601d44,
0x40601d44,
0x40601d44,
0x40601d44,
0x10001000,
0x10001000,
0x10001000,
0x10001000,
0x00011000,
0x00011000,
0x00011000,
0x00011000,
0x0000020a,
0x0000020a,
0x0000020a,
0x0000020a,
0x0000027e,
0x0004de19,
0x0c7600a5,
0x0000027e,
0x0004de19,
0x0c7600a5,
0x0000027e,
0x0004de19,
0x0c7600a5,
0x0000027e,
0x0004de19,
0x0c7600a5,
0x02020404,
0x02020404,
0x02020404,
0x02020404,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000004,
0x00000004,
0x00000004,
0x00000004,
0x0060003d,
0x0060003d,
0x0060003d,
0x0060003d,
0x00e000e0,
0x00e000e0,
0x00e000e0,
0x00e000e0,
0x010c0c08,
0x010c0c08,
0x010c0c08,
0x010c0c08,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000e1c,
0x00000e1c,
0x00000e1c,
0x00000e1c,
0x0005a200,
0x000000b0,
0x000000b0,
0x000000b0,
0x000000b0,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x16000c00,
0x16000c00,
0x16000c00,
0x16000c00,
0x00000ff1,
0xf3000001,
0xf3020001,
0xf3020002,
0xf302000d
},
};

View File

@ -1,31 +0,0 @@
/*
* This file is part of the coreboot project.
*
* Copyright (C) 2016 Marvell, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include <device/device.h>
static void mainboard_init(struct device *dev)
{
/* TODO: implement mainboard_init */
}
static void mainboard_enable(struct device *dev)
{
dev->ops->init = &mainboard_init;
}
struct chip_operations mainboard_ops = {
.name = "rotor",
.enable_dev = mainboard_enable,
};

View File

@ -1,16 +0,0 @@
/*
* This file is part of the coreboot project.
*
* Copyright (C) 2016 Marvell, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include <soc/memlayout.ld>

View File

@ -1,22 +0,0 @@
/*
* This file is part of the coreboot project.
*
* Copyright (C) 2016 Marvell, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include <reset.h>
#include <soc/reset.h>
void do_hard_reset(void)
{
mvmap2315_reset();
}