env: Rename getenv/_f() to env_get()We are now using an env_ prefix for environment functions. Rename thesetwo functions for consistency. Also add function comments in common.h.Quite a few place
env: Rename getenv/_f() to env_get()We are now using an env_ prefix for environment functions. Rename thesetwo functions for consistency. Also add function comments in common.h.Quite a few places use getenv() in a condition context, provoking awarning from checkpatch. These are fixed up in this patch also.Suggested-by: Wolfgang Denk <wd@denx.de>Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
env: Rename setenv() to env_set()We are now using an env_ prefix for environment functions. Rename setenv()for consistency. Also add function comments in common.h.Suggested-by: Wolfgang Denk <wd
env: Rename setenv() to env_set()We are now using an env_ prefix for environment functions. Rename setenv()for consistency. Also add function comments in common.h.Suggested-by: Wolfgang Denk <wd@denx.de>Signed-off-by: Simon Glass <sjg@chromium.org>
dm: Use dm.h header when driver mode is usedThis header includes things that are needed to make driver build. Adjustexisting users to include that always, even if other dm/ includes arepresentS
dm: Use dm.h header when driver mode is usedThis header includes things that are needed to make driver build. Adjustexisting users to include that always, even if other dm/ includes arepresentSigned-off-by: Simon Glass <sjg@chromium.org>
gpio: stm32_gpio: move clock config from driver to boardThis patch removes the gpio clock enable from gpio driver & move it in theboard code, making it possible to use the gpio driver with other s
gpio: stm32_gpio: move clock config from driver to boardThis patch removes the gpio clock enable from gpio driver & move it in theboard code, making it possible to use the gpio driver with other socs.Signed-off-by: Vikas Manocha <vikas.manocha@st.com>
serial: serial_stm32: move clock config from driver to boardThis patch removes the uart clock enable from serial driver & move it in theboard code.Signed-off-by: Vikas Manocha <vikas.manocha@st.
serial: serial_stm32: move clock config from driver to boardThis patch removes the uart clock enable from serial driver & move it in theboard code.Signed-off-by: Vikas Manocha <vikas.manocha@st.com>Reviewed-by: Simon Glass <sjg@chromium.org>
stm32: Convert serial driver to DMSigned-off-by: Kamil Lulko <kamil.lulko@gmail.com>Cc: Simon Glass <sjg@chromium.org>Reviewed-by: Simon Glass <sjg@chromium.org>
Change e-mail address of Kamil LulkoSigned-off-by: Kamil Lulko <kamil.lulko@gmail.com>
stm32f429: pass the device unique ID in DTBRead device unique ID and set environment variable "serial#".Value would then be passed to kernel through DTB.To read ID from DTB, kernel is required t
stm32f429: pass the device unique ID in DTBRead device unique ID and set environment variable "serial#".Value would then be passed to kernel through DTB.To read ID from DTB, kernel is required to have commit:3f599875e5202986b350618a617527ab441bf206 (ARM: 8355/1: arch: Showthe serial number from devicetree in cpuinfo)This commit is already mainline since v4.1-rc1.Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>To: Albert Aribaud <albert.u.boot@aribaud.net>To: Tom Rini <trini@konsulko.com>To: Kamil Lulko <rev13@wp.pl>Cc: u-boot@lists.denx.de
stm32f4: fix MAINTAINERS fileWhen "scripts/get_maintainer.pl" parses "board/.../MAINTAINERS",it uses the line containing board name as delimiter.Without this line, the script happily mixes the li
stm32f4: fix MAINTAINERS fileWhen "scripts/get_maintainer.pl" parses "board/.../MAINTAINERS",it uses the line containing board name as delimiter.Without this line, the script happily mixes the lines from currentboard MAINTAINERS file with lines from another file.Fix it by adding a reasonable board name.Tested by comparing output of: cat board/st/stm32f429-discovery/MAINTAINERS ./scripts/get_maintainer.pl -f board/st/stm32f429-discoverySigned-off-by: Antonio Borneo <borneo.antonio@gmail.com>To: u-boot@lists.denx.deTo: Kamil Lulko <rev13@wp.pl>Cc: Tom Rini <trini@konsulko.com>
stm32f4: add serial print portAdd the stm32F4 board's serial ports support.User can use it easily.The user only need to edit the number of the usart.The patch also fix the serial print out.Las
stm32f4: add serial print portAdd the stm32F4 board's serial ports support.User can use it easily.The user only need to edit the number of the usart.The patch also fix the serial print out.Last, this version of patch fix the first patch checkpatch.pl error.Thanks to Kamil Lulko.Signed-off-by: kunhuahuang <huangkunhua@gmail.com>
stm32f4: Add support for stm32f429-discovery boardSigned-off-by: Kamil Lulko <rev13@wp.pl>Reviewed-by: Tom Rini <trini@konsulko.com>