mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 10:39:08 +00:00
ARM: DRA7: Set serial number environment variable
This patch populates serial number environment variable from die_id_0 and die_id_1 register values for DRA7xx boards. The function is added in omap common code so that this can be re-used. Serial# environment variable will be useful to show correct information in "fastboot devices" commands. Ref: http://git.omapzoom.org/?p=repo/u-boot.git;a=commit;h=a6bcaaf67f6e4bcd97808f53d0ceb4b0c04d583c Signed-off-by: Angela Stegmaier <angelabaker@ti.com> Signed-off-by: Dileep Katta <dileep.katta@linaro.org> Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
be17d396ff
commit
f12467d1a5
4 changed files with 28 additions and 0 deletions
|
@ -362,6 +362,10 @@ struct omap_sys_ctrl_regs {
|
|||
u32 control_core_control_io1;
|
||||
u32 control_core_control_io2;
|
||||
u32 control_id_code;
|
||||
u32 control_std_fuse_die_id_0;
|
||||
u32 control_std_fuse_die_id_1;
|
||||
u32 control_std_fuse_die_id_2;
|
||||
u32 control_std_fuse_die_id_3;
|
||||
u32 control_std_fuse_opp_bgap;
|
||||
u32 control_ldosram_iva_voltage_ctrl;
|
||||
u32 control_ldosram_mpu_voltage_ctrl;
|
||||
|
@ -578,6 +582,7 @@ void abb_setup(u32 fuse, u32 ldovbb, u32 setup, u32 control,
|
|||
s8 abb_setup_ldovbb(u32 fuse, u32 ldovbb);
|
||||
|
||||
void usb_fake_mac_from_die_id(u32 *id);
|
||||
void usb_set_serial_num_from_die_id(u32 *id);
|
||||
|
||||
void omap_smc1(u32 service, u32 val);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue