devkit3250: add Timll DevKit3250 board initial support
Subsystems (2)
Vladimir Zapolskiy
maintainercover devkit3250: add Timll DevKit3250 board initial support
This patchset adds generic NXP LPC32XX SoC support and basic support for Embest/Timll DevKit3250 board, which powered by this SoC.
The patchset is done on top of u-boot-arm/next branch.
Vladimir Zapolskiy (3):
arm926ejs: add NXP LPC32x0 cpu series support
devkit3250: add Timll DevKit3250 board initial support
devkit3250: add DevKit3250 board maintainer
MAINTAINERS | 4 + arch/arm/cpu/arm926ejs/lpc32xx/Makefile | 45 +++++++ arch/arm/cpu/arm926ejs/lpc32xx/clkpwr.c | 118 ++++++++++++++++++ arch/arm/cpu/arm926ejs/lpc32xx/cpu.c | 58 +++++++++ arch/arm/cpu/arm926ejs/lpc32xx/devices.c | 47 +++++++ arch/arm/cpu/arm926ejs/lpc32xx/timer.c | 94 ++++++++++++++ arch/arm/include/asm/arch-lpc32xx/clk.h | 163 +++++++++++++++++++++++++ arch/arm/include/asm/arch-lpc32xx/config.h | 59 +++++++++ arch/arm/include/asm/arch-lpc32xx/cpu.h | 64 ++++++++++ arch/arm/include/asm/arch-lpc32xx/emc.h | 92 ++++++++++++++ arch/arm/include/asm/arch-lpc32xx/sys_proto.h | 25 ++++ arch/arm/include/asm/arch-lpc32xx/timer.h | 74 +++++++++++ arch/arm/include/asm/arch-lpc32xx/uart.h | 54 ++++++++ arch/arm/include/asm/arch-lpc32xx/wdt.h | 51 ++++++++ board/timll/devkit3250/Makefile | 44 +++++++ board/timll/devkit3250/devkit3250.c | 71 +++++++++++ boards.cfg | 3 +- include/configs/devkit3250.h | 121 ++++++++++++++++++ 18 files changed, 1186 insertions(+), 1 deletions(-) create mode 100644 arch/arm/cpu/arm926ejs/lpc32xx/Makefile create mode 100644 arch/arm/cpu/arm926ejs/lpc32xx/clkpwr.c create mode 100644 arch/arm/cpu/arm926ejs/lpc32xx/cpu.c create mode 100644 arch/arm/cpu/arm926ejs/lpc32xx/devices.c create mode 100644 arch/arm/cpu/arm926ejs/lpc32xx/timer.c create mode 100644 arch/arm/include/asm/arch-lpc32xx/clk.h create mode 100644 arch/arm/include/asm/arch-lpc32xx/config.h create mode 100644 arch/arm/include/asm/arch-lpc32xx/cpu.h create mode 100644 arch/arm/include/asm/arch-lpc32xx/emc.h create mode 100644 arch/arm/include/asm/arch-lpc32xx/sys_proto.h create mode 100644 arch/arm/include/asm/arch-lpc32xx/timer.h create mode 100644 arch/arm/include/asm/arch-lpc32xx/uart.h create mode 100644 arch/arm/include/asm/arch-lpc32xx/wdt.h create mode 100644 board/timll/devkit3250/Makefile create mode 100644 board/timll/devkit3250/devkit3250.c create mode 100644 include/configs/devkit3250.h
Signature · 1 line
1.7.5.4
Vladimir Zapolskiy
maintainerPATCH v5 1/3 arm926ejs: add NXP LPC32x0 cpu series support
This change adds initial support for NXP LPC32x0 SoC series.
---
Changes from v4 to v5:
* corrected address in GPLv2+ licence header in files
Changes from v3 to v4:
* extended memory controller definitions are introduced
* added print_cpuinfo() function
Changes from v2 to v3:
* checkpatch.pl reports zero errors and warnings
Changes from v1 to v2:
* BIT(n) and SBF(s, v) macro are not used anymore
* removed NS16550 and 14-clock UART definitions from uart.h
* added devices.c file, which contains standard UART preinitialization routine
* added get_serial_clock() function, it returns actual frequency of UART clock
* __udelay() realization is simplified, no need of interrupt handling
arch/arm/cpu/arm926ejs/lpc32xx/Makefile | 45 +++++++ arch/arm/cpu/arm926ejs/lpc32xx/clkpwr.c | 118 ++++++++++++++++++ arch/arm/cpu/arm926ejs/lpc32xx/cpu.c | 58 +++++++++ arch/arm/cpu/arm926ejs/lpc32xx/devices.c | 47 +++++++ arch/arm/cpu/arm926ejs/lpc32xx/timer.c | 94 ++++++++++++++ arch/arm/include/asm/arch-lpc32xx/clk.h | 163 +++++++++++++++++++++++++ arch/arm/include/asm/arch-lpc32xx/config.h | 59 +++++++++ arch/arm/include/asm/arch-lpc32xx/cpu.h | 64 ++++++++++ arch/arm/include/asm/arch-lpc32xx/emc.h | 92 ++++++++++++++ arch/arm/include/asm/arch-lpc32xx/sys_proto.h | 25 ++++ arch/arm/include/asm/arch-lpc32xx/timer.h | 74 +++++++++++ arch/arm/include/asm/arch-lpc32xx/uart.h | 54 ++++++++ arch/arm/include/asm/arch-lpc32xx/wdt.h | 51 ++++++++ 13 files changed, 944 insertions(+), 0 deletions(-) create mode 100644 arch/arm/cpu/arm926ejs/lpc32xx/Makefile create mode 100644 arch/arm/cpu/arm926ejs/lpc32xx/clkpwr.c create mode 100644 arch/arm/cpu/arm926ejs/lpc32xx/cpu.c create mode 100644 arch/arm/cpu/arm926ejs/lpc32xx/devices.c create mode 100644 arch/arm/cpu/arm926ejs/lpc32xx/timer.c create mode 100644 arch/arm/include/asm/arch-lpc32xx/clk.h create mode 100644 arch/arm/include/asm/arch-lpc32xx/config.h create mode 100644 arch/arm/include/asm/arch-lpc32xx/cpu.h create mode 100644 arch/arm/include/asm/arch-lpc32xx/emc.h create mode 100644 arch/arm/include/asm/arch-lpc32xx/sys_proto.h create mode 100644 arch/arm/include/asm/arch-lpc32xx/timer.h create mode 100644 arch/arm/include/asm/arch-lpc32xx/uart.h create mode 100644 arch/arm/include/asm/arch-lpc32xx/wdt.h
arch/arm/cpu/arm926ejs/lpc32xx/Makefile new file +45 -0
@@ -0,0 +1,45 @@ +# +# (C) Copyright 2000-2006 +# Wolfgang Denk, DENX Software Engineering, wd at denx.de. +# +# See file CREDITS for list of people who contributed to this +# project. +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, +# MA 02110-1301, USA. +# + +include $(TOPDIR)/config.mk + +LIB = $(obj)lib$(SOC).o + +COBJS = cpu.o clkpwr.o devices.o timer.o + +SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) +OBJS := $(addprefix $(obj),$(COBJS) $(SOBJS)) + +all: $(obj).depend $(LIB) + +$(LIB): $(OBJS) + $(call cmd_link_o_target, $(OBJS)) + +######################################################################### + +# defines $(obj).depend target +include $(SRCTREE)/rules.mk + +sinclude $(obj).depend + +#########################################################################
arch/arm/cpu/arm926ejs/lpc32xx/clkpwr.c new file +118 -0
118 lines not on this page · raw message
arch/arm/cpu/arm926ejs/lpc32xx/cpu.c new file +58 -0
58 lines not on this page · raw message
arch/arm/cpu/arm926ejs/lpc32xx/devices.c new file +47 -0
47 lines not on this page · raw message
arch/arm/cpu/arm926ejs/lpc32xx/timer.c new file +94 -0
94 lines not on this page · raw message
arch/arm/include/asm/arch-lpc32xx/clk.h new file +163 -0
163 lines not on this page · raw message
arch/arm/include/asm/arch-lpc32xx/config.h new file +59 -0
59 lines not on this page · raw message
arch/arm/include/asm/arch-lpc32xx/cpu.h new file +64 -0
64 lines not on this page · raw message
arch/arm/include/asm/arch-lpc32xx/emc.h new file +92 -0
92 lines not on this page · raw message
arch/arm/include/asm/arch-lpc32xx/sys_proto.h new file +25 -0
@@ -0,0 +1,25 @@ +/* +* Copyright (C) 2011 Vladimir Zapolskiy <[email protected]> +* +* This program is free software; you can redistribute it and/or +* modify it under the terms of the GNU General Public License +* as published by the Free Software Foundation; either version 2 +* of the License, or (at your option) any later version. +* +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with this program; if not, write to the Free Software +* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, +* MA 02110-1301, USA. +*/ + +#ifndef _SYS_PROTO_H_ +#define _SYS_PROTO_H_ + +void lpc32xx_uart_init (unsigned int uart_id); + +#endif
arch/arm/include/asm/arch-lpc32xx/timer.h new file +74 -0
74 lines not on this page · raw message
arch/arm/include/asm/arch-lpc32xx/uart.h new file +54 -0
54 lines not on this page · raw message
arch/arm/include/asm/arch-lpc32xx/wdt.h new file +51 -0
51 lines not on this page · raw message
Signature · 1 line
1.7.5.4
Vladimir Zapolskiy
maintainerPATCH v2 2/3 devkit3250: add Timll DevKit3250 board initial support
In reply to Vladimir ZapolskiyThis change adds a basic support for Embest/Timll DevKit3250 board, NOR and UART are the only supported peripherals for a moment. The board doesn't require low-level init, because the initial SDRAM and GPIO configuration is performed during kickstart bootloader execution.
---
Changes from v1 to v2:
* corrected address in GPLv2+ licence header in files
* removed clean and distclean targets from board makefile
* do not set machine id explicitly, if CONFIG_MACH_TYPE is defined
* minor indentation cleanups
board/timll/devkit3250/Makefile | 44 +++++++++++++ board/timll/devkit3250/devkit3250.c | 71 ++++++++++++++++++++ boards.cfg | 3 +- include/configs/devkit3250.h | 121 +++++++++++++++++++++++++++++++++++ 4 files changed, 238 insertions(+), 1 deletions(-) create mode 100644 board/timll/devkit3250/Makefile create mode 100644 board/timll/devkit3250/devkit3250.c create mode 100644 include/configs/devkit3250.h
board/timll/devkit3250/Makefile new file +44 -0
@@ -0,0 +1,44 @@ +# +# Copyright (C) 2011 by Vladimir Zapolskiy <[email protected]> +# Copyright (C) 2008, Guennadi Liakhovetski <[email protected]> +# +# See file CREDITS for list of people who contributed to this +# project. +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, +# MA 02110-1301, USA. +# + +include $(TOPDIR)/config.mk + +LIB = $(obj)lib$(BOARD).o + +COBJS := devkit3250.o + +SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) +OBJS := $(addprefix $(obj),$(COBJS)) +SOBJS := $(addprefix $(obj),$(SOBJS)) + +$(LIB): $(obj).depend $(OBJS) $(SOBJS) + $(call cmd_link_o_target, $(OBJS) $(SOBJS)) + +######################################################################### + +# defines $(obj).depend target +include $(SRCTREE)/rules.mk + +sinclude $(obj).depend + +#########################################################################
board/timll/devkit3250/devkit3250.c new file +71 -0
71 lines not on this page · raw message
boards.cfg +2 -1
@@ -162,7 +162,8 @@ nhk8815 arm arm926ejs nhk8815 st nhk8815_onenand arm arm926ejs nhk8815 st nomadik nhk8815:BOOT_ONENAND omap5912osk arm arm926ejs - ti omap edminiv2 arm arm926ejs - LaCie orion5x -dkb arm arm926ejs - Marvell pantheon +dkb arm arm926ejs - Marvell pantheon +devkit3250 arm arm926ejs devkit3250 timll lpc32xx integratorap_cm946es arm arm946es integrator armltd - integratorap:CM946ES integratorcp_cm946es arm arm946es integrator armltd - integratorcp:CM946ES ca9x4_ct_vxp arm armv7 vexpress armltd
include/configs/devkit3250.h new file +121 -0
121 lines not on this page · raw message
Signature · 1 line
1.7.5.4
PATCH v2 2/3 devkit3250: add Timll DevKit3250 board initial support
Hi Vladimir,
Quoted 9 lines · Vladimir Zapolskiy
This change adds a basic support for Embest/Timll DevKit3250 board, NOR and UART are the only supported peripherals for a moment. The board doesn't require low-level init, because the initial SDRAM and GPIO configuration is performed during kickstart bootloader execution.
Signed-off-by Vladimir Zapolskiy <[email protected]>---
Changes from v1 to v2:
* corrected address in GPLv2+ licence header in files
I think you should remove the address part completely, because next time it changes, will you be around to fix it? I know that there are many files already with address, but to make a big change it is better to start it from small - say all new coming patches.
Quoted 281 lines
* removed clean and distclean targets from board makefile
* do not set machine id explicitly, ifCONFIG_MACH_TYPEis defined
* minor indentation cleanupsboard/timll/devkit3250/Makefile | 44 +++++++++++++ board/timll/devkit3250/devkit3250.c | 71 ++++++++++++++++++++ boards.cfg | 3 +- include/configs/devkit3250.h | 121 +++++++++++++++++++++++++++++++++++ 4 files changed, 238 insertions(+), 1 deletions(-) create mode 100644 board/timll/devkit3250/Makefile create mode 100644 board/timll/devkit3250/devkit3250.c create mode 100644 include/configs/devkit3250.hboard/timll/devkit3250/Makefile new file +44
-0@@ -0,0 +1,44 @@ +# +# Copyright (C) 2011 by Vladimir Zapolskiy <[email protected]> +# Copyright (C) 2008, Guennadi Liakhovetski <[email protected]> +# +# See file CREDITS for list of people who contributed to this +# project. +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, +# MA 02110-1301, USA. +# + +include $(TOPDIR)/config.mk + +LIB = $(obj)lib$(BOARD).o + +COBJS := devkit3250.o + +SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) +OBJS := $(addprefix $(obj),$(COBJS)) +SOBJS := $(addprefix $(obj),$(SOBJS)) + +$(LIB): $(obj).depend $(OBJS) $(SOBJS) + $(call cmd_link_o_target, $(OBJS) $(SOBJS)) + +######################################################################### + +# defines $(obj).depend target +include $(SRCTREE)/rules.mk + +sinclude $(obj).depend + +#########################################################################board/timll/devkit3250/devkit3250.c new file +71
-0@@ -0,0 +1,71 @@ +/* +* Embest/Timll DevKit3250 board support +* +* Copyright (C) 2011 Vladimir Zapolskiy <[email protected]> +* +* This program is free software; you can redistribute it and/or +* modify it under the terms of the GNU General Public License as +* published by the Free Software Foundation; either version 2 of +* the License, or (at your option) any later version. +* +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with this program; if not, write to the Free Software +* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, +* MA 02110-1301, USA. +*/ + +#include <common.h> +#include <asm/arch/sys_proto.h> +#include <asm/arch/cpu.h> +#include <asm/arch/emc.h> + +DECLARE_GLOBAL_DATA_PTR ; + +static struct emc_t *emc = (struct emc_t *)EMC_BASE ; + +int board_early_init_f (void ) +{ +lpc32xx_uart_init (CONFIG_SYS_LPC32XX_UART ); + +return 0 ; +} + +int board_init (void ) +{ +/* +* It might be necessary to flush data cache, if U-boot is loaded +* from kickstart bootloader, e.g. from S1L loader +*/ +flush_cache (0 ,0 ); + +/* adress of boot parameters */ + gd->bd->bi_boot_params =CONFIG_ENV_ADDR ; + +#ifdef CONFIG_SYS_FLASH_CFI +/* Use 16-bit memory interface for NOR Flash */ + emc->stat[0 ].config =EMC_STAT_CONFIG_PB |EMC_STAT_CONFIG_16BIT ; + +/* Change the NOR timings to optimum value to get maximum bandwidth */ + emc->stat[0 ].waitwen =EMC_STAT_WAITWEN (1 ); + emc->stat[0 ].waitoen =EMC_STAT_WAITOEN (1 ); + emc->stat[0 ].waitrd =EMC_STAT_WAITRD (12 ); + emc->stat[0 ].waitpage =EMC_STAT_WAITPAGE (12 ); + emc->stat[0 ].waitwr =EMC_STAT_WAITWR (5 ); + emc->stat[0 ].waitturn =EMC_STAT_WAITTURN (2 ); +#endif + +return 0 ; +} + +int dram_init (void ) +{ + gd->ram_size =get_ram_size ((void *)CONFIG_SYS_SDRAM_BASE , +CONFIG_SYS_SDRAM_SIZE ); + +return 0 ; +}boards.cfg +2
-1@@ -162,7 +162,8 @@ nhk8815 arm arm926ejs nhk8815 st nhk8815_onenand arm arm926ejs nhk8815 st nomadik nhk8815:BOOT_ONENAND omap5912osk arm arm926ejs - ti omap edminiv2 arm arm926ejs - LaCie orion5x -dkb arm arm926ejs - Marvell pantheon +dkb arm arm926ejs - Marvell pantheon +devkit3250 arm arm926ejs devkit3250 timll lpc32xx integratorap_cm946es arm arm946es integrator armltd - integratorap:CM946ES integratorcp_cm946es arm arm946es integrator armltd - integratorcp:CM946ES ca9x4_ct_vxp arm armv7 vexpress armltdinclude/configs/devkit3250.h new file +121
-0@@ -0,0 +1,121 @@ +/* +* Embest/Timll DevKit3250 board configuration file +* +* Copyright (C) 2011 Vladimir Zapolskiy <[email protected]> +* +* This program is free software; you can redistribute it and/or +* modify it under the terms of the GNU General Public License +* as published by the Free Software Foundation; either version 2 +* of the License, or (at your option) any later version. +* +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with this program; if not, write to the Free Software +* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, +* MA 02110-1301, USA. +*/ + +#ifndef __CONFIG_DEVKIT3250_H__ +#define __CONFIG_DEVKIT3250_H__ + +/* SoC and board defines */ +#include <asm/sizes.h> +#include <asm/arch/cpu.h> + +/* +* Define DevKit3250 machine type by hand until it lands in mach-types +*/ +#define MACH_TYPE_DEVKIT3250 3697 +#define CONFIG_MACH_TYPE MACH_TYPE_DEVKIT3250 + +#define CONFIG_SYS_ICACHE_OFF +#define CONFIG_SYS_DCACHE_OFF +#define CONFIG_SKIP_LOWLEVEL_INIT +#define CONFIG_BOARD_EARLY_INIT_F + +/* +* Memory configurations +*/ +#define CONFIG_NR_DRAM_BANKS 1 +#define CONFIG_STACKSIZE SZ_32K +#define CONFIG_SYS_MALLOC_LEN SZ_1M +#define CONFIG_SYS_GBL_DATA_SIZE 128 +#define CONFIG_SYS_SDRAM_BASE EMC_DYCS0_BASE +#define CONFIG_SYS_SDRAM_SIZE SZ_64M +#define CONFIG_SYS_MEMTEST_START CONFIG_SYS_SDRAM_BASE +#define CONFIG_SYS_MEMTEST_END (CONFIG_SYS_TEXT_BASE - SZ_1M) + +#define CONFIG_SYS_TEXT_BASE 0x82FA0000 +#define CONFIG_SYS_LOAD_ADDR (CONFIG_SYS_MEMTEST_START + SZ_32K) + +#define CONFIG_SYS_INIT_RAM_SIZE SZ_4K +#define CONFIG_SYS_GBL_DATA_OFFSET (CONFIG_SYS_SDRAM_BASE + \ + CONFIG_SYS_INIT_RAM_SIZE - \ + GENERATED_GBL_DATA_SIZE) +#define CONFIG_SYS_INIT_SP_ADDR CONFIG_SYS_GBL_DATA_OFFSET + +/* +* Serial Driver +*/ +#define CONFIG_SYS_LPC32XX_UART 5/* UART5 */ +#define CONFIG_BAUDRATE 115200 + +/* +* NOR Flash +*/ +#define CONFIG_CMD_FLASH +#define CONFIG_SYS_MAX_FLASH_BANKS 1 +#define CONFIG_SYS_MAX_FLASH_SECT 71 +#define CONFIG_SYS_FLASH_BASE EMC_CS0_BASE +#define CONFIG_SYS_FLASH_SIZE SZ_4M +#define CONFIG_SYS_FLASH_CFI + +/* +* U-Boot General Configurations +*/ +#define CONFIG_SYS_LONGHELP +#define CONFIG_SYS_PROMPT "=> " +#define CONFIG_SYS_CBSIZE 1024/* Console I/O buffer size */ +#define CONFIG_SYS_PBSIZE \ + (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16) +#define CONFIG_SYS_MAXARGS 16 +#define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE + +#define CONFIG_AUTO_COMPLETE +#define CONFIG_CMDLINE_EDITING +#define CONFIG_VERSION_VARIABLE +#define CONFIG_DISPLAY_CPUINFO +#define CONFIG_DOS_PARTITION + +#define CONFIG_ENV_IS_NOWHERE +#define CONFIG_ENV_SIZE SZ_128K +#define CONFIG_ENV_ADDR 0x80000100 + +/* +* U-Boot Commands +*/ +#include <config_cmd_default.h> +#define CONFIG_CMD_CACHE + +/* +* Boot Linux +*/ +#define CONFIG_CMDLINE_TAG +#define CONFIG_SETUP_MEMORY_TAGS +#define CONFIG_ZERO_BOOTDELAY_CHECK +#define CONFIG_BOOTDELAY 3 + +#define CONFIG_BOOTFILE "uImage" +#define CONFIG_BOOTARGS "console=ttyS2,115200n8" +#define CONFIG_LOADADDR 0x80008000 + +/* +* SoC specific configuration +*/ +#include <asm/arch/config.h> + +#endif /* __CONFIG_DEVKIT3250_H__*/
Signature · 2 lines
Regards, Igor.
Vladimir Zapolskiy
maintainerPATCH v2 2/3 devkit3250: add Timll DevKit3250 board initial support
Hi Igor,
Quoted 8 lines · Igor Grinberg
Hi Vladimir,
Quoted 5 lines · Vladimir Zapolskiy
This change adds a basic support for Embest/Timll DevKit3250 board, NOR and UART are the only supported peripherals for a moment. The board doesn't require low-level init, because the initial SDRAM and GPIO configuration is performed during kickstart bootloader execution.
Quoted 7 lines
Quoted 4 lines
Signed-off-by Vladimir Zapolskiy<[email protected]>---
Changes from v1 to v2:
* corrected address in GPLv2+ licence header in filesI think you should remove the address part completely, because next time it changes, will you be around to fix it?
I promise I'll be around, that's why I desire to become a maintainer of this board.
Quoted 3 lines
I know that there are many files already with address, but to make a big change it is better to start it from small - say all new coming patches.
Well, my small contribution is verifying address in license header found in new files.
I'd like to invite Wolfgang into discussion to get his opinion about the topic. Well, I do not feel myself as a lawer to allege that removing address info from the license notice is ok. Has it already been discussed in the mailing list?
Quoted 13 lines
Quoted 13 lines
* removed clean and distclean targets from board makefile
* do not set machine id explicitly, ifCONFIG_MACH_TYPEis defined
* minor indentation cleanupsboard/timll/devkit3250/Makefile | 44 +++++++++++++ board/timll/devkit3250/devkit3250.c | 71 ++++++++++++++++++++ boards.cfg | 3 +- include/configs/devkit3250.h | 121 +++++++++++++++++++++++++++++++++++ 4 files changed, 238 insertions(+), 1 deletions(-)create mode 100644 board/timll/devkit3250/Makefile create mode 100644
board/timll/devkit3250/devkit3250.ccreate mode 100644include/configs/devkit3250.h
[snip]
Signature · 2 lines
With best wishes, Vladimir
PATCH v2 2/3 devkit3250: add Timll DevKit3250 board initial support
Quoted 11 lines · Vladimir Zapolskiy
Hi Igor,
Quoted 8 lines · Igor Grinberg
Hi Vladimir,
Quoted 5 lines · Vladimir Zapolskiy
This change adds a basic support for Embest/Timll DevKit3250 board, NOR and UART are the only supported peripherals for a moment. The board doesn't require low-level init, because the initial SDRAM and GPIO configuration is performed during kickstart bootloader execution.
Quoted 8 lines
Quoted 7 lines
Quoted 4 lines
Signed-off-by Vladimir Zapolskiy<[email protected]>---
Changes from v1 to v2:
* corrected address in GPLv2+ licence header in filesI think you should remove the address part completely, because next time it changes, will you be around to fix it?
I promise I'll be around, that's why I desire to become a maintainer of this board.
Nice! Though I don't think you can foresee the future or do you?
Quoted 5 lines
Quoted 4 lines
I know that there are many files already with address, but to make a big change it is better to start it from small - say all new coming patches.
Well, my small contribution is verifying address in license header found in new files.
Thanks, that is fare enough!
I want to make sure you understand, that having the right address in the license statement is not a blocker.
Quoted 2 lines
I'd like to invite Wolfgang into discussion to get his opinion about the topic. Well, I do not feel myself as a lawer to allege that removing address info from the license notice is ok. Has it already been discussed in the mailing list?
Actually, you don't have to be a lawyer to verify if there is a requirement to have the postal address (that changes from time to time) in the license statement. AFAIK, there is no such requirement and the fact that huge amount of files has a wrong postal address just emphasizes this.
What I'm proposing here is a way to spare the effort of changing the postal address in the future. And if no one cares for the right address, then why bother writing it in the source code? To make the source code larger?
And yes of course, I would like to here what Wolfgang has to say about this.
Quoted 17 lines
Quoted 14 lines
Quoted 14 lines
* removed clean and distclean targets from board makefile
* do not set machine id explicitly, ifCONFIG_MACH_TYPEis defined
* minor indentation cleanupsboard/timll/devkit3250/Makefile | 44 +++++++++++++ board/timll/devkit3250/devkit3250.c | 71 ++++++++++++++++++++ boards.cfg | 3 +- include/configs/devkit3250.h | 121 +++++++++++++++++++++++++++++++++++ 4 files changed, 238 insertions(+), 1 deletions(-)create mode 100644 board/timll/devkit3250/Makefile create mode 100644
board/timll/devkit3250/devkit3250.ccreate mode 100644include/configs/devkit3250.h[snip]
Signature · 2 lines
Regards, Igor.
Vladimir Zapolskiy
maintainerPATCH v2 2/3 devkit3250: add Timll DevKit3250 board initial support
Quoted 17 lines · Igor Grinberg
Quoted 16 lines · Vladimir Zapolskiy
Hi Igor,
Quoted 13 lines · Igor Grinberg
Hi Vladimir,
Quoted 9 lines · Vladimir Zapolskiy
This change adds a basic support for Embest/Timll DevKit3250 board, NOR and UART are the only supported peripherals for a moment. The board doesn't require low-level init, because the initial SDRAM and GPIO configuration is performed during kickstart bootloader execution.
Signed-off-by Vladimir Zapolskiy<[email protected]>---
Changes from v1 to v2:
* corrected address in GPLv2+ licence header in files
Quoted 5 lines
Quoted 3 lines
Quoted 2 lines
I think you should remove the address part completely, because next time it changes, will you be around to fix it?
I promise I'll be around, that's why I desire to become a maintainer of this board.
Nice! Though I don't think you can foresee the future or do you?
That's a rhetorical question, wasn't it? :)
Quoted 10 lines
Quoted 5 lines
Quoted 4 lines
I know that there are many files already with address, but to make a big change it is better to start it from small - say all new coming patches.
Well, my small contribution is verifying address in license header found in new files.
Thanks, that is fare enough!
I want to make sure you understand, that having the right address in the license statement is not a blocker.
I hope that Albert being ARM custodian thinks similarly, because for a long time I didn't get any feedback about my change (your comment is the single one given from October 25), and by some reason it is still not integrated...
Quoted 10 lines
Quoted 2 lines
I'd like to invite Wolfgang into discussion to get his opinion about the topic. Well, I do not feel myself as a lawer to allege that removing address info from the license notice is ok. Has it already been discussed in the mailing list?
Actually, you don't have to be a lawyer to verify if there is a requirement to have the postal address (that changes from time to time) in the license statement. AFAIK, there is no such requirement and the fact that huge amount of files has a wrong postal address just emphasizes this.
Quoted 7 lines
What I'm proposing here is a way to spare the effort of changing the postal address in the future. And if no one cares for the right address, then why bother writing it in the source code? To make the source code larger?
And yes of course, I would like to here what Wolfgang has to say about this.
Actually this topic might be discussed in a separate mail thread.
Quoted 18 lines
Quoted 17 lines
Quoted 14 lines
Quoted 14 lines
* removed clean and distclean targets from board makefile
* do not set machine id explicitly, ifCONFIG_MACH_TYPEis defined
* minor indentation cleanupsboard/timll/devkit3250/Makefile | 44 +++++++++++++ board/timll/devkit3250/devkit3250.c | 71 ++++++++++++++++++++ boards.cfg | 3 +- include/configs/devkit3250.h | 121 +++++++++++++++++++++++++++++++++++ 4 files changed, 238 insertions(+), 1 deletions(-)create mode 100644 board/timll/devkit3250/Makefile create mode 100644
board/timll/devkit3250/devkit3250.ccreate mode 100644include/configs/devkit3250.h[snip]
Signature · 2 lines
With best wishes, Vladimir
Vladimir Zapolskiy
maintainerPATCH 3/3 devkit3250: add DevKit3250 board maintainer
In reply to Vladimir ZapolskiyAdd myself as a board maintainer in U-boot.
--- MAINTAINERS | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
MAINTAINERS +4 -0
@@ -901,6 +901,10 @@ Sughosh Ganu <[email protected]> hawkboard ARM926EJS (OMAP-L138) +Vladimir Zapolskiy <[email protected]> + + devkit3250 lpc32xx + ------------------------------------------------------------------------- Unknown / orphaned boards:
Signature · 1 line
1.7.5.4
Vladimir Zapolskiy
maintainercover devkit3250: add Timll DevKit3250 board initial support
In reply to Vladimir ZapolskiyHello Albert,
I kindly ask you to pick up these changes based on u-boot-arm/next.
Thank you very much in advance.
Quoted 46 lines · Vladimir Zapolskiy
This patchset adds generic NXP LPC32XX SoC support and basic support for Embest/Timll DevKit3250 board, which powered by this SoC.
The patchset is done on top of u-boot-arm/next branch.
Vladimir Zapolskiy (3):
arm926ejs: add NXP LPC32x0 cpu series support
devkit3250: add Timll DevKit3250 board initial support
devkit3250: add DevKit3250 board maintainerMAINTAINERS | 4 + arch/arm/cpu/arm926ejs/lpc32xx/Makefile | 45 +++++++ arch/arm/cpu/arm926ejs/lpc32xx/clkpwr.c | 118 ++++++++++++++++++ arch/arm/cpu/arm926ejs/lpc32xx/cpu.c | 58 +++++++++ arch/arm/cpu/arm926ejs/lpc32xx/devices.c | 47 +++++++ arch/arm/cpu/arm926ejs/lpc32xx/timer.c | 94 ++++++++++++++ arch/arm/include/asm/arch-lpc32xx/clk.h | 163 +++++++++++++++++++++++++ arch/arm/include/asm/arch-lpc32xx/config.h | 59 +++++++++ arch/arm/include/asm/arch-lpc32xx/cpu.h | 64 ++++++++++ arch/arm/include/asm/arch-lpc32xx/emc.h | 92 ++++++++++++++ arch/arm/include/asm/arch-lpc32xx/sys_proto.h | 25 ++++ arch/arm/include/asm/arch-lpc32xx/timer.h | 74 +++++++++++ arch/arm/include/asm/arch-lpc32xx/uart.h | 54 ++++++++ arch/arm/include/asm/arch-lpc32xx/wdt.h | 51 ++++++++ board/timll/devkit3250/Makefile | 44 +++++++ board/timll/devkit3250/devkit3250.c | 71 +++++++++++ boards.cfg | 3 +- include/configs/devkit3250.h | 121 ++++++++++++++++++ 18 files changed, 1186 insertions(+), 1 deletions(-)create mode 100644
arch/arm/cpu/arm926ejs/lpc32xx/Makefilecreate mode 100644arch/arm/cpu/arm926ejs/lpc32xx/clkpwr.ccreate mode 100644arch/arm/cpu/arm926ejs/lpc32xx/cpu.ccreate mode 100644arch/arm/cpu/arm926ejs/lpc32xx/devices.ccreate mode 100644arch/arm/cpu/arm926ejs/lpc32xx/timer.ccreate mode 100644arch/arm/include/asm/arch-lpc32xx/clk.hcreate mode 100644arch/arm/include/asm/arch-lpc32xx/config.hcreate mode 100644arch/arm/include/asm/arch-lpc32xx/cpu.hcreate mode 100644arch/arm/include/asm/arch-lpc32xx/emc.hcreate mode 100644arch/arm/include/asm/arch-lpc32xx/sys_proto.hcreate mode 100644arch/arm/include/asm/arch-lpc32xx/timer.hcreate mode 100644arch/arm/include/asm/arch-lpc32xx/uart.hcreate mode 100644arch/arm/include/asm/arch-lpc32xx/wdt.hcreate mode 100644 board/timll/devkit3250/Makefile create mode 100644board/timll/devkit3250/devkit3250.ccreate mode 100644include/configs/devkit3250.h
Signature · 2 lines
With best wishes, Vladimir