- 14 8月, 2020 11 次提交
-
-
由 Heinrich Schuchardt 提交于
The command 'exception' can be used to test the handling of exceptions. Currently the exception command only allows to create an illegal instruction exception on RISC-V. Provide a sub-command 'exception unaligned' to cause a misaligned load address exception. Adjust the online help for 'exception undefined'. Signed-off-by: NHeinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: NRick Chen <rick@andestech.com>
-
由 Heinrich Schuchardt 提交于
Provide the required settings for the debug UART. Signed-off-by: NHeinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: NSean Anderson <seanga2@gmail.com>
-
由 Heinrich Schuchardt 提交于
The MAIXDUINO runs fine with the sipeed_maix_bitm_defconfig but a different board id parameter should be passed to kflash. Signed-off-by: NHeinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: NSean Anderson <seanga2@gmail.com>
-
由 Heinrich Schuchardt 提交于
We should not initialize a variable if the value is overwritten before being read. Signed-off-by: NHeinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: NBin Meng <bin.meng@windriver.com> Reviewed-by: NPragnesh Patel <pragnesh.patel@sifive.com> Tested-by: NPragnesh Patel <pragnesh.patel@sifive.com> Reviewed-by: NRick Chen <rick@andestech.com>
-
由 Heinrich Schuchardt 提交于
After if (ret) return ret; we know that ret is zero. Don't check it again. Signed-off-by: NHeinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: NBin Meng <bin.meng@windriver.com> Reviewed-by: NRick Chen <rick@andestech.com>
-
由 Bin Meng 提交于
It's better to keep all SPL related functions in the same spl.c. Signed-off-by: NBin Meng <bin.meng@windriver.com> Reviewed-by: NLeo Liang <ycliang@andestech.com> Reviewed-by: NRick Chen <rick@andestech.com> Reviewed-by: NPragnesh Patel <pragnesh.patel@sifive.com> Tested-by: NPragnesh Patel <pragnesh.patel@sifive.com>
-
由 Bin Meng 提交于
This option was enabled during the earlier U-Boot porting time. Now we already have the OTP driver in place and the unique MAC address is read from the OTP, there is no need to turn on this option. Signed-off-by: NBin Meng <bin.meng@windriver.com> Reviewed-by: NLeo Liang <ycliang@andestech.com> Reviewed-by: NRick Chen <rick@andestech.com> Reviewed-by: NPragnesh Patel <pragnesh.patel@sifive.com> Tested-by: NPragnesh Patel <pragnesh.patel@sifive.com>
-
由 Bin Meng 提交于
All FU540 driver related options should be in the SoC level Kconfig. Signed-off-by: NBin Meng <bin.meng@windriver.com> Reviewed-by: NRick Chen <rick@andestech.com> Reviewed-by: NPragnesh Patel <pragnesh.patel@sifive.com> Tested-by: NPragnesh Patel <pragnesh.patel@sifive.com>
-
由 Bin Meng 提交于
spl_soc_init() seems to be a better name, as all SPL functions names start from the spl_ prefix. Signed-off-by: NBin Meng <bin.meng@windriver.com> Reviewed-by: NRick Chen <rick@andestech.com> Reviewed-by: NPragnesh Patel <pragnesh.patel@sifive.com> Tested-by: NPragnesh Patel <pragnesh.patel@sifive.com>
-
由 Bin Meng 提交于
Use the generic board_init_f() provided by the RISC-V library codes. Signed-off-by: NBin Meng <bin.meng@windriver.com> Reviewed-by: NRick Chen <rick@andestech.com> Reviewed-by: NPragnesh Patel <pragnesh.patel@sifive.com> Tested-by: NPragnesh Patel <pragnesh.patel@sifive.com>
-
由 Bin Meng 提交于
The generic SPL version of board_init_f() should give a call to board specific codes to initialize board in the SPL phase. Signed-off-by: NBin Meng <bin.meng@windriver.com> Reviewed-by: NRick Chen <rick@andestech.com> Reviewed-by: NPragnesh Patel <pragnesh.patel@sifive.com> Tested-by: NPragnesh Patel <pragnesh.patel@sifive.com>
-
- 13 8月, 2020 29 次提交
-
-
https://gitlab.denx.de/u-boot/custodians/u-boot-marvell由 Tom Rini 提交于
- Fix dtc warnings for some MVEBU boards
-
https://gitlab.denx.de/u-boot/custodians/u-boot-stm由 Tom Rini 提交于
- Use IS_ENABLED to prevent ifdef in board_key_check for STM32MP - Add STM32 FMC2 EBI controller driver - Fix dwc3-sti-glue which allows STiH410-B2260 to boot again - Add fitImage its entry for 587-200 DHCOR SoM - Add both PDK2 and DRC02 DT into DHCOM fitImage its - Fix DHCOM KS8851 ethernet MAC address - Remove stm32mp1 board.c file - Use const for struct node_info in board stm32mp1.c file
-
由 Stefan Roese 提交于
Fix this dtc warning: Warning (avoid_default_addr_size) Signed-off-by: NStefan Roese <sr@denx.de> Cc: Marek Behún <marek.behun@nic.cz>
-
由 Stefan Roese 提交于
Fix these dtc warnings: Warning (reg_format) Warning (avoid_default_addr_size) Signed-off-by: NStefan Roese <sr@denx.de> Cc: Chris Packham <judge.packham@gmail.com> Reviewed-by: NChris Packham <judge.packham@gmail.com>
-
由 Stefan Roese 提交于
Fix this dtc warning: Warning (avoid_default_addr_size) Signed-off-by: NStefan Roese <sr@denx.de>
-
由 Stefan Roese 提交于
Fix this dtc warning: Warning (avoid_default_addr_size) Signed-off-by: NStefan Roese <sr@denx.de>
-
由 Patrick Delaunay 提交于
Use const for the variable nodes in ft_board_setup, this patch follow fdt_fixup_mtdparts prototype and no more use stack. Signed-off-by: NPatrick Delaunay <patrick.delaunay@st.com> Reviewed-by: NPatrice Chotard <patrice.chotard@st.com>
-
由 Patrick Delaunay 提交于
Remove the file board/st/stm32mp1/board.c which is not more compiled since commit 156732cc8939 ("board: stm32mp1: move the function board_debug_uart_init in spl.c") Fixes: 4fb46816 ("board: stm32mp1: move the function board_debug_uart_init in spl.c") Signed-off-by: NPatrick Delaunay <patrick.delaunay@st.com> Reviewed-by: NPatrice Chotard <patrice.chotard@st.com>
-
由 Marek Vasut 提交于
The STM32MP1 DHCOM has two ethernet interfaces, the on-SoM DWMAC and KS8851. Set eth1addr for the KS8851 to a MAC address of the DWMAC incremented by 1. The MAC of the DWMAC is set from on-SoM EEPROM already, but the MAC address of KS8851 was left uninitialized, so fix this. Signed-off-by: NMarek Vasut <marex@denx.de> Cc: Patrice Chotard <patrice.chotard@st.com> Cc: Patrick Delaunay <patrick.delaunay@st.com> Reviewed-by: NPatrice Chotard <patrice.chotard@st.com>
-
由 Marek Vasut 提交于
The new 587-200 DHCOR SoM is compatible with the 587-100 prototype, hence just replicate the entries, as there is no pattern matching. Signed-off-by: NMarek Vasut <marex@denx.de> Cc: Patrice Chotard <patrice.chotard@st.com> Cc: Patrick Delaunay <patrick.delaunay@st.com> Reviewed-by: NPatrice Chotard <patrice.chotard@st.com>
-
由 Marek Vasut 提交于
Include both PDK2 and DRC02 DTs in the DHCOM fitImage .its and implement support in SPL to select the correct configuration entry for U-Boot by using the machine compatible string from SPL DT. Signed-off-by: NMarek Vasut <marex@denx.de> Cc: Patrice Chotard <patrice.chotard@st.com> Cc: Patrick Delaunay <patrick.delaunay@st.com> Reviewed-by: NPatrice Chotard <patrice.chotard@st.com>
-
由 Christophe Kerello 提交于
This patch adds FMC2 External Bus Interface support on stm32mp157c. Signed-off-by: NChristophe Kerello <christophe.kerello@st.com> Reviewed-by: NPatrice Chotard <patrice.chotard@st.com>
-
由 Christophe Kerello 提交于
This patch enables the support of FMC2 EBI. Signed-off-by: NChristophe Kerello <christophe.kerello@st.com> Reviewed-by: NPatrice Chotard <patrice.chotard@st.com>
-
由 Christophe Kerello 提交于
This patch adds "st,stm32mp1-fmc2-nfc" compatible string in the fdt fixup partitions table. Signed-off-by: NChristophe Kerello <christophe.kerello@st.com> Reviewed-by: NPatrice Chotard <patrice.chotard@st.com>
-
由 Christophe Kerello 提交于
FMC2 EBI support has been added. Common resources (registers base address and clock) can now be shared between the 2 drivers using "st,stm32mp1-fmc2-nfc" compatible string. It means that the common resources should now be found in the parent device when EBI node is available. Signed-off-by: NChristophe Kerello <christophe.kerello@st.com> Reviewed-by: NPatrice Chotard <patrice.chotard@st.com>
-
由 Christophe Kerello 提交于
The driver adds the support for the STMicroelectronics FMC2 EBI controller found on STM32MP SOCs. Signed-off-by: NChristophe Kerello <christophe.kerello@st.com> Reviewed-by: NPatrice Chotard <patrice.chotard@st.com>
-
由 Christophe Kerello 提交于
This patch uses clrsetbits_le32 function instead of multiple instructions. Signed-off-by: NChristophe Kerello <christophe.kerello@st.com> Reviewed-by: NPatrice Chotard <patrice.chotard@st.com>
-
由 Christophe Kerello 提交于
This patch removes custom macros and uses FIELD_PREP and FIELD_GET macros. Signed-off-by: NChristophe Kerello <christophe.kerello@st.com> Reviewed-by: NPatrice Chotard <patrice.chotard@st.com>
-
由 Christophe Kerello 提交于
This patch renames functions and local variables. This cleanup is done to get all functions starting by stm32_fmc2_nfc in the FMC2 raw NAND driver when all functions will start by stm32_fmc2_ebi in the FMC2 EBI driver. Signed-off-by: NChristophe Kerello <christophe.kerello@st.com> Reviewed-by: NPatrice Chotard <patrice.chotard@st.com>
-
由 Christophe Kerello 提交于
FMC2_TIMEOUT_5S will be used each time that we need to wait. It was seen, during stress tests in an overloaded system, that we could be close to 1 second, even if we never met this value. To be safe, FMC2_TIMEOUT_MS is set to 5 seconds. Signed-off-by: NChristophe Kerello <christophe.kerello@st.com> Reviewed-by: NPatrice Chotard <patrice.chotard@st.com>
-
由 Christophe Kerello 提交于
Remove inline comments that are useless since function label are self explanatory. Signed-off-by: NChristophe Kerello <christophe.kerello@st.com> Reviewed-by: NPatrice Chotard <patrice.chotard@st.com>
-
由 Christophe Kerello 提交于
The chip select defined in the device tree could only be 0 or 1. Signed-off-by: NChristophe Kerello <christophe.kerello@st.com> Reviewed-by: NPatrice Chotard <patrice.chotard@st.com>
-
由 Patrick Delaunay 提交于
Use IS_ENABLED to prevent ifdef in stm32prog command. Signed-off-by: NPatrick Delaunay <patrick.delaunay@st.com> Reviewed-by: NPatrice Chotard <patrice.chotard@st.com>
-
由 Patrick Delaunay 提交于
Use IS_ENABLED to prevent ifdef in bsec driver. Signed-off-by: NPatrick Delaunay <patrick.delaunay@st.com> Reviewed-by: NPatrice Chotard <patrice.chotard@st.com>
-
由 Patrick Delaunay 提交于
Use IS_ENABLED to prevent ifdef in ft_board_setup. Signed-off-by: NPatrick Delaunay <patrick.delaunay@st.com> Reviewed-by: NPatrice Chotard <patrice.chotard@st.com>
-
由 Patrick Delaunay 提交于
Use IS_ENABLED to prevent ifdef in env functions: - env_get_location - env_ext4_get_intf - mmc_get_env_dev Signed-off-by: NPatrick Delaunay <patrick.delaunay@st.com> Reviewed-by: NPatrice Chotard <patrice.chotard@st.com>
-
由 Patrick Delaunay 提交于
Use IS_ENABLED to prevent ifdef in board_late_init. Signed-off-by: NPatrick Delaunay <patrick.delaunay@st.com> Reviewed-by: NPatrice Chotard <patrice.chotard@st.com>
-
由 Patrick Delaunay 提交于
Use IS_ENABLED to prevent ifdef in dk2_i2c1_fix. Signed-off-by: NPatrick Delaunay <patrick.delaunay@st.com> Reviewed-by: NPatrice Chotard <patrice.chotard@st.com>
-
由 Patrick Delaunay 提交于
Use CONFIG_IS_ENABLED to prevent ifdef in set_dfu_alt_inf. Signed-off-by: NPatrick Delaunay <patrick.delaunay@st.com> Reviewed-by: NPatrice Chotard <patrice.chotard@st.com>
-