diff options
Diffstat (limited to 'board/max32660-eval')
-rw-r--r-- | board/max32660-eval/board.c | 24 | ||||
-rw-r--r-- | board/max32660-eval/board.h | 49 | ||||
-rw-r--r-- | board/max32660-eval/build.mk | 12 | ||||
-rw-r--r-- | board/max32660-eval/ec.tasklist | 23 | ||||
-rw-r--r-- | board/max32660-eval/gpio.inc | 19 |
5 files changed, 0 insertions, 127 deletions
diff --git a/board/max32660-eval/board.c b/board/max32660-eval/board.c deleted file mode 100644 index 15a856ab4e..0000000000 --- a/board/max32660-eval/board.c +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright 2019 The Chromium OS Authors. All rights reserved. - * Use of this source code is governed by a BSD-style license that can be - * found in the LICENSE file. - */ - -/* MAX32660 EvalKit Board Specific Configuration */ - -#include "i2c.h" -#include "board.h" -#include "console.h" -#include "ec_commands.h" -#include "gpio.h" -#include "hooks.h" -#include "timer.h" -#include "registers.h" -#include "util.h" -#include "gpio_list.h" - -#define CPRINTS(format, args...) cprints(CC_SYSTEM, format, ##args) - -/* I2C ports */ -const struct i2c_port_t i2c_ports[] = {}; - -const unsigned int i2c_ports_used = ARRAY_SIZE(i2c_ports); diff --git a/board/max32660-eval/board.h b/board/max32660-eval/board.h deleted file mode 100644 index bcca57f18a..0000000000 --- a/board/max32660-eval/board.h +++ /dev/null @@ -1,49 +0,0 @@ -/* Copyright 2019 The Chromium OS Authors. All rights reserved. - * Use of this source code is governed by a BSD-style license that can be - * found in the LICENSE file. - */ - -/* MAX32660 board configuration */ - -#ifndef __CROS_EC_BOARD_H -#define __CROS_EC_BOARD_H - -/* Optional features */ -#define CONFIG_SYSTEM_UNLOCKED /* Allow dangerous commands */ -#define CONFIG_I2C -#define CONFIG_I2C_CONTROLLER - -#define CONFIG_FPU - -/* Modules we want to exclude */ -#undef CONFIG_LID_SWITCH -#undef CONFIG_PECI -#undef CONFIG_SWITCH -#define CONFIG_CMD_HOSTCMD - -#undef CONFIG_HOSTCMD_EVENTS -#define CONFIG_I2C - -#define CONFIG_I2C_PERIPHERAL -#define CONFIG_HOSTCMD_I2C_ADDR_FLAGS (0x51) /* 7 bit right-aligned */ - -/* Slave I2C port configuration */ -#define I2C_PORT_SLAVE 1 -#define I2C_PORT_EC I2C_PORT_SLAVE - -/* Write protect is active high */ -#define CONFIG_WP_ACTIVE_HIGH - -#undef CONFIG_WATCHDOG_PERIOD_MS -#define CONFIG_WATCHDOG_PERIOD_MS 2240 - -#ifndef __ASSEMBLER__ - -/* Second UART port */ -#define CONFIG_UART_HOST 1 - -#include "gpio_signal.h" - -#endif /* !__ASSEMBLER__ */ - -#endif /* __CROS_EC_BOARD_H */ diff --git a/board/max32660-eval/build.mk b/board/max32660-eval/build.mk deleted file mode 100644 index a613922cd2..0000000000 --- a/board/max32660-eval/build.mk +++ /dev/null @@ -1,12 +0,0 @@ -# -*- makefile -*- -# Copyright 2019 The Chromium OS Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. -# -# Board specific files build -# - -# MAX32660 Device -CHIP:=max32660 - -board-y=board.o diff --git a/board/max32660-eval/ec.tasklist b/board/max32660-eval/ec.tasklist deleted file mode 100644 index 5e58b9dea8..0000000000 --- a/board/max32660-eval/ec.tasklist +++ /dev/null @@ -1,23 +0,0 @@ -/* Copyright 2019 The Chromium OS Authors. All rights reserved. - * Use of this source code is governed by a BSD-style license that can be - * found in the LICENSE file. - */ - -/** - * List of enabled tasks in the priority order - * - * The first one has the lowest priority. - * - * For each task, use the macro TASK_ALWAYS(n, r, d, s) for base tasks and - * TASK_NOTEST(n, r, d, s) for tasks that can be excluded in test binaries, - * where : - * 'n' in the name of the task - * 'r' in the main routine of the task - * 'd' in an opaque parameter passed to the routine at startup - * 's' is the stack size in bytes; must be a multiple of 8 - * TASK_NOTEST(LIGHTBAR, lightbar_task, NULL, TASK_STACK_SIZE) \ - */ -#define CONFIG_TASK_LIST \ - TASK_ALWAYS(HOOKS, hook_task, NULL, TASK_STACK_SIZE) \ - TASK_NOTEST(HOSTCMD, host_command_task, NULL, TASK_STACK_SIZE) \ - TASK_ALWAYS(CONSOLE, console_task, NULL, TASK_STACK_SIZE) diff --git a/board/max32660-eval/gpio.inc b/board/max32660-eval/gpio.inc deleted file mode 100644 index 3ced37a77f..0000000000 --- a/board/max32660-eval/gpio.inc +++ /dev/null @@ -1,19 +0,0 @@ -/* -*- mode:c -*- - * - * Copyright 2019 The Chromium OS Authors. All rights reserved. - * Use of this source code is governed by a BSD-style license that can be - * found in the LICENSE file. - */ - -/* Declare symbolic names for all the GPIOs that we care about. - * Note: Those with interrupt handlers must be declared first. */ - -/* - * Signals which aren't implemented on Board but we'll emulate anyway, to - * make it more convenient to debug other code. - */ -UNIMPLEMENTED(WP) /* Write protect input */ -UNIMPLEMENTED(ENTERING_RW) /* EC entering RW code */ - -ALTERNATE(PIN_MASK(0, 0x0C00), 2, MODULE_UART, 0) /* Alt 2, P0.10 (UART1_TX), P0.11 (UART1_RX) */ -ALTERNATE(PIN_MASK(0, 0x000C), 1, MODULE_I2C, 0) /* Alt 1, P0.2 (I2C1_SCL), P0.3 (I2C1_SDA) */ |