File tree Expand file tree Collapse file tree 6 files changed +0
-20
lines changed Expand file tree Collapse file tree 6 files changed +0
-20
lines changed Original file line number Diff line number Diff line change @@ -191,7 +191,6 @@ config NR_CPUS
191
191
192
192
config ARC_SMP_HALT_ON_RESET
193
193
bool "Enable Halt-on-reset boot mode"
194
- default y if ARC_UBOOT_SUPPORT
195
194
help
196
195
In SMP configuration cores can be configured as Halt-on-reset
197
196
or they could all start at same time. For Halt-on-reset, non
@@ -523,17 +522,6 @@ config ARC_DBG_TLB_PARANOIA
523
522
524
523
endif
525
524
526
- config ARC_UBOOT_SUPPORT
527
- bool "Support uboot arg Handling"
528
- help
529
- ARC Linux by default checks for uboot provided args as pointers to
530
- external cmdline or DTB. This however breaks in absence of uboot,
531
- when booting from Metaware debugger directly, as the registers are
532
- not zeroed out on reset by mdb and/or ARCv2 based cores. The bogus
533
- registers look like uboot args to kernel which then chokes.
534
- So only enable the uboot arg checking/processing if users are sure
535
- of uboot being in play.
536
-
537
525
config ARC_BUILTIN_DTB_NAME
538
526
string "Built in DTB"
539
527
help
Original file line number Diff line number Diff line change @@ -31,7 +31,6 @@ CONFIG_ARC_CACHE_LINE_SHIFT=5
31
31
# CONFIG_ARC_HAS_LLSC is not set
32
32
CONFIG_ARC_KVADDR_SIZE=402
33
33
CONFIG_ARC_EMUL_UNALIGNED=y
34
- CONFIG_ARC_UBOOT_SUPPORT=y
35
34
CONFIG_PREEMPT=y
36
35
CONFIG_NET=y
37
36
CONFIG_UNIX=y
Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ CONFIG_PARTITION_ADVANCED=y
13
13
CONFIG_ARC_PLAT_AXS10X=y
14
14
CONFIG_AXS103=y
15
15
CONFIG_ISA_ARCV2=y
16
- CONFIG_ARC_UBOOT_SUPPORT=y
17
16
CONFIG_ARC_BUILTIN_DTB_NAME="vdk_hs38"
18
17
CONFIG_PREEMPT=y
19
18
CONFIG_NET=y
Original file line number Diff line number Diff line change @@ -15,8 +15,6 @@ CONFIG_AXS103=y
15
15
CONFIG_ISA_ARCV2=y
16
16
CONFIG_SMP=y
17
17
# CONFIG_ARC_TIMERS_64BIT is not set
18
- # CONFIG_ARC_SMP_HALT_ON_RESET is not set
19
- CONFIG_ARC_UBOOT_SUPPORT=y
20
18
CONFIG_ARC_BUILTIN_DTB_NAME="vdk_hs38_smp"
21
19
CONFIG_PREEMPT=y
22
20
CONFIG_NET=y
Original file line number Diff line number Diff line change @@ -100,15 +100,13 @@ ENTRY(stext)
100
100
st.ab 0 , [ r5 , 4 ]
101
101
1 :
102
102
103
- #ifdef CONFIG_ARC_UBOOT_SUPPORT
104
103
; Uboot - kernel ABI
105
104
; r0 = [0] No uboot interaction, [1] cmdline in r2, [2] DTB in r2
106
105
; r1 = magic number (always zero as of now)
107
106
; r2 = pointer to uboot provided cmdline or external DTB in mem
108
107
; These are handled later in handle_uboot_args()
109
108
st r0 , [ @uboot_tag ]
110
109
st r2 , [ @uboot_arg ]
111
- #endif
112
110
113
111
; setup "current" tsk and optionally cache it in dedicated r25
114
112
mov r9 , @init_task
Original file line number Diff line number Diff line change @@ -487,7 +487,6 @@ void __init handle_uboot_args(void)
487
487
bool use_embedded_dtb = true;
488
488
bool append_cmdline = false;
489
489
490
- #ifdef CONFIG_ARC_UBOOT_SUPPORT
491
490
/* check that we know this tag */
492
491
if (uboot_tag != UBOOT_TAG_NONE &&
493
492
uboot_tag != UBOOT_TAG_CMDLINE &&
@@ -514,7 +513,6 @@ void __init handle_uboot_args(void)
514
513
append_cmdline = true;
515
514
516
515
ignore_uboot_args :
517
- #endif
518
516
519
517
if (use_embedded_dtb ) {
520
518
machine_desc = setup_machine_fdt (__dtb_start );
You can’t perform that action at this time.
0 commit comments