mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-31 14:28:52 +09:00
![Peter Robinson](/assets/img/avatar_default.png)
The built in keyboard on the Pinebook Pro is attached via USB so fix this up to ensure USB works as expected. Signed-off-by: Peter Robinson <pbrobinson@gmail.com> Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
32 lines
755 B
C
32 lines
755 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Copyright (C) 2016 Rockchip Electronics Co., Ltd
|
|
* Copyright (C) 2020 Peter Robinson <pbrobinson at gmail.com>
|
|
*/
|
|
|
|
#ifndef __PINEBOOK_PRO_RK3399_H
|
|
#define __PINEBOOK_PRO_RK3399_H
|
|
|
|
#define ROCKCHIP_DEVICE_SETTINGS \
|
|
"stdin=serial,usbkbd\0" \
|
|
"stdout=serial,vidconsole\0" \
|
|
"stderr=serial,vidconsole\0"
|
|
|
|
#include <configs/rk3399_common.h>
|
|
|
|
#if defined(CONFIG_ENV_IS_IN_MMC)
|
|
#define CONFIG_SYS_MMC_ENV_DEV 0
|
|
#elif defined(CONFIG_ENV_IS_IN_SPI_FLASH)
|
|
#define CONFIG_ENV_SECT_SIZE (8 * 1024)
|
|
#endif
|
|
|
|
#undef CONFIG_SYS_SPI_U_BOOT_OFFS
|
|
#define CONFIG_SYS_SPI_U_BOOT_OFFS 1024 * 512
|
|
|
|
#define SDRAM_BANK_SIZE (2UL << 30)
|
|
|
|
#define CONFIG_USB_OHCI_NEW
|
|
#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 2
|
|
|
|
#endif
|