]> git.karo-electronics.de Git - linux-beck.git/commit
greybus: bootrom: Use "s2l" instead of boot stage in package name
authorViresh Kumar <viresh.kumar@linaro.org>
Sat, 16 Jul 2016 16:57:30 +0000 (09:57 -0700)
committerGreg Kroah-Hartman <gregkh@google.com>
Tue, 19 Jul 2016 20:52:26 +0000 (13:52 -0700)
commit56c78715eaaeba41317a82dc91a037cbbea16736
tree25956199ff09e5c78f07000c3391e6aa1162acbc
parent52764bd8aac77dd8ddbdaf55ae896a55ab2a9f5e
greybus: bootrom: Use "s2l" instead of boot stage in package name

The S3 firmware and S3-BFU firmware images will be named like this going
forward:

S3: ara_00000126_00001001_fffe0001_ffe70018_s3f.tftf
S3-BFU: ara_00000126_00001001_fffe0001_ffe70018_s3_bfu.tftf

But the current naming for S2 loader image is:

ara_00000126_00001001_fffe0001_ffe70018_02.tftf

It makes sense to use similar encoding for all three packages and so it
should be named as:

ara_00000126_00001001_fffe0001_ffe70018_s2l.tftf

Because the boot stage is passed from ES3 bootrom, we can't change its
value now. But the string created to match the package name is created
in bootrom.c and that is the only string we create from bootrom.c.

Update bootrom.c to use "s2l" instead of "02" in the package name.

Compile Tested only.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Tested-by: Karthik Ravi Shankar <karthikrs@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/bootrom.c