Merge branch 'master' of git://git.denx.de/u-boot
Signed-off-by: Stefano Babic <sbabic@denx.de>
This commit is contained in:
@@ -25,10 +25,10 @@
|
||||
|
||||
#define CONFIG_X86_RESET_VECTOR
|
||||
#define CONFIG_NR_DRAM_BANKS 8
|
||||
#define CONFIG_X86_MRC_START 0xfffa0000
|
||||
#define CONFIG_X86_MRC_ADDR 0xfffa0000
|
||||
#define CONFIG_CACHE_MRC_SIZE_KB 512
|
||||
|
||||
#define CONFIG_COREBOOT_SERIAL
|
||||
#define CONFIG_X86_SERIAL
|
||||
|
||||
#define CONFIG_SCSI_DEV_LIST {PCI_VENDOR_ID_INTEL, \
|
||||
PCI_DEVICE_ID_INTEL_NM10_AHCI}, \
|
||||
@@ -39,7 +39,7 @@
|
||||
{PCI_VENDOR_ID_INTEL, \
|
||||
PCI_DEVICE_ID_INTEL_PANTHERPOINT_AHCI_MOBILE}
|
||||
|
||||
#define CONFIG_X86_OPTION_ROM_FILENAME pci8086,0166.bin
|
||||
#define CONFIG_X86_OPTION_ROM_FILE pci8086,0166.bin
|
||||
#define CONFIG_X86_OPTION_ROM_ADDR 0xfff90000
|
||||
#define CONFIG_VIDEO_X86
|
||||
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
{PCI_VENDOR_ID_INTEL, \
|
||||
PCI_DEVICE_ID_INTEL_PANTHERPOINT_AHCI_MOBILE}
|
||||
|
||||
#define CONFIG_COREBOOT_SERIAL
|
||||
#define CONFIG_X86_SERIAL
|
||||
|
||||
#define CONFIG_STD_DEVICES_SETTINGS "stdin=usbkbd,vga,serial\0" \
|
||||
"stdout=vga,serial,cbmem\0" \
|
||||
|
||||
61
include/configs/crownbay.h
Normal file
61
include/configs/crownbay.h
Normal file
@@ -0,0 +1,61 @@
|
||||
/*
|
||||
* Copyright (C) 2014, Bin Meng <bmeng.cn@gmail.com>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-2.0+
|
||||
*/
|
||||
|
||||
/*
|
||||
* board/config.h - configuration options, board specific
|
||||
*/
|
||||
|
||||
#ifndef __CONFIG_H
|
||||
#define __CONFIG_H
|
||||
|
||||
#include <configs/x86-common.h>
|
||||
|
||||
#define CONFIG_SYS_MONITOR_LEN (1 << 20)
|
||||
#define CONFIG_SYS_X86_START16 0xfffff800
|
||||
#define CONFIG_BOARD_EARLY_INIT_F
|
||||
|
||||
#define CONFIG_X86_RESET_VECTOR
|
||||
#define CONFIG_NR_DRAM_BANKS 1
|
||||
|
||||
#define CONFIG_X86_SERIAL
|
||||
#define CONFIG_SMSC_LPC47M
|
||||
|
||||
#define CONFIG_PCI_MEM_BUS 0x40000000
|
||||
#define CONFIG_PCI_MEM_PHYS CONFIG_PCI_MEM_BUS
|
||||
#define CONFIG_PCI_MEM_SIZE 0x80000000
|
||||
|
||||
#define CONFIG_PCI_PREF_BUS 0xc0000000
|
||||
#define CONFIG_PCI_PREF_PHYS CONFIG_PCI_PREF_BUS
|
||||
#define CONFIG_PCI_PREF_SIZE 0x20000000
|
||||
|
||||
#define CONFIG_PCI_IO_BUS 0x2000
|
||||
#define CONFIG_PCI_IO_PHYS CONFIG_PCI_IO_BUS
|
||||
#define CONFIG_PCI_IO_SIZE 0xe000
|
||||
|
||||
#define CONFIG_SYS_EARLY_PCI_INIT
|
||||
#define CONFIG_PCI_PNP
|
||||
#define CONFIG_E1000
|
||||
|
||||
#define CONFIG_STD_DEVICES_SETTINGS "stdin=serial\0" \
|
||||
"stdout=serial\0" \
|
||||
"stderr=serial\0"
|
||||
|
||||
#define CONFIG_SCSI_DEV_LIST \
|
||||
{PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_TCF_SATA}
|
||||
|
||||
#define CONFIG_SPI_FLASH_SST
|
||||
|
||||
#define CONFIG_MMC
|
||||
#define CONFIG_SDHCI
|
||||
#define CONFIG_GENERIC_MMC
|
||||
#define CONFIG_MMC_SDMA
|
||||
#define CONFIG_CMD_MMC
|
||||
|
||||
/* Video is not supported */
|
||||
#undef CONFIG_VIDEO
|
||||
#undef CONFIG_CFB_CONSOLE
|
||||
|
||||
#endif /* __CONFIG_H */
|
||||
@@ -8,6 +8,9 @@
|
||||
#ifndef __VEXPRESS_AEMV8A_H
|
||||
#define __VEXPRESS_AEMV8A_H
|
||||
|
||||
/* We use generic board for v8 Versatile Express */
|
||||
#define CONFIG_SYS_GENERIC_BOARD
|
||||
|
||||
#ifdef CONFIG_BASE_FVP
|
||||
#ifndef CONFIG_SEMIHOSTING
|
||||
#error CONFIG_BASE_FVP requires CONFIG_SEMIHOSTING
|
||||
@@ -25,8 +28,6 @@
|
||||
|
||||
/*#define CONFIG_ARMV8_SWITCH_TO_EL1*/
|
||||
|
||||
/*#define CONFIG_SYS_GENERIC_BOARD*/
|
||||
|
||||
#define CONFIG_SYS_NO_FLASH
|
||||
|
||||
#define CONFIG_SUPPORT_RAW_INITRD
|
||||
|
||||
@@ -150,9 +150,6 @@ struct dfu_entity *dfu_get_entity(int alt);
|
||||
char *dfu_extract_token(char** e, int *n);
|
||||
void dfu_trigger_reset(void);
|
||||
int dfu_get_alt(char *name);
|
||||
bool dfu_detach(void);
|
||||
void dfu_trigger_detach(void);
|
||||
void dfu_clear_detach(void);
|
||||
int dfu_init_env_entities(char *interface, char *devstr);
|
||||
unsigned char *dfu_get_buf(struct dfu_entity *dfu);
|
||||
unsigned char *dfu_free_buf(void);
|
||||
|
||||
@@ -39,4 +39,8 @@ int g_dnl_register(const char *s);
|
||||
void g_dnl_unregister(void);
|
||||
void g_dnl_set_serialnumber(char *);
|
||||
|
||||
bool g_dnl_detach(void);
|
||||
void g_dnl_trigger_detach(void);
|
||||
void g_dnl_clear_detach(void);
|
||||
|
||||
#endif /* __G_DOWNLOAD_H_ */
|
||||
|
||||
@@ -244,6 +244,26 @@ int gpt_fill_header(block_dev_desc_t *dev_desc, gpt_header *gpt_h,
|
||||
*/
|
||||
int gpt_restore(block_dev_desc_t *dev_desc, char *str_disk_guid,
|
||||
disk_partition_t *partitions, const int parts_count);
|
||||
|
||||
/**
|
||||
* is_valid_gpt_buf() - Ensure that the Primary GPT information is valid
|
||||
*
|
||||
* @param dev_desc - block device descriptor
|
||||
* @param buf - buffer which contains the MBR and Primary GPT info
|
||||
*
|
||||
* @return - '0' on success, otherwise error
|
||||
*/
|
||||
int is_valid_gpt_buf(block_dev_desc_t *dev_desc, void *buf);
|
||||
|
||||
/**
|
||||
* write_mbr_and_gpt_partitions() - write MBR, Primary GPT and Backup GPT
|
||||
*
|
||||
* @param dev_desc - block device descriptor
|
||||
* @param buf - buffer which contains the MBR and Primary GPT info
|
||||
*
|
||||
* @return - '0' on success, otherwise error
|
||||
*/
|
||||
int write_mbr_and_gpt_partitions(block_dev_desc_t *dev_desc, void *buf);
|
||||
#endif
|
||||
|
||||
#endif /* _PART_H */
|
||||
|
||||
Reference in New Issue
Block a user