Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Sami Nurmenniemi
u-boot-stm32
Commits
a367c585
Commit
a367c585
authored
Nov 10, 2011
by
Alexander Potashev
Browse files
RT73025. ea-lpc1788: this port works only with little-endian
parent
0e64ed14
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/asm-arm/arch-lpc178x/lpc178x.h
View file @
a367c585
...
...
@@ -25,6 +25,19 @@
#ifndef _MACH_LPC178X_H_
#define _MACH_LPC178X_H_
#include <asm/byteorder.h>
/*
* This LPC178X port assumes that the CPU works in little-endian mode.
* Switching to big-endian will require different bit offsets in peripheral
* devices' registers. Also, some bit groups may lay on byte edges, so issue
* with big-endian cannot be fixed only by defining bit offsets differently
* for the big-endian mode.
*/
#ifndef __LITTLE_ENDIAN
#error This LPC178X port assumes that the CPU works in little-endian mode
#endif
/******************************************************************************
* Peripheral memory map
******************************************************************************/
...
...
Write
Preview
Supports
Markdown
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