mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 21:54:01 +00:00
ARM: uniphier: add NOR boot support
This allows to boot from NOR flash (or SRAM) with help of an external loader (NOR-loader). Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
This commit is contained in:
parent
95a2d438c9
commit
cbbc2d80fc
3 changed files with 5 additions and 2 deletions
|
@ -43,7 +43,7 @@ struct boot_device_info boot_device_table[] = {
|
|||
{BOOT_DEVICE_NONE, "Reserved"},
|
||||
{BOOT_DEVICE_NONE, "Reserved"},
|
||||
{BOOT_DEVICE_NONE, "Reserved"},
|
||||
{BOOT_DEVICE_NONE, "Reserved"},
|
||||
{BOOT_DEVICE_NOR, "NOR Boot"},
|
||||
};
|
||||
|
||||
static int get_boot_mode_sel(void)
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
#include "boot-device.h"
|
||||
|
||||
static struct boot_device_info boot_device_table[] = {
|
||||
{BOOT_DEVICE_NONE, "Reserved"},
|
||||
{BOOT_DEVICE_NOR, "NOR boot"},
|
||||
{BOOT_DEVICE_NONE, "External Master"},
|
||||
{BOOT_DEVICE_NONE, "Reserved"},
|
||||
{BOOT_DEVICE_NONE, "Reserved"},
|
||||
|
|
|
@ -261,6 +261,7 @@
|
|||
|
||||
#define CONFIG_SPL_FRAMEWORK
|
||||
#define CONFIG_SPL_SERIAL_SUPPORT
|
||||
#define CONFIG_SPL_NOR_SUPPORT
|
||||
#define CONFIG_SPL_NAND_SUPPORT
|
||||
#define CONFIG_SPL_MMC_SUPPORT
|
||||
|
||||
|
@ -270,6 +271,8 @@
|
|||
#define CONFIG_SPL_BOARD_INIT
|
||||
|
||||
#define CONFIG_SYS_NAND_U_BOOT_OFFS 0x10000
|
||||
|
||||
#define CONFIG_SYS_UBOOT_BASE 0x60000
|
||||
#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR 0x80
|
||||
|
||||
#define CONFIG_SPL_MAX_FOOTPRINT 0x10000
|
||||
|
|
Loading…
Reference in a new issue