- 02 Dec, 2011 3 commits
-
-
Sergei Poselenov authored
-
Sergei Poselenov authored
-
Sergei Poselenov authored
-
- 01 Dec, 2011 2 commits
-
-
Alexander Potashev authored
Put multiline `printf()` calls in curly braces.
-
Alexander Potashev authored
We use IAP commands for writing into eNVM. All code and pre-initialized data that are used during self-upgrade are forced to reside in `.ramcode` and `.data` respectively. Uninitialized data go into `.bss` automatically.
-
- 30 Nov, 2011 1 commit
-
-
Alexander Potashev authored
1. Fixed the algorithm for checking if the transmit buffers are full. 2. Removed unnecessary `udelay()` calls that were kept after copying the code from the LPCware's U-Boot port. 3. Increased the numbers of receive and transmit DMA buffers.
-
- 25 Nov, 2011 3 commits
-
-
Sergei Poselenov authored
-
Alexander Potashev authored
UART0 has id=0 in Linux.
-
Sergei Poselenov authored
The checksum at predefined offset is required for execution of images from the LPC178X eNVM. This patch automates the creation of this checksum, the resulted images are u-boot-lpc.bin and u-boot-lpc.hex.
-
- 24 Nov, 2011 4 commits
-
-
Alexander Potashev authored
This is required for any code execution (including the Linux kernel) in the external RAM on LPC178x/7x.
-
Alexander Potashev authored
* The driver structure is almost the same as in the STM32 Ethernet driver. * The PHY autodetection code was copied from the STM32 Ethernet driver (see `lpc178x_phy_init()`) * The speed/duplex detection logic grabbed from the Linux kernel (see linux/drivers/net/phy/phy_device.c) * The DMA used for Ethernet cannot work with the SoC-internal "System RAM", thus we use the external memory (SDRAM) for DMA descriptors and buffers.
-
Alexander Potashev authored
* ..._BIT definitions used for single bits converted to ..._MSK definitions to remove extra (1 << ...something...) expressions from the code. * Added more definitions of bits that are necessary for the Linux kernel port.
-
Alexander Potashev authored
Convert `struct lpc178x_scc_regs` to the STM32/SmartFusion structure style, i.e. use `rsvN[M]` hole fillers instead of `union`s for alignment.
-
- 22 Nov, 2011 1 commit
-
-
Alexander Potashev authored
The DRAM configuration is the same as in the existing port from LPCware.
-
- 18 Nov, 2011 7 commits
-
-
Alexander Potashev authored
Make clear that `CONFIG_SYS_BOARD_REV_STR` is the revision number.
-
Sergei Poselenov authored
-
Sergei Poselenov authored
-
Sergei Poselenov authored
values. With these settings both our reworked ST-MEM cards works.
-
Alexander Potashev authored
Use internal clock (CPU clock) for the Cortex-M3 systick timer, because the external clock pin (STCLK) cannot be used on this board (it is already used for SDRAM.)
-
Alexander Potashev authored
-
Alexander Potashev authored
Configure GPIO pins for UART. GPIO driver: * lpc178x_gpio_config_table() * lpc178x_gpio_config_direction() * lpc178x_gpout_set() * lpc178x_gpin_get()
-
- 17 Nov, 2011 2 commits
-
-
-
Dmitry Konyshev authored
-
- 14 Nov, 2011 4 commits
-
-
Alexander Potashev authored
-
Dmitry Konyshev authored
This reverts commit 1ddfff86.
-
Alexander Potashev authored
Options that needs to be set in the board configuration file are superfluous, because there is are no lpc178x-specific headers visible to drivers/serial/serial.c where we could place extra (board-independent) options. Power for the UART will be enabled in the new function `cortex_m3_soc_init()`.
-
Sergei Poselenov authored
Also, enabled CONFIG_MISC_INIT_R to set the non-default flash timings.
-
- 11 Nov, 2011 4 commits
-
-
Sergei Poselenov authored
-
Alexander Potashev authored
-
Alexander Potashev authored
-
Alexander Potashev authored
Peripheral clock is used for many devices (UARTs, timers, etc.)
-
- 10 Nov, 2011 5 commits
-
-
Sergei Poselenov authored
for non-STM32 targets.
-
Alexander Potashev authored
-
Dmitry Konyshev authored
-
Alexander Potashev authored
`struct lpc178x_scc_regs` is only used by power- and clock-related code, all this code will be only in clock.c.
-
Alexander Potashev authored
-
- 09 Nov, 2011 2 commits
-
-
Alexander Potashev authored
CPU clock is set up to 108 MHz for now, because the existing port used that frequency and it works for sure. 120 MHz can be easily reached by setting CONFIG_LPC178X_PLL0_M to 10 (instead of 9). SYSTICK timer is already initialized by the common code in `cpu/arm_cortexm3/timer.c`
-
Alexander Potashev authored
* Guard misc_init_r() function with `#ifdef CONFIG_MISC_INIT_R`. * Enable misc_init_r() for this board.
-
- 08 Nov, 2011 1 commit
-
-
Alexander Potashev authored
Stubs for ea-lpc1788 port.
-
- 27 Oct, 2011 1 commit
-
-
Sergei Poselenov authored
- Changed gpio_set() to return 0 on success, -EINVAL otherwise - Made printf() conditional on the serial console initialization (printf() may hang otherwise).
-