[U-Boot] [PATCH] sunxi: support fuse cmd to read/write fuse

Calvin Johnson calvin.johnson at nxp.com
Mon Jan 29 07:41:54 UTC 2018


Hi,

> -----Original Message-----
> From: U-Boot [mailto:u-boot-bounces at lists.denx.de] On Behalf Of Jun Nie
> Sent: Monday, January 29, 2018 12:59 PM
> To: André Przywara <andre.przywara at arm.com>
> Cc: U-Boot Mailing List <u-boot at lists.denx.de>; Icenowy Zheng
> <icenowy at aosc.xyz>; 370719159 at qq.com
> Subject: Re: [U-Boot] [PATCH] sunxi: support fuse cmd to read/write fuse

[snip]

> >> +int fuse_prog(u32 bank, u32 word, u32 val)
> >> +{
> >
> > I would feel better if we have the write access protected by a separate
> > Kconfig symbol. So without this being defined either nothing happens or
> > the user gets a warning.
> 
> Good idea.

Yes, fuse programming should be disabled by default and should be enabled 
only by user who really knows what he is doing.

Also, it will be good to get a confirmation from the user whether user really wants
to program the fuse.

Regards
Calvin


More information about the U-Boot mailing list