summaryrefslogtreecommitdiff
path: root/include/configs/ea-lpc3250devkitv2.h
diff options
context:
space:
mode:
authorTrevor Woerner <twoerner@gmail.com>2021-06-10 22:37:04 -0400
committerTom Rini <trini@konsulko.com>2021-07-06 14:12:14 -0400
commitfaf78fd464f46269887be90e5b9d2db405aa5f4e (patch)
treeec95c0b76cec8b6a60ff48e6eea8bac47fab3179 /include/configs/ea-lpc3250devkitv2.h
parenteb5807e68f4334bcc610acd827c889e0abe9231b (diff)
downloadu-boot-faf78fd464f46269887be90e5b9d2db405aa5f4e.tar.gz
arm: lpc32xx: add EA LPC3250 DevKitv2 board support
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>
Diffstat (limited to 'include/configs/ea-lpc3250devkitv2.h')
-rw-r--r--include/configs/ea-lpc3250devkitv2.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/include/configs/ea-lpc3250devkitv2.h b/include/configs/ea-lpc3250devkitv2.h
new file mode 100644
index 0000000000..c1a37c8a79
--- /dev/null
+++ b/include/configs/ea-lpc3250devkitv2.h
@@ -0,0 +1,37 @@
+/* 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