|
@@ -7,6 +7,7 @@
|
|
|
|
|
|
#include <common.h>
|
|
#include <common.h>
|
|
#include <asm/arch/boot-device.h>
|
|
#include <asm/arch/boot-device.h>
|
|
|
|
+#include <asm/arch/sbc-regs.h>
|
|
|
|
|
|
static int do_pinmon(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
|
|
static int do_pinmon(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
|
|
{
|
|
{
|
|
@@ -15,6 +16,8 @@ static int do_pinmon(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
|
|
|
|
|
|
mode_sel = get_boot_mode_sel();
|
|
mode_sel = get_boot_mode_sel();
|
|
|
|
|
|
|
|
+ printf("Boot Swap: %s\n\n", boot_is_swapped() ? "ON" : "OFF");
|
|
|
|
+
|
|
puts("Boot Mode Pin:\n");
|
|
puts("Boot Mode Pin:\n");
|
|
|
|
|
|
for (table = boot_device_table; strlen(table->info); table++) {
|
|
for (table = boot_device_table; strlen(table->info); table++) {
|