Commit 19482249 authored by Marek Vasut's avatar Marek Vasut
Browse files

mxssb: Eliminate target_cpu field



The command stream is now in a configuration file, the target_cpu
field is no longer used. Remove it.
Signed-off-by: Marek Vasut's avatarMarek Vasut <marex@denx.de>
parent 81f302c2
...@@ -27,12 +27,6 @@ ...@@ -27,12 +27,6 @@
#include "mxssb.h" #include "mxssb.h"
enum sb_target_cpu {
CPU_UNKNOWN,
CPU_MX23,
CPU_MX28
};
/* /*
* IMAGE * IMAGE
* |-SECTION * |-SECTION
...@@ -78,7 +72,6 @@ struct sb_section_ctx { ...@@ -78,7 +72,6 @@ struct sb_section_ctx {
struct sb_image_ctx { struct sb_image_ctx {
/* Image configuration */ /* Image configuration */
unsigned int verbose_boot:1; unsigned int verbose_boot:1;
enum sb_target_cpu target_cpu;
char *cfg_filename; char *cfg_filename;
/* Number of section in the image */ /* Number of section in the image */
...@@ -1148,7 +1141,6 @@ int main(int argc, char **argv) ...@@ -1148,7 +1141,6 @@ int main(int argc, char **argv)
struct sb_image_ctx ctx; struct sb_image_ctx ctx;
memset(&ctx, 0, sizeof(ctx)); memset(&ctx, 0, sizeof(ctx));
ctx.target_cpu = CPU_UNKNOWN;
while ((opt = getopt(argc, argv, "c:o:vh")) != -1) { while ((opt = getopt(argc, argv, "c:o:vh")) != -1) {
switch (opt) { switch (opt) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment