mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-07 21:54:45 +00:00
faf78fd464
Add basic support for running U-Boot on the Embedded Artists LPC3250 Developer's Kit v2 board by launching U-Boot from the board's s1l loader (which comes pre-installed on the board). Signed-off-by: Trevor Woerner <twoerner@gmail.com>
37 lines
791 B
C
37 lines
791 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Embedded Artists LPC3250 DevKit v2
|
|
* Copyright (C) 2021 Trevor Woerner <twoerner@gmail.com>
|
|
*/
|
|
|
|
#ifndef __CONFIG_EA_LPC3250DEVKITV2_H__
|
|
#define __CONFIG_EA_LPC3250DEVKITV2_H__
|
|
|
|
#include <linux/sizes.h>
|
|
#include <asm/arch/cpu.h>
|
|
|
|
/*
|
|
* SoC and board defines
|
|
*/
|
|
#define CONFIG_MACH_TYPE MACH_TYPE_LPC3XXX
|
|
#define CONFIG_SKIP_LOWLEVEL_INIT
|
|
#define CONFIG_BOARD_SIZE_LIMIT 0x000fffff /* maximum allowable size for full U-Boot binary */
|
|
|
|
/*
|
|
* RAM
|
|
*/
|
|
#define CONFIG_SYS_MALLOC_LEN SZ_4M
|
|
#define CONFIG_SYS_SDRAM_BASE EMC_DYCS0_BASE
|
|
|
|
/*
|
|
* cmd
|
|
*/
|
|
#define CONFIG_SYS_LOAD_ADDR 0x80100000
|
|
#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_SDRAM_BASE + SZ_4K - GENERATED_GBL_DATA_SIZE)
|
|
|
|
/*
|
|
* SoC-specific config
|
|
*/
|
|
#include <asm/arch/config.h>
|
|
|
|
#endif
|