| #
9242ece1 |
| 18-Jul-2017 |
Patrice Chotard <patrice.chotard@st.com> |
ram: stm32: migrate fmc defines in driver file
Migrate all FMC defines from arch/arm/include/asm/arch-stm32f7/fmc.h to drivers/ram/stm32_sdram.c
This will avoid to add an additionnal arch-stm32xx/f
ram: stm32: migrate fmc defines in driver file
Migrate all FMC defines from arch/arm/include/asm/arch-stm32f7/fmc.h to drivers/ram/stm32_sdram.c
This will avoid to add an additionnal arch-stm32xx/fmc.h file when a new stm32 family soc will be introduced.
Signed-off-by: Patrice Chotard <patrice.chotard@st.com> Reviewed-by: Vikas Manocha <vikas.manocha@st.com> Reviewed-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
122b2d47 |
| 18-Jul-2017 |
Patrice Chotard <patrice.chotard@st.com> |
serial: stm32x7: migrate serial struct to driver
This allow to remove include/dm/platform_data/serial_stm32x7.h which was included in the past by stm32x7 driver and by stm32f746-disco.c board file.
serial: stm32x7: migrate serial struct to driver
This allow to remove include/dm/platform_data/serial_stm32x7.h which was included in the past by stm32x7 driver and by stm32f746-disco.c board file. Since patch 42bf5e7c27 "serial: stm32f7: add device tree support" this file is no more needed in board file.
Signed-off-by: Patrice Chotard <patrice.chotard@st.com> Acked-by: Vikas MANOCHA <vikas.manocha@st.com>
show more ...
|
| #
1a73bd84 |
| 28-May-2017 |
Vikas Manocha <vikas.manocha@st.com> |
spl: stm32f7: configure for xip booting
With xip booting configuration, we don't need to copy the next image (U-Boot or linux xipimage) from flash to sdram area.
Flash memory organization is like t
spl: stm32f7: configure for xip booting
With xip booting configuration, we don't need to copy the next image (U-Boot or linux xipimage) from flash to sdram area.
Flash memory organization is like this: spl-U-Boot: u-boot-spl.bin : 0x0800_0000 U-Boot : u-boot-dtb.bin : 0x0800_8000 linux : xipImage : 0x0800_8000
It is also possible to have U-Boot binary & linux binaries configured at different addresses of flash memory like U-Boot at 0x0800_8000 & linux xipImage at 0x0800_4000. But in any case, spl-U-Boot needs to be compiled for U-Boot as next binary with SPL_OS_BOOT option disabled. By default, spl is configured to boot linux xipImage.
Signed-off-by: Vikas Manocha <vikas.manocha@st.com>
show more ...
|
| #
55a3ef71 |
| 28-May-2017 |
Vikas Manocha <vikas.manocha@st.com> |
spl: stm32f7: add kernel boot support
Signed-off-by: Vikas Manocha <vikas.manocha@st.com>
|
| #
b9747696 |
| 28-May-2017 |
Vikas Manocha <vikas.manocha@st.com> |
stm32: stm32f7: add spl build support
This commit supports booting from stm32 internal nor flash. spl U-Boot initializes the sdram memory, copies next image (e.g. standard U-Boot) to sdram & then ju
stm32: stm32f7: add spl build support
This commit supports booting from stm32 internal nor flash. spl U-Boot initializes the sdram memory, copies next image (e.g. standard U-Boot) to sdram & then jumps to entry point.
Here are the flash memory addresses for U-Boot-spl & standard U-Boot: - spl U-Boot : 0x0800_0000 - standard U-Boot : 0x0800_8000
To compile u-boot without spl: Remove SUPPORT_SPL configuration (arch/arm/mach-stm32/Kconfig)
Signed-off-by: Vikas Manocha <vikas.manocha@st.com> [trini: Rework Kconfig logic a bit] Signed-off-by: Tom Rini <trini@konsulko.com>
show more ...
|
| #
150c5afe |
| 31-May-2017 |
Simon Glass <sjg@chromium.org> |
dm: gpio: Add live tree support
Add support for requesting GPIOs with a live device tree.
This involves adjusting the function signature for the legacy function gpio_request_by_name_nodev(), so fix
dm: gpio: Add live tree support
Add support for requesting GPIOs with a live device tree.
This involves adjusting the function signature for the legacy function gpio_request_by_name_nodev(), so fix up all callers.
Signed-off-by: Simon Glass <sjg@chromium.org> Fixes to stm32f746-disco.c: Signed-off-by: Tom Rini <trini@konsulko.com>
show more ...
|
| #
9d922450 |
| 17-May-2017 |
Simon Glass <sjg@chromium.org> |
dm: Use dm.h header when driver mode is used
This header includes things that are needed to make driver build. Adjust existing users to include that always, even if other dm/ includes are present
S
dm: Use dm.h header when driver mode is used
This header includes things that are needed to make driver build. Adjust existing users to include that always, even if other dm/ includes are present
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
4f66e09b |
| 09-May-2017 |
Stefano Babic <sbabic@denx.de> |
Merge branch 'master' of git://git.denx.de/u-boot
Signed-off-by: Stefano Babic <sbabic@denx.de>
|
| #
57af3cc3 |
| 10-Apr-2017 |
Vikas Manocha <vikas.manocha@st.com> |
stm32f7: stm32f746-disco: read memory info from device tree
Signed-off-by: Vikas Manocha <vikas.manocha@st.com> cc: Christophe KERELLO <christophe.kerello@st.com>
|
| #
2f80a9f7 |
| 10-Apr-2017 |
Vikas Manocha <vikas.manocha@st.com> |
stm32f746: to switch on user LED1 & read user button
All discovery boards have one user button & one user LED. Here we are just reading the button status & switching ON the user LED.
Signed-off-by:
stm32f746: to switch on user LED1 & read user button
All discovery boards have one user button & one user LED. Here we are just reading the button status & switching ON the user LED.
Signed-off-by: Vikas Manocha <vikas.manocha@st.com> cc: Christophe KERELLO <christophe.kerello@st.com>
show more ...
|
| #
280057bd |
| 10-Apr-2017 |
Vikas Manocha <vikas.manocha@st.com> |
stm32f7: use stm32f7 gpio driver supporting driver model
With this gpio driver supporting DM, there is no need to enable clocks for different gpios (for pin muxing) in the board specific code.
Need
stm32f7: use stm32f7 gpio driver supporting driver model
With this gpio driver supporting DM, there is no need to enable clocks for different gpios (for pin muxing) in the board specific code.
Need to increase the allocatable area required before relocation from 0x400 to 0xC00 becuase of 10 new gpio devices(& new gpio class) added in device tree.
Signed-off-by: Vikas Manocha <vikas.manocha@st.com> cc: Christophe KERELLO <christophe.kerello@st.com> Reviewed-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
d0b24c1a |
| 10-Apr-2017 |
Vikas Manocha <vikas.manocha@st.com> |
stm32f7: use clock driver to enable sdram controller clock
This patch also removes the sdram/fmc clock enable from board specific code.
Signed-off-by: Vikas Manocha <vikas.manocha@st.com> cc: Chris
stm32f7: use clock driver to enable sdram controller clock
This patch also removes the sdram/fmc clock enable from board specific code.
Signed-off-by: Vikas Manocha <vikas.manocha@st.com> cc: Christophe KERELLO <christophe.kerello@st.com>
show more ...
|
| #
2d9c33ca |
| 10-Apr-2017 |
Vikas Manocha <vikas.manocha@st.com> |
stm32f7: use driver model for sdram initialization
As driver model takes care of pin control configuraion, this patch also removes the sdram/fmc pin configuration.
Signed-off-by: Vikas Manocha <vik
stm32f7: use driver model for sdram initialization
As driver model takes care of pin control configuraion, this patch also removes the sdram/fmc pin configuration.
Signed-off-by: Vikas Manocha <vikas.manocha@st.com> cc: Christophe KERELLO <christophe.kerello@st.com>
show more ...
|
| #
bf1ae442 |
| 10-Apr-2017 |
Vikas Manocha <vikas.manocha@st.com> |
stm32f7: sdram: move sdram driver code to ram drivers area
Signed-off-by: Vikas Manocha <vikas.manocha@st.com> cc: Christophe KERELLO <christophe.kerello@st.com>
|
| #
e245f1a5 |
| 12-Feb-2017 |
Vikas Manocha <vikas.manocha@st.com> |
ARM: DT: stm32f7: add qspi pin contol node
It also removes the qspi pin configuration done during the board initialization.
Signed-off-by: Vikas Manocha <vikas.manocha@st.com>
|
| #
c428a958 |
| 12-Feb-2017 |
Vikas Manocha <vikas.manocha@st.com> |
ARM: DT: stm32f7: add ethernet pin contol node
It also removes the ethernet pin configuration done during the board initialization.
Signed-off-by: Vikas Manocha <vikas.manocha@st.com>
|
| #
e34e19fe |
| 12-Feb-2017 |
Vikas Manocha <vikas.manocha@st.com> |
ARM: DT: stm32f7: add pin control node for serial port pins
And remove the uart pin configuration from board initialization.
Signed-off-by: Vikas Manocha <vikas.manocha@st.com>
|
| #
b5be8f5e |
| 12-Feb-2017 |
Vikas Manocha <vikas.manocha@st.com> |
stm32f7: clk: remove usart1 clock enable from board init
Before clock driver availability it was required to enable usart1 clock for serial init but now with clock driver is taking care of usart1 cl
stm32f7: clk: remove usart1 clock enable from board init
Before clock driver availability it was required to enable usart1 clock for serial init but now with clock driver is taking care of usart1 clock.
Signed-off-by: Vikas Manocha <vikas.manocha@st.com>
show more ...
|
| #
42bf5e7c |
| 12-Feb-2017 |
Vikas Manocha <vikas.manocha@st.com> |
serial: stm32f7: add device tree support
This patch adds device tree support for stm32f7 serial driver & removes serial platform data structure.
Signed-off-by: Vikas Manocha <vikas.manocha@st.com>
serial: stm32f7: add device tree support
This patch adds device tree support for stm32f7 serial driver & removes serial platform data structure.
Signed-off-by: Vikas Manocha <vikas.manocha@st.com> Reviewed-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
d4363baa |
| 22-Jan-2017 |
Michael Kurz <michi.kurz@gmail.com> |
ARM: SPI: stm32: add stm32f746 qspi driver
This patch adds support for the QSPI IP found in stm32f7 devices.
Signed-off-by: Michael Kurz <michi.kurz@gmail.com>
|
| #
b20b70fc |
| 22-Jan-2017 |
Michael Kurz <michi.kurz@gmail.com> |
net: stm32: add designware mac glue code for stm32
This patch adds glue code required for enabling the designware mac on stm32f7 devices.
Signed-off-by: Michael Kurz <michi.kurz@gmail.com> Acked-by
net: stm32: add designware mac glue code for stm32
This patch adds glue code required for enabling the designware mac on stm32f7 devices.
Signed-off-by: Michael Kurz <michi.kurz@gmail.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
show more ...
|
| #
081de09d |
| 22-Jan-2017 |
Michael Kurz <michi.kurz@gmail.com> |
ARM: stm32: use clock setup function defined in clock.c
Use the clock setup function defined in clock.c instead of setting the clock bits directly in the drivers. Remove register definitions of RCC
ARM: stm32: use clock setup function defined in clock.c
Use the clock setup function defined in clock.c instead of setting the clock bits directly in the drivers. Remove register definitions of RCC in rcc.h as these are already defined in the struct in stm32.h
Signed-off-by: Michael Kurz <michi.kurz@gmail.com> Reviewed-by: Joe Hershberger <joe.hershberger@ni.com> Reviewed-by: Vikas Manocha <vikas.manocha@st.com>
show more ...
|
| #
bad5188b |
| 22-Jan-2017 |
Michael Kurz <michi.kurz@gmail.com> |
ARM: stm32: cleanup stm32f7 files
Cleanup stm32f7 files: - use BIT macro - use GENMASK macro - use rcc struct instead of macro additions
Add missing stm32f7 register in rcc struct
Signed-off-by: M
ARM: stm32: cleanup stm32f7 files
Cleanup stm32f7 files: - use BIT macro - use GENMASK macro - use rcc struct instead of macro additions
Add missing stm32f7 register in rcc struct
Signed-off-by: Michael Kurz <michi.kurz@gmail.com> Acked-by: Vikas MANOCHA<vikas.manocha@st.com>
show more ...
|
| #
95d52733 |
| 21-Jul-2016 |
Tom Rini <trini@konsulko.com> |
Revert "stm32: Change USART port to USART6 for stm32f746 discovery board"
Per Vikas' request, the problem this commit is supposed to be solving is something he doesn't see and further this introduce
Revert "stm32: Change USART port to USART6 for stm32f746 discovery board"
Per Vikas' request, the problem this commit is supposed to be solving is something he doesn't see and further this introduces additional hardware requirements.
This reverts commit 4b2fd720a7b2f78c42d1565edf4c67f378c65440.
Signed-off-by: Tom Rini <trini@konsulko.com>
show more ...
|
| #
4b2fd720 |
| 07-Jul-2016 |
Toshifumi NISHINAGA <tnishinaga.dev@gmail.com> |
stm32: Change USART port to USART6 for stm32f746 discovery board
This change is to remove a halt at about 200KiB while sending a large(1MiB) binary to a micro controller using USART1. USART1 is conn
stm32: Change USART port to USART6 for stm32f746 discovery board
This change is to remove a halt at about 200KiB while sending a large(1MiB) binary to a micro controller using USART1. USART1 is connected to a PC via an on-board ST-Link debugger that also functions as a USB-Serial converter. However, it seems to loss some data occasionally. So I changed the serial port to USART6 and connected it to the PC using an FTDI USB-Serial cable, therefore the transmission was successfully completed.
Signed-off-by: Toshifumi NISHINAGA <tnishinaga.dev@gmail.com>
show more ...
|