armv7/snow: Remove power_init from bootblock.
The power_init is not required on Exynos 5250 (snow) in bootblock stage. To get a cleaner and faster bootblock, we can remove it. Note, power_init internally calls max77686 and s3c24x0_i2c, so both files are also removed. Verified to boot on armv7/snow. Change-Id: I5b15dfe5ac7bf4650565fea0afefc94a228ece29 Signed-off-by: Hung-Te Lin <hungte@chromium.org> Reviewed-on: http://review.coreboot.org/2317 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
This commit is contained in:
parent
60485a3e91
commit
77608b21d3
|
@ -9,7 +9,6 @@
|
|||
bootblock-y += clock_init.c
|
||||
bootblock-y += clock.c
|
||||
bootblock-y += pinmux.c
|
||||
bootblock-y += power.c
|
||||
bootblock-y += soc.c
|
||||
bootblock-y += uart.c
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
bootblock-y += pwm.c
|
||||
bootblock-y += s3c24x0_i2c.c
|
||||
bootblock-y += s5p_gpio.c
|
||||
bootblock-y += timer.c
|
||||
|
||||
|
|
|
@ -17,6 +17,5 @@
|
|||
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
##
|
||||
|
||||
bootblock-$(CONFIG_DRIVER_MAXIM_MAX77686) += max77686.c
|
||||
romstage-$(CONFIG_DRIVER_MAXIM_MAX77686) += max77686.c
|
||||
ramstage-$(CONFIG_DRIVER_MAXIM_MAX77686) += max77686.c
|
||||
|
|
|
@ -27,7 +27,6 @@
|
|||
#include <cpu/samsung/exynos5250/dmc.h>
|
||||
#include <cpu/samsung/exynos5250/periph.h>
|
||||
#include <cpu/samsung/exynos5250/clock_init.h>
|
||||
#include <src/cpu/samsung/exynos5250/power.h>
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -37,7 +36,6 @@ void bootblock_mainboard_init(void)
|
|||
struct mem_timings *mem;
|
||||
struct arm_clk_ratios *arm_ratios;
|
||||
|
||||
power_init();
|
||||
mem = get_mem_timings();
|
||||
arm_ratios = get_arm_clk_ratios();
|
||||
system_clock_init(mem, arm_ratios);
|
||||
|
|
Loading…
Reference in New Issue