f02c1f69 | 24-Aug-2018 |
Marek Vasut <marek.vasut+renesas@gmail.com> |
sh: tmu: Clean up register usage
The code uses all in all three TMU registers, drop the massive register layout structures and just define the required timer registers and use them throughout the co
sh: tmu: Clean up register usage
The code uses all in all three TMU registers, drop the massive register layout structures and just define the required timer registers and use them throughout the code.
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
show more ...
|
8b39df9e | 24-Aug-2018 |
Marek Vasut <marek.vasut+renesas@gmail.com> |
sh: tmu: Inline sh_tmu.h
The header contains only the TMU register layout, just inline it into the TMU timer implementation and drop the header completely.
Signed-off-by: Marek Vasut <marek.vasut+r
sh: tmu: Inline sh_tmu.h
The header contains only the TMU register layout, just inline it into the TMU timer implementation and drop the header completely.
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
show more ...
|
15f11fc6 | 24-Aug-2018 |
Marek Vasut <marek.vasut+renesas@gmail.com> |
sh: tmu: Inline tmu_timer_{start,stop}()
These functions are always called for timer = 0, so drop the timer check. Since these functions are called from one place only and they are reduced to one li
sh: tmu: Inline tmu_timer_{start,stop}()
These functions are always called for timer = 0, so drop the timer check. Since these functions are called from one place only and they are reduced to one line of code, just inline them.
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
show more ...
|
eb05dcfe | 24-Aug-2018 |
Marek Vasut <marek.vasut+renesas@gmail.com> |
sh: tmu: Simplify the tmu_bit math
The tmu_bit value evaluates to (ffs(4) >> 1) - 1 = (3 >> 1) - 1 = 0. Just drop the tmu_bit completely as well as CONFIG_SYS_TMU_CLK_DIV.
Signed-off-by: Marek Vasu
sh: tmu: Simplify the tmu_bit math
The tmu_bit value evaluates to (ffs(4) >> 1) - 1 = (3 >> 1) - 1 = 0. Just drop the tmu_bit completely as well as CONFIG_SYS_TMU_CLK_DIV.
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
show more ...
|
bccf09e0 | 27-Nov-2016 |
Vladimir Zapolskiy <vz@mleia.com> |
sh: add shared relocate_code() function and call board_init_r()
Commits b61e90e6fd83 ("sh: Drop the arch-specific board init") and f41e6088eb1a ("sh: Fix build errors for generic board") left code a
sh: add shared relocate_code() function and call board_init_r()
Commits b61e90e6fd83 ("sh: Drop the arch-specific board init") and f41e6088eb1a ("sh: Fix build errors for generic board") left code and data relocation done in start.S, however further actual U-boot configuration is not started anymore. Practically SH boards with the code relocated into the expected position by start.S still can be booted, so the change adds this option and provides an option how to relocate code for board_init_r() execution.
Signed-off-by: Vladimir Zapolskiy <vz@mleia.com> Reviewed-by: Simon Glass <sjg@chromium.org>
show more ...
|
5f91a3ad | 10-Feb-2015 |
Masahiro Yamada <yamada.m@jp.panasonic.com> |
sh: import missing private libraries from Linux 3.19
SuperH is supposed to support the Private Library feature, but it is actually not working.
If CONFIG_USE_PRIVATE_LIBGCC is enabled, the build fa
sh: import missing private libraries from Linux 3.19
SuperH is supposed to support the Private Library feature, but it is actually not working.
If CONFIG_USE_PRIVATE_LIBGCC is enabled, the build fails for the undefined references to '__sdivsi3_i4i' and '__udivsi3_i4i'.
To fix this error, import missing libraries from Linux 3.19 and adjust them for U-Boot: - Remove "#include <linux/module.h>" and "EXPORT_SYMBOL(...)" - Use SPDX-License-Identifier - Remove white space
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
show more ...
|