- Jan 20, 2016
-
-
robertcnelson@gmail.com authored
On startup, the BeagleBone family of boards can occationally halt at the U-Boot prompt. Due to U-Boot receiving random data on the usart. Migrate BeagleBone based boards to use CONFIG_AUTOBOOT_KEYED, user will now have to enter the <SPACE> key to get to U-Boot prompt Signed-off-by:
Robert Nelson <robertcnelson@gmail.com> CC: Craig McQueen <craig.mcqueen@innerrange.com> CC: Tom Rini <trini@konsulko.com> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Shengzhou Liu authored
Remove duplicated SDRAM_INTERVAL_BSTOPRE from mpc83xx.h, which has been defined in fsl_ddr_sdram.h Signed-off-by:
Shengzhou Liu <Shengzhou.Liu@freescale.com>
-
Ladislav Michl authored
The patch removes some macros that are not used. Signed-off-by:
Ladislav Michl <ladis@linux-mips.org> Acked-by:
Enric Balletbo Serra <enric.balletbo@collabora.com> Reviewed-by:
Tom Rini <trini@konsulko.com> Reviewed-by:
Heiko Schocher <hs@denx.de>
-
Ladislav Michl authored
The patch fixes some indentation style problems in omap3_igep00x0.h file. Signed-off-by:
Ladislav Michl <ladis@linux-mips.org> Acked-by:
Enric Balletbo Serra <enric.balletbo@collabora.com> Reviewed-by:
Tom Rini <trini@konsulko.com> Reviewed-by:
Heiko Schocher <hs@denx.de>
-
Ladislav Michl authored
File is already included: omap3_igep00x0.h -> ti_omap3_common.h -> ti_armv7_omap.h -> ti_armv7_common.h -> config_distro_defaults.h Signed-off-by:
Ladislav Michl <ladis@linux-mips.org> Acked-by:
Enric Balletbo Serra <enric.balletbo@collabora.com> Reviewed-by:
Tom Rini <trini@konsulko.com> Reviewed-by:
Heiko Schocher <hs@denx.de>
-
Ladislav Michl authored
- move chip reset to separate function - use CONFIG_SMC911X_BASE instead of hardcoded value - remove unneeded local variable from board_eth_init. Signed-off-by:
Ladislav Michl <ladis@linux-mips.org> Reviewed-by:
Tom Rini <trini@konsulko.com> Acked-by:
Enric Balletbo Serra <enric.balletbo@collabora.com> Reviewed-by:
Heiko Schocher <hs@denx.de>
-
Enric Balletbò i Serra authored
Enable CONFIG_NET_RANDOM_ETHADDR to generate a random MAC address when ETHADDR is not set. Signed-off-by:
Enric Balletbo i Serra <enric.balletbo@collabora.com> Reviewed-by:
Tom Rini <trini@konsulko.com> Reviewed-by:
Heiko Schocher <hs@denx.de>
-
Ladislav Michl authored
Signed-off-by:
Ladislav Michl <ladis@linux-mips.org> Acked-by:
Enric Balletbo Serra <enric.balletbo@collabora.com>
-
Ladislav Michl authored
Symbol is already defined in ti_armv7_common.h which is included via ti_armv7_omap.h Signed-off-by:
Ladislav Michl <ladis@linux-mips.org> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Masahiro Yamada authored
Now, there is no board defining CONFIG_SYS_TEXT_BASE by its config.mk, so this workaround is no longer needed. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com> Acked-by:
Stefan Roese <sr@denx.de>
-
Masahiro Yamada authored
The include/configs/yucca.h already has the same define: #define CONFIG_SYS_TEXT_BASE 0xfffb0000 Remove the redundant one from board/amcc/yucca/config.mk. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com> Acked-by:
Stefan Roese <sr@denx.de>
-
Masahiro Yamada authored
We can delete board/pb1x00/config.mk by moving the define of CONFIG_SYS_TEXT_BASE to somewhere else. Other MIPS boards are still defining it in include/config/${BOARD}.h, so I am following that way here. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com> Acked-by:
Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
-
Masahiro Yamada authored
We can delete board/dbau1x00/config.mk by moving the define of CONFIG_SYS_TEXT_BASE to somewhere else. Other MIPS boards are still defining it in include/config/${BOARD}.h, so I am following that way here. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com> Acked-by:
Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
-
Masahiro Yamada authored
We can delete board/micronas/vct/config.mk by moving the define of CONFIG_SYS_TEXT_BASE to somewhere else. Other MIPS boards are still defining it in include/config/${BOARD}.h, so I am following that way here. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com> Acked-by:
Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
-
Masahiro Yamada authored
This is how CONFIG options are defined by Kconfig. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com> Acked-by:
Michal Simek <michal.simek@xilinx.com>
-
Masahiro Yamada authored
The board/freescale/m54418twr/config.mk defined TEXT_BASE, which has the same value as CONFIG_SYS_TEXT_BASE. The TEXT_BASE is referenced by two files: - arch/m68k/cpu/mcf5445x/start.S and include/ - include/configs/M54418TWR.h Replace the references with CONFIG_SYS_TEXT_BASE and delete board/freescale/m54418twr/config.mk. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com> Acked-by: Angelo Dureghello <angelo at sysam.it>
-
Masahiro Yamada authored
For historical reason, CONFIG_SYS_TEXT_BASE has been specified in various ways: [1] by board/${VENDOR}/${BOARD}/config.mk [2] by CONFIG_SYS_EXTRA_OPTIONS (This was "options" field of boards.cfg before Kconfig conversion) [3] by include/configs/${BOARD}.h [4] by configs/${BOARD}_defconfig Most of M68K boards use either [1] or [2], both of which we want to deprecate. Switch them into [4], which is the newest way (Kconfig). We still allow [3] too, because it is still used by many boards and we expect much time for conversion. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com> Acked-by: Angelo Dureghello <angelo at sysam.it> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Vignesh R authored
ti-qspi driver currently uses 3-byte addressing mode(and opcodes) for memory-mapped read. This restricts maximum addressable flash size to 16MB. Enable the 4-byte addressing(and use 4-byte opcode) for memory-mapped read to allow access to addresses above 16MB. Signed-off-by:
Ravi Babu <ravibabu@ti.com> [vigneshr@ti.com: Re-word commit description] Signed-off-by:
Vignesh R <vigneshr@ti.com>
-
Erik Tideman authored
On bootup the emmc's hw partition is always set to 0 and the partition table is read from it. When switching to another hw partition the partition table's id is not updated but instead the old one from hw partition 0 is used. If there is no partition table on hw partition 0 then the code will terminate and return error even if the desired hw partition contains a perfectly fine partition table. This fix updates the partition table struct to correspond to the specified hw partition before testing if the partition table is valid or not. Signed-off-by:
Erik Tideman <erik.tideman@faltcom.se> Reviewed-by:
Tom Rini <trini@konsulko.com> [trini: Squash the patch that corrected whitespace in the original into this one, wrap with HAVE_BLOCK_DEVICE test] Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Heiko Schocher authored
compiling U-Boot for openrd_base_defconfig with gcc 5.x shows the following warning: CC fs/ubifs/super.o In file included from fs/ubifs/ubifs.h:35:0, from fs/ubifs/super.c:37: fs/ubifs/super.c: In function 'atomic_inc': ./arch/arm/include/asm/atomic.h:55:2: warning: 'flags' is used uninitialized in this function [-Wuninitialized] local_irq_save(flags); ^ fs/ubifs/super.c: In function 'atomic_dec': ./arch/arm/include/asm/atomic.h:64:2: warning: 'flags' is used uninitialized in this function [-Wuninitialized] local_irq_save(flags); ^ CC fs/ubifs/sb.o [...] CC fs/ubifs/lpt.o In file included from include/linux/bitops.h:123:0, from include/common.h:20, from include/ubi_uboot.h:17, from fs/ubifs/ubifs.h:37, from fs/ubifs/lpt.c:35: fs/ubifs/lpt.c: In function 'test_and_set_bit': ./arch/arm/include/asm/bitops.h:57:2: warning: 'flags' is used uninitialized in this function [-Wuninitialized] local_irq_save(flags); ^ CC fs/ubifs/lpt_commit.o In file included from include/linux/bitops.h:123:0, from include/common.h:20, from include/ubi_uboot.h:17, from fs/ubifs/ubifs.h:37, from fs/ubifs/lpt_commit.c:26: fs/ubifs/lpt_commit.c: In function 'test_and_set_bit': ./arch/arm/include/asm/bitops.h:57:2: warning: 'flags' is used uninitialized in this function [-Wuninitialized] local_irq_save(flags); ^ CC fs/ubifs/scan.o CC fs/ubifs/lprops.o CC fs/ubifs/tnc.o In file included from include/linux/bitops.h:123:0, from include/common.h:20, from include/ubi_uboot.h:17, from fs/ubifs/ubifs.h:37, from fs/ubifs/tnc.c:30: fs/ubifs/tnc.c: In function 'test_and_set_bit': ./arch/arm/include/asm/bitops.h:57:2: warning: 'flags' is used uninitialized in this function [-Wuninitialized] local_irq_save(flags); ^ CC fs/ubifs/tnc_misc.o Fix it. Signed-off-by:
Heiko Schocher <hs@denx.de>
-
- Jan 19, 2016
-
-
Masahiro Yamada authored
The if block does the same as the else block does. The conditional is not necessary at all. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com>
-
Masahiro Yamada authored
The umc-proxstream2.c defiens the same macros as in umc-regs.h. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com>
-
Masahiro Yamada authored
Each way must be unlocked to make it effective. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com>
-
Masahiro Yamada authored
If invalidate operation is invoked against a cache-unaliged region, the both ends of the region should be flushed, not invalidated. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com>
-
Masahiro Yamada authored
Avoid repeating the same code. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com>
-
Masahiro Yamada authored
Improve readability without changing the behavior. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com>
-
Masahiro Yamada authored
The load address of the kernel can be changed via "kernel_addr_r" environment. The device tree and the initramdisk should be relocated according to the kernel location. The "bootm_low" should be calculated by masking the lower bits (TEXT_OFFSET part) of the "kernel_addr_r" environment value. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com>
-
Masahiro Yamada authored
U-Boot relocates the device tree and the initramdisk to the tail of the memory region before booting the kernel. Some UniPhier boards are equipped with a large amount of memory. For those boards, the device tree and the initramdisk are placed out of the the kernel causing a kernel panic. Add CONFIG_SYS_BOOTMAPSZ to prevent them from going too high. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com>
-
Sergey Temerkhanov authored
Change the dram_init() function on ThunderX to query ATF services for the real installed DRAM size Signed-off-by:
Sergey Temerkhanov <s.temerkhanov@gmail.com> Signed-off-by:
Radha Mohan Chintakuntla <rchintakuntla@cavium.com>
-
Sergey Temerkhanov authored
This commit adds functions issuing calls to the product-specific ATF services Signed-off-by:
Sergey Temerkhanov <s.temerkhanov@gmail.com> Signed-off-by:
Radha Mohan Chintakuntla <rchintakuntla@cavium.com>
-
Sergey Temerkhanov authored
This commit adds basic Cavium ThunderX 88xx board definitions and support. Signed-off-by:
Sergey Temerkhanov <s.temerkhanov@gmail.com> Signed-off-by:
Radha Mohan Chintakuntla <rchintakuntla@cavium.com> [trini: Drop CONFIG_SYS_GENERIC_BOARD define] Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Sergey Temerkhanov authored
This commit adds the FDT for the ThunderX family of SoCs Signed-off-by:
Sergey Temerkhanov <s.temerkhanov@gmail.com> Signed-off-by:
Radha Mohan Chintakuntla <rchintakuntla@cavium.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Sergey Temerkhanov authored
This commit adds the psci.h header file from Linux kernel which contains definitions related to the PSCI interface provided by firmware Signed-off-by:
Sergey Temerkhanov <s.temerkhanov@gmail.com> Signed-off-by:
Radha Mohan Chintakuntla <rchintakuntla@cavium.com>
-
Sergey Temerkhanov authored
This commit adds functions issuing calls to secure monitor or hypervisore. This allows using services such as Power State Coordination Interface (PSCI) provided by firmware, e.g. ARM Trusted Firmware (ATF) The SMC call can destroy all registers declared temporary by the calling conventions. The clobber list is "x0..x17" because of this Signed-off-by:
Sergey Temerkhanov <s.temerkhanov@gmail.com> Signed-off-by:
Corey Minyard <cminyard@mvista.com> Signed-off-by:
Radha Mohan Chintakuntla <rchintakuntla@cavium.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Tested-by:
Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
-
Sergey Temerkhanov authored
This patch adds code which sets up 2-level page tables on ARM64 thus extending available VA space. CPUs implementing 64k translation granule are able to use direct PA-VA mapping of the whole 48 bit address space. It also adds the ability to reset the SCTRL register at the very beginning of execution to avoid interference from stale mappings set up by early firmware/loaders/etc. Signed-off-by:
Sergey Temerkhanov <s.temerkhanov@gmail.com> Signed-off-by:
Radha Mohan Chintakuntla <rchintakuntla@cavium.com>
-
Sergey Temerkhanov authored
This patch adds the read_mpidr() function which returns the MPIDR_EL1 register value Signed-off-by:
Sergey Temerkhanov <s.temerkhanov@gmail.com> Signed-off-by:
Radha Mohan Chintakuntla <rchintakuntla@cavium.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Sergey Temerkhanov authored
This patch adds Kconfig entries to facilitate usage of pl01x as a debug UART. Signed-off-by:
Sergey Temerkhanov <s.temerkhanov@gmail.com> Signed-off-by:
Radha Mohan Chintakuntla <rchintakuntla@cavium.com> Acked-by:
Simon Glass <sjg@chromium.org>
-
Sergey Temerkhanov authored
This patch adds an ability to use pl01x as a debug UART. It must be configured like other types of debug UARTs Signed-off-by:
Sergey Temerkhanov <s.temerkhanov@gmail.com> Signed-off-by:
Radha Mohan Chintakuntla <rchintakuntla@cavium.com> [trini: Update for _debug_uart_init change] Acked-by:
Simon Glass <sjg@chromium.org> Signed-off-by:
Tom Rini <trini@konsulko.com>
-
git://git.denx.de/u-boot-videoTom Rini authored
-
Bin Meng authored
With driver model timer conversion, quark based board does not boot any more as mdelay() is called during quark_pcie_early_init() which is before driver model gets initialized. Fix this breakage. Signed-off-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-