mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 15:14:43 +00:00
board: tegra30: remove nvidia_board_late_init calls
Remove nvidia_board_late_init calls from board since this setup is performed in board2 of mach-tegra. Call of nvidia_board_late_init from within the board does not provide any additional data. Tested-by: Andreas Westman Dorcsak <hedmoo@yahoo.com> # ASUS Transformer T30 Tested-by: Svyatoslav Ryhel <clamor95@gmail.com> # LG P895 T30 Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
This commit is contained in:
parent
6bc3401294
commit
36a7286dc7
4 changed files with 0 additions and 47 deletions
|
@ -9,14 +9,12 @@
|
|||
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <env.h>
|
||||
#include <fdt_support.h>
|
||||
#include <i2c.h>
|
||||
#include <log.h>
|
||||
#include <asm/arch/pinmux.h>
|
||||
#include <asm/arch/gp_padctrl.h>
|
||||
#include <asm/arch/gpio.h>
|
||||
#include <asm/arch-tegra/fuse.h>
|
||||
#include <asm/gpio.h>
|
||||
#include <linux/delay.h>
|
||||
#include "pinmux-config-grouper.h"
|
||||
|
@ -190,13 +188,3 @@ int ft_board_setup(void *blob, struct bd_info *bd)
|
|||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
void nvidia_board_late_init(void)
|
||||
{
|
||||
char serialno_str[17];
|
||||
|
||||
/* Set chip id as serialno */
|
||||
sprintf(serialno_str, "%016llx", tegra_chip_uid());
|
||||
env_set("serial#", serialno_str);
|
||||
env_set("platform", "Tegra 3 T30");
|
||||
}
|
||||
|
|
|
@ -11,14 +11,12 @@
|
|||
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <env.h>
|
||||
#include <fdt_support.h>
|
||||
#include <i2c.h>
|
||||
#include <log.h>
|
||||
#include <asm/arch/pinmux.h>
|
||||
#include <asm/arch/gp_padctrl.h>
|
||||
#include <asm/arch/gpio.h>
|
||||
#include <asm/arch-tegra/fuse.h>
|
||||
#include <asm/gpio.h>
|
||||
#include <linux/delay.h>
|
||||
#include "pinmux-config-transformer.h"
|
||||
|
@ -164,13 +162,3 @@ int ft_board_setup(void *blob, struct bd_info *bd)
|
|||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
void nvidia_board_late_init(void)
|
||||
{
|
||||
char serialno_str[17];
|
||||
|
||||
/* Set chip id as serialno */
|
||||
sprintf(serialno_str, "%016llx", tegra_chip_uid());
|
||||
env_set("serial#", serialno_str);
|
||||
env_set("platform", "Tegra 3 T30");
|
||||
}
|
||||
|
|
|
@ -9,14 +9,12 @@
|
|||
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <env.h>
|
||||
#include <fdt_support.h>
|
||||
#include <i2c.h>
|
||||
#include <log.h>
|
||||
#include <asm/arch/pinmux.h>
|
||||
#include <asm/arch/gp_padctrl.h>
|
||||
#include <asm/arch/gpio.h>
|
||||
#include <asm/arch-tegra/fuse.h>
|
||||
#include <asm/gpio.h>
|
||||
#include <linux/delay.h>
|
||||
#include "pinmux-config-endeavoru.h"
|
||||
|
@ -104,13 +102,3 @@ int ft_board_setup(void *blob, struct bd_info *bd)
|
|||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
void nvidia_board_late_init(void)
|
||||
{
|
||||
char serialno_str[17];
|
||||
|
||||
/* Set chip id as serialno */
|
||||
sprintf(serialno_str, "%016llx", tegra_chip_uid());
|
||||
env_set("serial#", serialno_str);
|
||||
env_set("platform", "Tegra 3 T30");
|
||||
}
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <env.h>
|
||||
#include <fdt_support.h>
|
||||
#include <i2c.h>
|
||||
#include <log.h>
|
||||
|
@ -164,13 +163,3 @@ int ft_board_setup(void *blob, struct bd_info *bd)
|
|||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
void nvidia_board_late_init(void)
|
||||
{
|
||||
char serialno_str[17];
|
||||
|
||||
/* Set chip id as serialno */
|
||||
sprintf(serialno_str, "%016llx", tegra_chip_uid());
|
||||
env_set("serial#", serialno_str);
|
||||
env_set("platform", "Tegra 3 T30");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue