| #
90aa625c |
| 16-Sep-2017 |
Masahiro Yamada <yamada.masahiro@socionext.com> |
treewide: replace with error() with pr_err()
U-Boot widely uses error() as a bit noisier variant of printf().
This macro causes name conflict with the following line in include/linux/compiler-gcc.h
treewide: replace with error() with pr_err()
U-Boot widely uses error() as a bit noisier variant of printf().
This macro causes name conflict with the following line in include/linux/compiler-gcc.h:
# define __compiletime_error(message) __attribute__((error(message)))
This prevents us from using __compiletime_error(), and makes it difficult to fully sync BUILD_BUG macros with Linux. (Notice Linux's BUILD_BUG_ON_MSG is implemented by using compiletime_assert().)
Let's convert error() into now treewide-available pr_err().
Done with the help of Coccinelle, excluing tools/ directory.
The semantic patch I used is as follows:
// <smpl> @@@@ -error +pr_err (...) // </smpl>
Change-Id: I921807c1770d36a91e692c48ab477558bb2ed0b8 Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Simon Glass <sjg@chromium.org> [trini: Re-run Coccinelle] Signed-off-by: Tom Rini <trini@konsulko.com> Signed-off-by: Kever Yang <kever.yang@rock-chips.com> (cherry picked from commit 9b643e312d528f291966c1f30b0d90bf3b1d43dc)
show more ...
|
| #
81d0128d |
| 18-Jul-2017 |
Patrice Chotard <patrice.chotard@st.com> |
clk: stm32f7: remove clock_get()
All drivers which was using clock_get() are now using clk_get_rate() from clock framework, now it's safe to remove clock_get().
Signed-off-by: Patrice Chotard <patr
clk: stm32f7: remove clock_get()
All drivers which was using clock_get() are now using clk_get_rate() from clock framework, now it's safe to remove clock_get().
Signed-off-by: Patrice Chotard <patrice.chotard@st.com> Acked-by: Vikas MANOCHA <vikas.manocha@st.com>
show more ...
|
| #
b9e86511 |
| 18-Jul-2017 |
Patrice Chotard <patrice.chotard@st.com> |
clk: stm32f7: cleanup clocks unused definitions
clean the code by removing unused enums, structs and defines related to clocks
Signed-off-by: Patrice Chotard <patrice.chotard@st.com> Acked-by: Vika
clk: stm32f7: cleanup clocks unused definitions
clean the code by removing unused enums, structs and defines related to clocks
Signed-off-by: Patrice Chotard <patrice.chotard@st.com> Acked-by: Vikas MANOCHA <vikas.manocha@st.com>
show more ...
|
| #
288f17e6 |
| 18-Jul-2017 |
Patrice Chotard <patrice.chotard@st.com> |
clk: stm32f7: add clock .get_rate() callback
Add clock framework .get_rate callback. This step will allow to convert all drivers which was using proprietary clock_get() to use clock framework .get_r
clk: stm32f7: add clock .get_rate() callback
Add clock framework .get_rate callback. This step will allow to convert all drivers which was using proprietary clock_get() to use clock framework .get_rate().
Signed-off-by: Patrice Chotard <patrice.chotard@st.com> Acked-by: Vikas MANOCHA <vikas.manocha@st.com>
show more ...
|
| #
199a2178 |
| 18-Jul-2017 |
Patrice Chotard <patrice.chotard@st.com> |
clk: stm32f7: get RCC base address from DT
Retrieve RCC base address from DT, this will prepare the ground for future STM32 SoCs support.
Signed-off-by: Patrice Chotard <patrice.chotard@st.com> Ack
clk: stm32f7: get RCC base address from DT
Retrieve RCC base address from DT, this will prepare the ground for future STM32 SoCs support.
Signed-off-by: Patrice Chotard <patrice.chotard@st.com> Acked-by: Vikas MANOCHA <vikas.manocha@st.com>
show more ...
|
| #
704e954c |
| 18-Jul-2017 |
Patrice Chotard <patrice.chotard@st.com> |
clk: stm32f7: add static for configure_clocks()
Also remove its declaration from stm32.h which is no more needed.
Signed-off-by: Patrice Chotard <patrice.chotard@st.com> Acked-by: Vikas MANOCHA <vi
clk: stm32f7: add static for configure_clocks()
Also remove its declaration from stm32.h which is no more needed.
Signed-off-by: Patrice Chotard <patrice.chotard@st.com> Acked-by: Vikas MANOCHA <vikas.manocha@st.com>
show more ...
|
| #
a4e0ef50 |
| 19-May-2017 |
Simon Glass <sjg@chromium.org> |
clk: Modify xlate() method for livetree
Update the xlate() method to use ofnode_phandle_args instead of the fdtdec variant. This will allow drivers to support a live device tree.
Signed-off-by: Sim
clk: Modify xlate() method for livetree
Update the xlate() method to use ofnode_phandle_args instead of the fdtdec variant. This will allow drivers to support a live device tree.
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>
|
| #
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 ...
|
| #
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 ...
|
| #
712f99a5 |
| 12-Feb-2017 |
Vikas Manocha <vikas.manocha@st.com> |
clk: stm32f7: add clock driver for stm32f7 family
add basic clock driver support for stm32f7 to enable clocks required by the peripherals.
Signed-off-by: Vikas Manocha <vikas.manocha@st.com> Review
clk: stm32f7: add clock driver for stm32f7 family
add basic clock driver support for stm32f7 to enable clocks required by the peripherals.
Signed-off-by: Vikas Manocha <vikas.manocha@st.com> Reviewed-by: Simon Glass <sjg@chromium.org>
show more ...
|