mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
c17c422854
If SPL is used we want to use the generic SPL framework and boot from SPI via a board-specific means. Add these options to the board config file. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
31 lines
599 B
C
31 lines
599 B
C
/*
|
|
* Copyright (c) 2011 The Chromium OS Authors.
|
|
* (C) Copyright 2008
|
|
* Graeme Russ, graeme.russ@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>
|
|
#include <configs/x86-chromebook.h>
|
|
|
|
#define CONFIG_ENV_SECT_SIZE 0x1000
|
|
#define CONFIG_ENV_OFFSET 0x003f8000
|
|
|
|
#define CONFIG_SPL_FRAMEWORK
|
|
|
|
#define CONFIG_SPL_TEXT_BASE 0xfffd0000
|
|
|
|
#define BOOT_DEVICE_SPI 10
|
|
|
|
#define CONFIG_SPL_BOARD_LOAD_IMAGE
|
|
#define BOOT_DEVICE_BOARD 11
|
|
|
|
#endif /* __CONFIG_H */
|