aboutsummaryrefslogtreecommitdiff
path: root/include/configs/mx7_common.h
diff options
context:
space:
mode:
authorPatrick Delaunay <patrick.delaunay@st.com>2020-06-17 18:19:18 +0200
committerTom Rini <trini@konsulko.com>2020-07-17 08:51:29 -0400
commitb4d14bc81ad580000277deae5d51e3e3ef09875f (patch)
treee5d79bf17a41260c0b145c6af06fc89b9a4e1584 /include/configs/mx7_common.h
parentea5003ad66b2c42d57496cbdf75218d0e15e41a5 (diff)
downloadu-boot-b4d14bc81ad580000277deae5d51e3e3ef09875f.zip
u-boot-b4d14bc81ad580000277deae5d51e3e3ef09875f.tar.gz
u-boot-b4d14bc81ad580000277deae5d51e3e3ef09875f.tar.bz2
Convert CONFIG_ARMV7_PSCI_1_0 and CONFIG_ARMV7_PSCI_0_2 to Kconfig
This converts the following to Kconfig: CONFIG_ARMV7_PSCI_1_0 CONFIG_ARMV7_PSCI_0_2 Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Diffstat (limited to 'include/configs/mx7_common.h')
-rw-r--r--include/configs/mx7_common.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/configs/mx7_common.h b/include/configs/mx7_common.h
index 3ed578f..c17cabc 100644
--- a/include/configs/mx7_common.h
+++ b/include/configs/mx7_common.h
@@ -43,8 +43,6 @@
#define CONFIG_ARMV7_SECURE_BASE 0x00900000
-#define CONFIG_ARMV7_PSCI_1_0
-
#ifdef CONFIG_SPL_BUILD
#define CONFIG_SPL_DRIVERS_MISC_SUPPORT
#endif
an> /* FIXME: i18n: Need to rewrite this sentence. */ if (info_verbose) printf_filtered (" @ %s", hex_string_custom (p->the_bfd_section->filepos, 8)); printf_filtered (" is %s", bfd_section_name (p->bfd, p->the_bfd_section)); if (p->bfd != abfd) printf_filtered (" in %s", bfd_get_filename (p->bfd)); printf_filtered ("\n"); } } static void exec_files_info (struct target_ops *t) { print_section_info (t, exec_bfd); if (vmap) { struct vmap *vp; printf_unfiltered (_("\tMapping info for file `%s'.\n"), vmap->name); printf_unfiltered ("\t %*s %*s %*s %*s %8.8s %s\n", strlen_paddr (), "tstart", strlen_paddr (), "tend", strlen_paddr (), "dstart", strlen_paddr (), "dend", "section", "file(member)"); for (vp = vmap; vp; vp = vp->nxt) printf_unfiltered ("\t0x%s 0x%s 0x%s 0x%s %s%s%s%s\n", paddr (vp->tstart), paddr (vp->tend), paddr (vp->dstart), paddr (vp->dend), vp->name, *vp->member ? "(" : "", vp->member, *vp->member ? ")" : ""); } } static void set_section_command (char *args, int from_tty) { struct section_table *p; char *secname; unsigned seclen; unsigned long secaddr; char secprint[100]; long offset; if (args == 0) error (_("Must specify section name and its virtual address")); /* Parse out section name */ for (secname = args; !isspace (*args); args++); seclen = args - secname; /* Parse out new virtual address */ secaddr = parse_and_eval_address (args); for (p = exec_ops.to_sections; p < exec_ops.to_sections_end; p++) { if (!strncmp (secname, bfd_section_name (exec_bfd, p->the_bfd_section), seclen) && bfd_section_name (exec_bfd, p->the_bfd_section)[seclen] == '\0') { offset = secaddr - p->addr; p->addr += offset; p->endaddr += offset; if (from_tty) exec_files_info (&exec_ops); return; } } if (seclen >= sizeof (secprint)) seclen = sizeof (secprint) - 1; strncpy (secprint, secname, seclen); secprint[seclen] = '\0'; error (_("Section %s not found"), secprint); } /* If we can find a section in FILENAME with BFD index INDEX, adjust it to ADDRESS. */ void exec_set_section_address (const char *filename, int index, CORE_ADDR address) { struct section_table *p; for (p = exec_ops.to_sections; p < exec_ops.to_sections_end; p++) { if (strcmp (filename, p->bfd->filename) == 0 && index == p->the_bfd_section->index) { p->endaddr += address - p->addr; p->addr = address; } } } /* If mourn is being called in all the right places, this could be say `gdb internal error' (since generic_mourn calls breakpoint_init_inferior). */ static int ignore (struct bp_target_info *bp_tgt) { return 0; } /* Find mapped memory. */ extern void exec_set_find_memory_regions (int (*func) (int (*) (CORE_ADDR, unsigned long, int, int, int, void *), void *)) { exec_ops.to_find_memory_regions = func; } static char *exec_make_note_section (bfd *, int *); /* Fill in the exec file target vector. Very few entries need to be defined. */ static void init_exec_ops (void) { exec_ops.to_shortname = "exec"; exec_ops.to_longname = "Local exec file"; exec_ops.to_doc = "Use an executable file as a target.\n\ Specify the filename of the executable file."; exec_ops.to_open = exec_open; exec_ops.to_close = exec_close; exec_ops.to_attach = find_default_attach; exec_ops.deprecated_xfer_memory = xfer_memory; exec_ops.to_files_info = exec_files_info; exec_ops.to_insert_breakpoint = ignore; exec_ops.to_remove_breakpoint = ignore; exec_ops.to_create_inferior = find_default_create_inferior; exec_ops.to_stratum = file_stratum; exec_ops.to_has_memory = 1; exec_ops.to_make_corefile_notes = exec_make_note_section; exec_ops.to_magic = OPS_MAGIC; } void _initialize_exec (void) { struct cmd_list_element *c; init_exec_ops (); if (!dbx_commands) { c = add_cmd ("file", class_files, file_command, _("\ Use FILE as program to be debugged.\n\ It is read for its symbols, for getting the contents of pure memory,\n\ and it is the program executed when you use the `run' command.\n\ If FILE cannot be found as specified, your execution directory path\n\ ($PATH) is searched for a command of that name.\n\ No arg means to have no executable file and no symbols."), &cmdlist); set_cmd_completer (c, filename_completer); } c = add_cmd ("exec-file", class_files, exec_file_command, _("\ Use FILE as program for getting contents of pure memory.\n\ If FILE cannot be found as specified, your execution directory path\n\ is searched for a command of that name.\n\ No arg means have no executable file."), &cmdlist); set_cmd_completer (c, filename_completer); add_com ("section", class_files, set_section_command, _("\ Change the base address of section SECTION of the exec file to ADDR.\n\ This can be used if the exec file does not contain section addresses,\n\ (such as in the a.out format), or when the addresses specified in the\n\ file itself are wrong. Each section must be changed separately. The\n\ ``info files'' command lists all the sections and their addresses.")); add_setshow_boolean_cmd ("write", class_support, &write_files, _("\ Set writing into executable and core files."), _("\ Show writing into executable and core files."), NULL, NULL, show_write_files, &setlist, &showlist); add_target (&exec_ops); } static char * exec_make_note_section (bfd *obfd, int *note_size) { error (_("Can't create a corefile")); }