[Slof] [PATCH 3/5] boot: remove trailing ":" in the bootpath
Segher Boessenkool
segher at kernel.crashing.org
Tue Jul 7 01:04:05 AEST 2015
On Mon, Jul 06, 2015 at 04:32:39PM +0530, Nikunj A Dadhania wrote:
> -rot ( ihandle devstr len )
> - my-args nip 0= IF
> - 2dup 1- + c@ [char] : <> IF \ Add : to device path if missing
> - 1+ strdup 2dup 1- + [char] : swap c!
> - THEN
> - THEN
> encode-string s" bootpath" set-chosen
That looks fine to me, but someone added that on purpose; what was
that purpose, why is this code no longer needed/wanted?
Segher
More information about the SLOF
mailing list