ar71xx/sysmocom: register boot counter for all board

the bootcounter was only registered for ap2
This commit is contained in:
Alexander Couzens 2015-07-19 19:45:43 +02:00
parent 54a53a37a0
commit 641ec9db23
1 changed files with 1 additions and 1 deletions

View File

@ -158,6 +158,7 @@ static struct i2c_board_info sob_ap_i2c_devs[] __initdata = {
static void __init sysmocom_common_setup(void)
{
ath79_register_m25p80(&size_depend_flash_data);
platform_device_register(&sob_boot_counter);
}
static void __init sysmocom_sob_ap1_setup(void)
@ -223,7 +224,6 @@ static void __init sysmocom_sob_ap2_setup(void)
ath79_reset_rr(AR933X_RESET_REG_BOOTSTRAP) |
AR933X_BOOTSTRAP_MDIO_GPIO_EN);
platform_device_register(&sob_boot_counter);
platform_device_register(&sob_ap2_i2c_gpio_device);
i2c_register_board_info(0, sob_ap_i2c_devs,
ARRAY_SIZE(sob_ap_i2c_devs));