Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
U
u-boot-stm32
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Sami Nurmenniemi
u-boot-stm32
Commits
673cd1ef
Commit
673cd1ef
authored
May 13, 2015
by
Vladimir Khusainov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
RT109899: Cosmetic changes to U-Boot for EA LPC4357 Dev Kit
parent
662f04ea
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
12 deletions
+14
-12
board/nxp/ea-lpc4357/board.c
board/nxp/ea-lpc4357/board.c
+4
-3
include/configs/ea-lpc4357.h
include/configs/ea-lpc4357.h
+10
-9
No files found.
board/nxp/ea-lpc4357/board.c
View file @
673cd1ef
/*
* (C) Copyright 2012
, 2013
* (C) Copyright 2012
-2015
*
* Alexander Potashev, Emcraft Systems, aspotashev@emcraft.com
* Pavel Boldin, Emcraft Systems, paboldin@emcraft.com
* Vladimir Khusainov, Emcraft Systems, vlad@emcraft.com
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
...
...
@@ -21,7 +22,7 @@
*/
/*
* Board specific code for the Embedded Artists LPC4357
OEM board
* Board specific code for the Embedded Artists LPC4357
Dev Kit
*/
#include <common.h>
...
...
@@ -632,7 +633,7 @@ int board_init(void)
*/
int
checkboard
(
void
)
{
printf
(
"Board: Embedded Artists LPC4357
OEM rev
%s
\n
"
,
printf
(
"Board: Embedded Artists LPC4357
Dev Kit
%s
\n
"
,
CONFIG_SYS_BOARD_REV_STR
);
return
0
;
...
...
include/configs/ea-lpc4357.h
View file @
673cd1ef
/*
* (C) Copyright 2012
, 2013
* (C) Copyright 2012
-2015
*
* Alexander Potashev, Emcraft Systems, aspotashev@emcraft.com
* Pavel Boldin, Emcraft Systems, paboldin@emcraft.com
* Vladimir Khusainov, Emcraft Systems, vlad@emcraft.com
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
...
...
@@ -21,7 +22,7 @@
*/
/*
* Configuration settings for the
Hitex LPC4350 Eval board.
* Configuration settings for the
Embedded Artists LPC4357 Dev Kit
*/
#ifndef __CONFIG_H
...
...
@@ -51,7 +52,7 @@
#define CONFIG_SYS_LPC18XX
/*
* Except it ha
ve
eNVM
* Except it ha
s
eNVM
*/
#define CONFIG_LPC43XX_ENVM
...
...
@@ -77,12 +78,12 @@
#define CONFIG_DISPLAY_CPUINFO 1
#define CONFIG_DISPLAY_BOARDINFO 1
#define CONFIG_SYS_BOARD_REV_STR "1"
#define CONFIG_SYS_BOARD_REV_STR "
Rev
1"
/*
* Monitor prompt
*/
#define CONFIG_SYS_PROMPT "EA-LPC4357
-EVAL
> "
#define CONFIG_SYS_PROMPT "EA-LPC4357> "
/*
* We want to call the CPU specific initialization
...
...
@@ -96,8 +97,7 @@
/*
* Clock configuration (see cpu/arm_cortexm3/lpc18xx/clock.c for details)
*/
/*
* ...
* This should be setup to the board specific rate for the external oscillator
*/
#define CONFIG_LPC18XX_EXTOSC_RATE 12000000
...
...
@@ -132,6 +132,7 @@
/*
* Memory layout configuration
*/
/*
* Internal flash on the NXP LPC4357 MCU. There are two banks.
*/
...
...
@@ -384,7 +385,7 @@
"ethaddr=C0:B1:3C:88:78:93\0" \
"ipaddr=172.17.4.215\0" \
"serverip=172.17.0.1\0" \
"image=lpc
18xx/
uImage\0" \
"image=lpc
4357.
uImage\0" \
"netboot=tftp ${image};run args addip;bootm\0" \
"update=tftp ${image};" \
"prot off ${flashaddr} +${filesize};" \
...
...
@@ -392,7 +393,7 @@
"cp.b ${loadaddr} ${flashaddr} ${filesize}\0" \
"uboot_image=u-boot.bin\0" \
"uboot_update=tftp ${uboot_image};" \
"cptf 1A000000 ${loadaddr} ${filesize}\0"
"cptf 1A000000 ${loadaddr} ${filesize}
1
\0"
/*
* Linux kernel boot parameters configuration
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment