File tree 4 files changed +36
-0
lines changed
4 files changed +36
-0
lines changed Original file line number Diff line number Diff line change @@ -49,4 +49,11 @@ config BCM2708_SPIDEV
49
49
default y
50
50
help
51
51
Binds spidev driver to the SPI0 master
52
+
53
+ config BCM2708_UNCOMPRESS_INFO
54
+ bool "Enable uncompress info on UART"
55
+ depends on MACH_BCM2708
56
+ default y
57
+ help
58
+ Enables the "Uncompressing Linux..." message on the UART on startup
52
59
endmenu
Original file line number Diff line number Diff line change 23
23
#include <linux/amba/serial.h>
24
24
#include <mach/hardware.h>
25
25
26
+ #ifdef CONFIG_BCM2708_UNCOMPRESS_INFO
27
+
26
28
#define UART_BAUD 115200
27
29
28
30
#define BCM2708_UART_DR __io(UART0_BASE + UART01x_DR)
@@ -82,3 +84,12 @@ static inline void arch_decomp_setup(void)
82
84
* nothing to do
83
85
*/
84
86
#define arch_decomp_wdog ()
87
+
88
+ #else /* CONFIG_BCM2708_UNCOMPRESS_INFO */
89
+
90
+ #define putc (c )
91
+ #define flush ()
92
+ #define arch_decomp_setup ()
93
+ #define arch_decomp_wdog ()
94
+
95
+ #endif /* CONFIG_BCM2708_UNCOMPRESS_INFO */
Original file line number Diff line number Diff line change @@ -46,4 +46,11 @@ config BCM2708_SPIDEV
46
46
default y
47
47
help
48
48
Binds spidev driver to the SPI0 master
49
+
50
+ config BCM2708_UNCOMPRESS_INFO
51
+ bool "Enable uncompress info on UART"
52
+ depends on MACH_BCM2709
53
+ default y
54
+ help
55
+ Enables the "Uncompressing Linux..." message on the UART on startup
49
56
endmenu
Original file line number Diff line number Diff line change 23
23
#include <linux/amba/serial.h>
24
24
#include <mach/hardware.h>
25
25
26
+ #ifdef CONFIG_BCM2708_UNCOMPRESS_INFO
27
+
26
28
#define UART_BAUD 115200
27
29
28
30
#define BCM2708_UART_DR __io(UART0_BASE + UART01x_DR)
@@ -82,3 +84,12 @@ static inline void arch_decomp_setup(void)
82
84
* nothing to do
83
85
*/
84
86
#define arch_decomp_wdog ()
87
+
88
+ #else /* CONFIG_BCM2708_UNCOMPRESS_INFO */
89
+
90
+ #define putc (c )
91
+ #define flush ()
92
+ #define arch_decomp_setup ()
93
+ #define arch_decomp_wdog ()
94
+
95
+ #endif /* CONFIG_BCM2708_UNCOMPRESS_INFO */
You can’t perform that action at this time.
0 commit comments