diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2009-06-10 20:30:19 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2009-07-21 16:41:45 +0200 |
commit | ae302919c61b82318c80510dac85582d37453c57 (patch) | |
tree | a6937aff8cc38f6c39c79d0b7a1934339e2e7c6e /board | |
parent | 8a1d5e11bbd75f3fb546c772c205118237a3b938 (diff) | |
download | barebox-ae302919c61b82318c80510dac85582d37453c57.tar.gz barebox-ae302919c61b82318c80510dac85582d37453c57.tar.xz |
Get rid of DEVICE_TYPE_CONSOLE usage
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'board')
-rw-r--r-- | board/at91sam9260ek/init.c | 1 | ||||
-rw-r--r-- | board/freescale-mx35-3-stack/3stack.c | 1 | ||||
-rw-r--r-- | board/imx21ads/imx21ads.c | 1 | ||||
-rw-r--r-- | board/imx27ads/imx27ads.c | 1 | ||||
-rw-r--r-- | board/ipe337/ipe337.c | 1 | ||||
-rw-r--r-- | board/kp_ukd_r1_num/kp_ukd_r1_num.c | 1 | ||||
-rw-r--r-- | board/mmccpu/init.c | 1 | ||||
-rw-r--r-- | board/netx/netx.c | 1 | ||||
-rw-r--r-- | board/omap/board-beagle.c | 1 | ||||
-rw-r--r-- | board/omap/board-sdp343x.c | 1 | ||||
-rw-r--r-- | board/pcm030/pcm030.c | 2 | ||||
-rw-r--r-- | board/pcm037/pcm037.c | 1 | ||||
-rw-r--r-- | board/pcm038/pcm038.c | 1 | ||||
-rw-r--r-- | board/pcm043/pcm043.c | 1 | ||||
-rw-r--r-- | board/phycard-i.MX27/pca100.c | 1 | ||||
-rw-r--r-- | board/phycore_mcf54xx/phyCore_MCF54xx.c | 1 | ||||
-rw-r--r-- | board/pm9263/init.c | 1 | ||||
-rw-r--r-- | board/sandbox/console.c | 1 | ||||
-rw-r--r-- | board/scb9328/scb9328.c | 1 |
19 files changed, 0 insertions, 20 deletions
diff --git a/board/at91sam9260ek/init.c b/board/at91sam9260ek/init.c index 0e744d234b..f6fb684d74 100644 --- a/board/at91sam9260ek/init.c +++ b/board/at91sam9260ek/init.c @@ -114,7 +114,6 @@ static struct device_d at91sam9260ek_serial_device = { .id = "cs0", .map_base = AT91C_BASE_DBGU, .size = 4096, - .type = DEVICE_TYPE_CONSOLE, }; static int at91sam9260ek_console_init(void) diff --git a/board/freescale-mx35-3-stack/3stack.c b/board/freescale-mx35-3-stack/3stack.c index 0b43896f83..408ddf7f03 100644 --- a/board/freescale-mx35-3-stack/3stack.c +++ b/board/freescale-mx35-3-stack/3stack.c @@ -107,7 +107,6 @@ static struct device_d f3s_serial_device = { .id = "cs0", .map_base = IMX_UART1_BASE, .size = 4096, - .type = DEVICE_TYPE_CONSOLE, }; static struct pad_desc f3s_pads[] = { diff --git a/board/imx21ads/imx21ads.c b/board/imx21ads/imx21ads.c index 550c3f0c0c..93b68ad680 100644 --- a/board/imx21ads/imx21ads.c +++ b/board/imx21ads/imx21ads.c @@ -140,7 +140,6 @@ static struct device_d mx21ads_serial_device = { .id = "cs0", .map_base = IMX_UART1_BASE, .size = 4096, - .type = DEVICE_TYPE_CONSOLE, }; static int mx21ads_console_init(void) diff --git a/board/imx27ads/imx27ads.c b/board/imx27ads/imx27ads.c index 9a19794a93..b9543df2d1 100644 --- a/board/imx27ads/imx27ads.c +++ b/board/imx27ads/imx27ads.c @@ -150,7 +150,6 @@ static struct device_d mx27ads_serial_device = { .id = "cs0", .map_base = IMX_UART1_BASE, .size = 4096, - .type = DEVICE_TYPE_CONSOLE, }; static int mx27ads_console_init(void) diff --git a/board/ipe337/ipe337.c b/board/ipe337/ipe337.c index dabb3bfdd8..ea949b1274 100644 --- a/board/ipe337/ipe337.c +++ b/board/ipe337/ipe337.c @@ -54,7 +54,6 @@ static struct device_d blackfin_serial_device = { .id = "cs0", .map_base = 0, .size = 4096, - .type = DEVICE_TYPE_CONSOLE, }; static int blackfin_console_init(void) diff --git a/board/kp_ukd_r1_num/kp_ukd_r1_num.c b/board/kp_ukd_r1_num/kp_ukd_r1_num.c index 05a61cf23b..64f2e7aaae 100644 --- a/board/kp_ukd_r1_num/kp_ukd_r1_num.c +++ b/board/kp_ukd_r1_num/kp_ukd_r1_num.c @@ -139,7 +139,6 @@ static struct device_d mcfv4e_serial_device = { .id = "cs0", .map_base = 1+CFG_EARLY_UART_PORT, .size = 16 * 1024, - .type = DEVICE_TYPE_CONSOLE, }; static int mcfv4e_console_init(void) diff --git a/board/mmccpu/init.c b/board/mmccpu/init.c index c9779c6901..b51da70941 100644 --- a/board/mmccpu/init.c +++ b/board/mmccpu/init.c @@ -121,7 +121,6 @@ static struct device_d mmccpu_serial_device = { .id = "cs0", .map_base = AT91C_BASE_DBGU, .size = 4096, - .type = DEVICE_TYPE_CONSOLE, }; static int mmccpu_console_init(void) diff --git a/board/netx/netx.c b/board/netx/netx.c index b03817d9c7..968d37ae49 100644 --- a/board/netx/netx.c +++ b/board/netx/netx.c @@ -94,7 +94,6 @@ static struct device_d netx_serial_device = { .id = "cs0", .map_base = NETX_PA_UART0, .size = 0x40, - .type = DEVICE_TYPE_CONSOLE, }; static int netx_console_init(void) diff --git a/board/omap/board-beagle.c b/board/omap/board-beagle.c index e7c7ecb1a6..58adc3ed18 100644 --- a/board/omap/board-beagle.c +++ b/board/omap/board-beagle.c @@ -220,7 +220,6 @@ static struct device_d beagle_serial_device = { .map_base = OMAP_UART3_BASE, .size = 1024, .platform_data = (void *)&serial_plat, - .type = DEVICE_TYPE_CONSOLE, }; /** diff --git a/board/omap/board-sdp343x.c b/board/omap/board-sdp343x.c index c7d4151e9f..96ecb98256 100644 --- a/board/omap/board-sdp343x.c +++ b/board/omap/board-sdp343x.c @@ -609,7 +609,6 @@ static struct device_d sdp3430_serial_device = { .map_base = OMAP_UART3_BASE, .size = 1024, .platform_data = (void *)&serial_plat, - .type = DEVICE_TYPE_CONSOLE, }; /** diff --git a/board/pcm030/pcm030.c b/board/pcm030/pcm030.c index 9da936986e..73f1baecd3 100644 --- a/board/pcm030/pcm030.c +++ b/board/pcm030/pcm030.c @@ -99,7 +99,6 @@ static struct device_d psc3 = { .id = "psc3", .map_base = MPC5XXX_PSC3, .size = 4096, - .type = DEVICE_TYPE_CONSOLE, }; static struct device_d psc6 = { @@ -107,7 +106,6 @@ static struct device_d psc6 = { .id = "psc6", .map_base = MPC5XXX_PSC6, .size = 4096, - .type = DEVICE_TYPE_CONSOLE, }; static int console_init(void) diff --git a/board/pcm037/pcm037.c b/board/pcm037/pcm037.c index 37bc0f69fa..e2ac8b1bbd 100644 --- a/board/pcm037/pcm037.c +++ b/board/pcm037/pcm037.c @@ -288,7 +288,6 @@ static struct device_d imx31_serial_device = { .id = "cs0", .map_base = IMX_UART1_BASE, .size = 16 * 1024, - .type = DEVICE_TYPE_CONSOLE, }; static int imx31_console_init(void) diff --git a/board/pcm038/pcm038.c b/board/pcm038/pcm038.c index 136580679e..25ef69c337 100644 --- a/board/pcm038/pcm038.c +++ b/board/pcm038/pcm038.c @@ -205,7 +205,6 @@ static struct device_d pcm038_serial_device = { .id = "cs0", .map_base = IMX_UART1_BASE, .size = 4096, - .type = DEVICE_TYPE_CONSOLE, }; static int pcm038_console_init(void) diff --git a/board/pcm043/pcm043.c b/board/pcm043/pcm043.c index 4e225c53a1..e8523b7db7 100644 --- a/board/pcm043/pcm043.c +++ b/board/pcm043/pcm043.c @@ -123,7 +123,6 @@ static struct device_d imx35_serial_device = { .id = "cs0", .map_base = IMX_UART1_BASE, .size = 16 * 1024, - .type = DEVICE_TYPE_CONSOLE, }; static struct pad_desc pcm043_pads[] = { diff --git a/board/phycard-i.MX27/pca100.c b/board/phycard-i.MX27/pca100.c index ba1ff5687c..00bbeb426f 100644 --- a/board/phycard-i.MX27/pca100.c +++ b/board/phycard-i.MX27/pca100.c @@ -143,7 +143,6 @@ static struct device_d pca100_serial_device = { .id = "cs0", .map_base = IMX_UART1_BASE, .size = 4096, - .type = DEVICE_TYPE_CONSOLE, }; static int pca100_console_init(void) diff --git a/board/phycore_mcf54xx/phyCore_MCF54xx.c b/board/phycore_mcf54xx/phyCore_MCF54xx.c index c666f467bb..2b0b52f1d5 100644 --- a/board/phycore_mcf54xx/phyCore_MCF54xx.c +++ b/board/phycore_mcf54xx/phyCore_MCF54xx.c @@ -118,7 +118,6 @@ static struct device_d mcfv4e_serial_device = .id = "cs0", .map_base = 1 + CFG_EARLY_UART_PORT, .size = 16 * 1024, - .type = DEVICE_TYPE_CONSOLE, }; static int mcfv4e_console_init(void) diff --git a/board/pm9263/init.c b/board/pm9263/init.c index 724eb4676a..29a87d7e47 100644 --- a/board/pm9263/init.c +++ b/board/pm9263/init.c @@ -112,7 +112,6 @@ static struct device_d pm9263_serial_device = { .id = "cs0", .map_base = AT91C_BASE_DBGU, .size = 4096, - .type = DEVICE_TYPE_CONSOLE, }; static int pm9263_console_init(void) diff --git a/board/sandbox/console.c b/board/sandbox/console.c index 0f54e19231..a3d2ce93c6 100644 --- a/board/sandbox/console.c +++ b/board/sandbox/console.c @@ -48,7 +48,6 @@ int u_boot_register_console(char *name_template, int stdinfd, int stdoutfd) data->stdinfd = stdinfd; get_free_deviceid(dev->id, name_template); - dev->type = DEVICE_TYPE_CONSOLE; return register_device(dev); } diff --git a/board/scb9328/scb9328.c b/board/scb9328/scb9328.c index 39edce1efd..72938de6d7 100644 --- a/board/scb9328/scb9328.c +++ b/board/scb9328/scb9328.c @@ -112,7 +112,6 @@ static struct device_d scb9328_serial_device = { .id = "cs0", .map_base = IMX_UART1_BASE, .size = 4096, - .type = DEVICE_TYPE_CONSOLE, }; static int scb9328_console_init(void) |