- Oct 08, 2019
-
-
Michal Simek authored
Setup initrd_high and fdt_high to be placed in lowmem space for kernel to be able to reach it. Values are setup at run time to ensure that the same setting can be used on different memory setup. Do this setting only when variables are not Similar run time detection was done for Zynqmp and Versal. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
This variable is completely unused that's why remove it. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
- Apr 26, 2019
-
-
Stefan Roese authored
This patch tries to implement a generic watchdog_reset() function that can be used by all boards that want to service the watchdog device in U-Boot. This watchdog servicing is enabled via CONFIG_WATCHDOG. Without this approach, new boards or platforms needed to implement a board specific version of this functionality, mostly copy'ing the same code over and over again into their board or platforms code base. With this new generic function, the scattered other functions are now removed to be replaced by the generic one. The new version also enables the configuration of the watchdog timeout via the DT "timeout-sec" property (if enabled via CONFIG_OF_CONTROL). This patch also adds a new flag to the GD flags, to flag that the watchdog is ready to use and adds the pointer to the watchdog device to the GD. This enables us to remove the global "watchdog_dev" variable, which was prone to cause problems because of its potentially very early use in watchdog_reset(), even before the BSS is cleared. Signed-off-by:
Stefan Roese <sr@denx.de> Cc: Heiko Schocher <hs@denx.de> Cc: Tom Rini <trini@konsulko.com> Cc: Michal Simek <michal.simek@xilinx.com> Cc: "Marek Behún" <marek.behun@nic.cz> Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Cc: Maxim Sloyko <maxims@google.com> Cc: Erik van Luijk <evanluijk@interact.nl> Cc: Ryder Lee <ryder.lee@mediatek.com> Cc: Weijie Gao <weijie.gao@mediatek.com> Cc: Simon Glass <sjg@chromium.org> Cc: "Álvaro Fernández Rojas" <noltari@gmail.com> Cc: Philippe Reynes <philippe.reynes@softathome.com> Cc: Christophe Leroy <christophe.leroy@c-s.fr> Reviewed-by:
Michal Simek <michal.simek@xilinx.com> Tested-by: Michal Simek <michal.simek@xilinx.com> (on zcu100)
-
- Apr 08, 2019
-
-
Stefan Roese authored
This patch moves all instances of static "watchdog_dev" declarations to the "data" section. This may be needed, as the BSS may not be cleared in the early U-Boot phase, where watchdog_reset() is already beeing called. This may result in incorrect pointer access, as the check to "!watchdog_dev" in watchdog_reset() may not be true and the function may continue to run. Signed-off-by:
Stefan Roese <sr@denx.de> Cc: Heiko Schocher <hs@denx.de> Cc: Tom Rini <trini@konsulko.com> Cc: Michal Simek <michal.simek@xilinx.com> Cc: "Marek Behún" <marek.behun@nic.cz> Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Tested-by: Michal Simek <michal.simek@xilinx.com> (on zcu100) Reviewed-by:
Michal Simek <michal.simek@xilinx.com>
-
- Nov 26, 2018
-
-
Michal Simek authored
The standard function is less error prone than custom one. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
- Jul 19, 2018
-
-
Michal Simek authored
Converting GPIO to DM requires to do changes in reset subsystem that's why support for Microblaze soft reset via sysreset and GPIO sysreset support was added. These two patches enables enabling GPIO DM. Microblaze soft reset is bind at last reset method. GPIO reset is handled via sysreset with adding this fragment to DT. gpio-restart { compatible = "gpio-restart"; gpios = <&reset_gpio 0 0 0>; /* 3rd cell ACTIVE_HIGH = 0, ACTIVE_LOW = 1 */ }; hard-reset-gpio property is not documented and also handled. Conversion is required. Unfortunately do_reset is required for SPL that's why use only soft microblaze reset for now. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Shreenidhi Shedi authored
We should support watchdog reset so that WATCHDOG_RESET will function properly. Signed-off-by:
Shreenidhi Shedi <yesshedi@gmail.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Shreenidhi Shedi authored
Signed-off-by:
Shreenidhi Shedi <yesshedi@gmail.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
sysreset uclass have own do_reset function which should be used instead of board/platform specific. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
- May 07, 2018
-
-
Tom Rini authored
When U-Boot started using SPDX tags we were among the early adopters and there weren't a lot of other examples to borrow from. So we picked the area of the file that usually had a full license text and replaced it with an appropriate SPDX-License-Identifier: entry. Since then, the Linux Kernel has adopted SPDX tags and they place it as the very first line in a file (except where shebangs are used, then it's second line) and with slightly different comment styles than us. In part due to community overlap, in part due to better tag visibility and in part for other minor reasons, switch over to that style. This commit changes all instances where we have a single declared license in the tag as both the before and after are identical in tag contents. There's also a few places where I found we did not have a tag and have introduced one. Signed-off-by:
Tom Rini <trini@konsulko.com>
-
- Apr 05, 2017
-
-
Simon Glass authored
By making dram_init_banksize() return an error code we can drop the wrapper. Adjust this and clean up all implementations. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Stefan Roese <sr@denx.de>
-
- Jan 27, 2016
-
-
Michal Simek authored
board_init() is in final elf file but it is not called at all. Use board_init_late() instead and call gpio_init() from it. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Do not setup ram start/size in board file. Read it from DT instead. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Move driver to DM. Signed-off-by:
Michal Simek <michal.simek@xilinx.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Michal Simek authored
Move driver to DM. Signed-off-by:
Michal Simek <michal.simek@xilinx.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
- Dec 18, 2015
-
-
Michal Simek authored
watchdog and gpio are not validated for SPL that's why do not use them. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
LL_TEMAC is available at big endian MB and it is not properly tested that's why the patch removes it. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
- Aug 18, 2015
-
-
Masahiro Yamada authored
We have flipped CONFIG_SPL_DISABLE_OF_CONTROL. We have cleansing devices, $(SPL_) and CONFIG_IS_ENABLED(), so we are ready to clear away the ugly logic in include/fdtdec.h: #ifdef CONFIG_OF_CONTROL # if defined(CONFIG_SPL_BUILD) && !defined(SPL_OF_CONTROL) # define OF_CONTROL 0 # else # define OF_CONTROL 1 # endif #else # define OF_CONTROL 0 #endif Now CONFIG_IS_ENABLED(OF_CONTROL) is the substitute. It refers to CONFIG_OF_CONTROL for U-boot proper and CONFIG_SPL_OF_CONTROL for SPL. Also, we no longer have to cancel CONFIG_OF_CONTROL in include/config_uncmd_spl.h and scripts/Makefile.spl. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by:
Tom Rini <trini@konsulko.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Acked-by:
Linus Walleij <linus.walleij@linaro.org>
-
- Apr 29, 2015
-
-
Nathan Rossi authored
It is possible for CONFIG_XILINX_EMACLITE to be defined without XILINX_EMACLITE_BASEADDR being defined as the EMAC Lite driver support OF init. Check that the driver is enabled and the base address is available before initializing with a static base address. Signed-off-by:
Nathan Rossi <nathan.rossi@xilinx.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
- Feb 09, 2015
-
-
Michal Simek authored
Compile code with -fPIC to get GOT. Do not build SPL with fPIC because it increasing SPL size for nothing. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
- Oct 14, 2013
-
-
Wolfgang Denk authored
Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
- Jul 24, 2013
-
-
Wolfgang Denk authored
Signed-off-by:
Wolfgang Denk <wd@denx.de> [trini: Fixup common/cmd_io.c] Signed-off-by:
Tom Rini <trini@ti.com>
-
- May 09, 2013
-
-
Michal Simek authored
Microblaze uses gpio which is connected to the system reset. Currently gpio subsystem wasn't used for it. Add gpio driver and change Microblaze reset logic to be done via gpio subsystem. There are various configurations which Microblaze can have that's why gpio_alloc/gpio_alloc_dual(for dual channel) function has been introduced and gpio can be allocated dynamically. Adding several gpios IP is also possible and supported. For listing gpio configuration please use "gpio status" command This patch also remove one compilation warning: microblaze-generic.c: In function 'do_reset': microblaze-generic.c:38:47: warning: operation on '*1073741824u' may be undefined [-Wsequence-point] Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
- Apr 30, 2013
-
-
Michal Simek authored
Watchdog can be used on Microblaze, PPC and Zynq hw designs. Signed-off-by:
Michal Simek <michal.simek@xilinx.com> Reviewed-by:
Tom Rini <trini@ti.com>
-
Michal Simek authored
Fix microblaze soft reset function and disable all cpu features. Especially disable caches because IRQs were off by disable_interrupts(). Reported-by:
John Williams <john.williams@xilinx.com> Signed-off-by:
Michal Simek <monstr@monstr.eu> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Remove CONFIG_SYS_RESET_ADDRESS macro. It was there from historical point of view when soft reset was just jump to u-boot text start (not used right now). Signed-off-by:
Michal Simek <monstr@monstr.eu> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
- Feb 04, 2013
-
-
Michal Simek authored
This code was targetting one specific Microblaze platform configuration which is obsolete and fsl bus isn't used in this way. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
- Sep 11, 2012
-
-
Michal Simek authored
Move board specific function to board_init function in board/ folder Remove externs from generic board.c Use board_init_f function in board.c file. Signed-off-by:
Michal Simek <monstr@monstr.eu> Acked-by:
Stephan Linz <linz@li-pro.net>
-
- Apr 04, 2012
-
-
Stephan Linz authored
Initialize ll_temac driver. Reported-by:
Michal Simek <monstr@monstr.eu> Signed-off-by:
Stephan Linz <linz@li-pro.net>
-
- Oct 24, 2011
-
-
Michal Simek authored
Initialize axi_ethernet driver. Signed-off-by:
Michal Simek <monstr@monstr.eu>
-
- Oct 23, 2011
-
-
Michal Simek authored
Init RX/TX ping pong directly from board not in the driver. Signed-off-by:
Michal Simek <monstr@monstr.eu>
-
- Nov 28, 2010
-
-
Mike Frysinger authored
The duplication of the do_reset prototype has gotten out of hand, and they're not all in sync. Unify them all in command.h. Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
- Oct 12, 2010
-
-
Michal Simek authored
Microblaze hasn't supported NET_MULTI support. Signed-off-by:
Michal Simek <monstr@monstr.eu>
-
- Apr 16, 2010
-
-
Michal Simek authored
Move FSL out of interrupt controller. Signed-off-by:
Michal Simek <monstr@monstr.eu>
-
- Jan 23, 2009
-
-
Michal Simek authored
Signed-off-by:
Michal Simek <monstr@monstr.eu>
-
- Oct 18, 2008
-
-
Jean-Christophe PLAGNIOL-VILLARD authored
Signed-off-by:
Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-
- May 07, 2007
-
-
Michal Simek authored
FSL_Has_data is connected to INTC.
-
- Mar 30, 2007
-
-
Michal Simek authored
-
- Mar 11, 2007
-
-
Michal Simek authored
timer support interrupt controller support flash support ethernet support cache support board information support env support booting image support adding support for Xilinx ML401
-
- Jul 10, 2004
-
-
Wolfgang Denk authored
- add empty include/asm-microblaze/processor.h - add to CREDITS and MAINTAINERS - add gd initialization - add MicroBlaze and SUZAKU board to MAKEALL script - add reset support for SUZAKU - add flush_cache() for MicroBlaze - add CFG_FLASH_SIZE to include/configs/suzaku.h since we have fixed size flash memory on SUZAKU
-