[U-Boot] [PATCH 1/3] pxa: Add support for board specific reset function

2013-01-12 Thread Lukasz Dalek
Some boards have its own way to reset board. This patch adds support for board_reset() function which is called from reset_cpu() to do board specific actions before/instead main reset_cpu() actions. Signed-off-by: Lukasz Dalek luk0...@gmail.com --- arch/arm/cpu/pxa/pxa2xx.c |7 +++ 1

[U-Boot] [PATCH 2/3] h2200: Add board reset support

2013-01-12 Thread Lukasz Dalek
Use Samsung S3CA410X01 companion chip to reset PDA. Signed-off-by: Lukasz Dalek luk0...@gmail.com --- board/h2200/h2200.c |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/board/h2200/h2200.c b/board/h2200/h2200.c index 720b06e..a716a3f 100644 --- a/board/h2200

[U-Boot] [PATCH 3/3] pxa: Save lr register in relocate_code function

2013-01-12 Thread Lukasz Dalek
-by: Lukasz Dalek luk0...@gmail.com --- arch/arm/cpu/pxa/start.S |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arm/cpu/pxa/start.S b/arch/arm/cpu/pxa/start.S index 72af869..e71803e 100644 --- a/arch/arm/cpu/pxa/start.S +++ b/arch/arm/cpu/pxa/start.S @@ -183,7 +183,9

[U-Boot] [PATCH v2] h2200: Add board reset support

2013-01-12 Thread Lukasz Dalek
Use Samsung S3CA410X01 companion chip to reset PDA. Signed-off-by: Lukasz Dalek luk0...@gmail.com --- Changes for v2: - Reimplement reset_cpu() instead of board_reset() --- board/h2200/h2200.c |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/board/h2200

[U-Boot] [PATCH] pxa: Add weak attribute to reset_cpu() function

2013-01-12 Thread Lukasz Dalek
This commit allows pxa2xx based boards to reimplement reset_cpu() function with board specific reset sequence. Signed-off-by: Lukasz Dalek luk0...@gmail.com --- arch/arm/cpu/pxa/pxa2xx.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/cpu/pxa/pxa2xx.c b/arch

[U-Boot] [PATCH] arm:board:h2200: Add CONFIG_SYS_GENERIC_BOARD

2014-06-11 Thread Lukasz Dalek
Signed-off-by: Lukasz Dalek luk0...@gmail.com --- include/configs/h2200.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/h2200.h b/include/configs/h2200.h index d026484..5d0b85e 100644 --- a/include/configs/h2200.h +++ b/include/configs/h2200.h @@ -12,6 +12,7 @@ #define

[U-Boot] [PATCH] arm:board:h2200: Add CONFIG_SYS_GENERIC_BOARD

2014-06-12 Thread Lukasz Dalek
Enable 'generic board init' for H2200 palmtop. Signed-off-by: Lukasz Dalek luk0...@gmail.com --- include/configs/h2200.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/h2200.h b/include/configs/h2200.h index d026484..5d0b85e 100644 --- a/include/configs/h2200.h +++ b/include

[U-Boot] [PATCH v2 0/6] Add h2200 support and pxa25x ethernet gadget

2012-09-23 Thread Lukasz Dalek
Patch 2/6 (usbethernet support) was revied. I've added only simple noisy defintion (at the end of patch). +#ifndef DEBUG +# define NOISY 0 +#endif Patch 3/6 was also revied. Lukasz Dalek (6): h2200: Add support for iPAQ h2200 palmtop pxa25x: Add support for USB ethernet gadget pxa: Add

[U-Boot] [PATCH v2 1/6] h2200: Add support for iPAQ h2200 palmtop

2012-09-23 Thread Lukasz Dalek
Basic support of HP iPAQ h2200 palmtop. Support includes also USB ethernet gadget. Signed-off-by: Lukasz Dalek luk0...@gmail.com --- board/h2200/Makefile | 51 board/h2200/h2200-header.S | 27 ++ board/h2200/h2200.c| 66 +++ board/h2200/h2200.h

[U-Boot] [PATCH v2 3/6] pxa: Add some stuff to examine cpu model and rev

2012-09-23 Thread Lukasz Dalek
Add function which return CPU model and revision which can be used for cpu detection. Signed-off-by: Lukasz Dalek luk0...@gmail.com --- arch/arm/cpu/pxa/cpuinfo.c | 11 +-- arch/arm/include/asm/arch-pxa/pxa.h | 13 + 2 files changed, 22 insertions(+), 2 deletions

[U-Boot] [PATCH v2 4/6] usbether: Fixed bug when using with PXA25X chips

2012-09-23 Thread Lukasz Dalek
PXA25X chips don't support alternate settings so driver uses non-CDC driver. But only code defined between DEV_CONFIG_CDC signals that network is up. This patch is fixing this bug by signaling that network is up after USB SET_INTERFACE request. Signed-off-by: Lukasz Dalek luk0...@gmail.com

[U-Boot] [PATCH v2 5/6] usbether: Define CONFIG_USB_ETH_{CDC, SUBSET}

2012-09-23 Thread Lukasz Dalek
Introduced CONFIG_USB_ETH_CDC and CONFIG_USB_ETH_SUBSET as preparation for removal DEV_CONFIG_CDC and DEV_CONFIG_SUBSET Signed-off-by: Lukasz Dalek luk0...@gmail.com --- drivers/usb/gadget/ether.c | 19 ++- 1 files changed, 14 insertions(+), 5 deletions(-) diff --git a/drivers

[U-Boot] [PATCH v2 6/6] usbether: Removed DEV_CONFIG_{CDC,SUBSET}

2012-09-23 Thread Lukasz Dalek
Removed DEV_CONFIG_CDC and DEV_CONFIG_SUBSET and replaced it with CONFIG_USB_ETH_CDC and CONFIG_USB_ETH_SUBSET. Signed-off-by: Lukasz Dalek luk0...@gmail.com --- drivers/usb/gadget/ether.c | 75 +-- 1 files changed, 30 insertions(+), 45 deletions

[U-Boot] [PATCH v3] h2200: Add support for iPAQ h2200 palmtop

2012-09-26 Thread Lukasz Dalek
Basic support of HP iPAQ h2200 palmtop. Support includes also USB ethernet gadget. Signed-off-by: Lukasz Dalek luk0...@gmail.com --- board/h2200/Makefile | 51 board/h2200/h2200-header.S | 27 ++ board/h2200/h2200.c| 66 +++ boards.cfg

[U-Boot] [PATCH] usb.h: Add udc_disconnect prototype to usb.h

2012-09-26 Thread Lukasz Dalek
PXA25x gadget implements common function usb_disconnect(). This patch adds this function prototype into usb.h for boards using it. Signed-off-by: Lukasz Dalek luk0...@gmail.com --- include/usb.h |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/include/usb.h b

[U-Boot] [PATCH v4 2/8] pxa: Add some stuff to examine cpu model and rev

2012-10-02 Thread Lukasz Dalek
Add function which return CPU model and revision which can be used for cpu detection. Signed-off-by: Lukasz Dalek luk0...@gmail.com --- arch/arm/cpu/pxa/cpuinfo.c | 11 +-- arch/arm/include/asm/arch-pxa/pxa.h | 13 + 2 files changed, 22 insertions(+), 2 deletions

[U-Boot] [PATCH v4 3/8] usbether: Fixed bug when using with PXA25X chips

2012-10-02 Thread Lukasz Dalek
PXA25X chips don't support alternate settings so driver uses non-CDC driver. But only code defined between DEV_CONFIG_CDC signals that network is up. This patch is fixing this bug by signaling that network is up after USB SET_INTERFACE request. Signed-off-by: Lukasz Dalek luk0...@gmail.com

[U-Boot] [PATCH v4 1/8] h2200: Add support for iPAQ h2200 palmtop

2012-10-02 Thread Lukasz Dalek
Add basic support for HP iPAQ h2200 palmtop. h2200 palmtop was targeted to general consumers. It has 64 MB of RAM, 32 MB flash. No intergrated Wi-Fi nor Ethernet. Based on Intel PXA255 processor. It was shipped with Windows CE 4.2 operating system. Signed-off-by: Lukasz Dalek luk0...@gmail.com

[U-Boot] [PATCH v4 4/8] usbether: Define CONFIG_USB_ETH_{CDC, SUBSET}

2012-10-02 Thread Lukasz Dalek
Introduced CONFIG_USB_ETH_CDC and CONFIG_USB_ETH_SUBSET as preparation for removal DEV_CONFIG_CDC and DEV_CONFIG_SUBSET Signed-off-by: Lukasz Dalek luk0...@gmail.com --- drivers/usb/gadget/ether.c | 19 ++- 1 files changed, 14 insertions(+), 5 deletions(-) diff --git a/drivers

[U-Boot] [PATCH v4 5/8] usbether: Removed DEV_CONFIG_{CDC,SUBSET}

2012-10-02 Thread Lukasz Dalek
Removed DEV_CONFIG_CDC and DEV_CONFIG_SUBSET and replaced it with CONFIG_USB_ETH_CDC and CONFIG_USB_ETH_SUBSET. Signed-off-by: Lukasz Dalek luk0...@gmail.com --- drivers/usb/gadget/ether.c | 75 +-- 1 files changed, 30 insertions(+), 45 deletions

[U-Boot] [PATCH v4 8/8] h2200: Add USB CDC ethernet support

2012-10-02 Thread Lukasz Dalek
Add support for ethernet over USB which can be used for e.g. booting process. It works with tftp and dhcp clients code. Signed-off-by: Lukasz Dalek luk0...@gmail.com --- board/h2200/h2200.c | 15 +++ boards.cfg |1 + include/configs/h2200.h | 27

[U-Boot] [PATCH v4 7/8] usb.h: Add udc_disconnect prototype to usb.h

2012-10-02 Thread Lukasz Dalek
PXA25x gadget implements common function usb_disconnect(). This patch adds this function prototype into usb.h for boards using it. Signed-off-by: Lukasz Dalek luk0...@gmail.com --- include/usb.h | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/include/usb.h b

[U-Boot] [PATCH v5 2/3] pxa: Add code to examine cpu model and revision

2012-10-02 Thread Lukasz Dalek
Add function which return CPU model and revision which can be used for cpu detection. Signed-off-by: Lukasz Dalek luk0...@gmail.com --- Changes for v5: - Changed commit message arch/arm/cpu/pxa/cpuinfo.c | 11 +-- arch/arm/include/asm/arch-pxa/pxa.h | 13

[U-Boot] [PATCH v5 3/3] h2200: Add USB CDC ethernet support

2012-10-02 Thread Lukasz Dalek
Add support for ethernet over USB which can be used for e.g. booting process. It works with tftp and dhcp clients code. Signed-off-by: Lukasz Dalek luk0...@gmail.com --- Changes for v5: - Surrendered #include usb.h with CONFIGs board/h2200/h2200.c | 17

[U-Boot] [PATCH v5 1/3] h2200: Add support for iPAQ h2200 palmtop

2012-10-02 Thread Lukasz Dalek
Add basic support for HP iPAQ h2200 palmtop. h2200 palmtop was targeted to general consumers. It has 64 MB of RAM, 32 MB flash. No intergrated Wi-Fi nor Ethernet. Based on Intel PXA255 processor. It was shipped with Windows CE 4.2 operating system. Signed-off-by: Lukasz Dalek luk0...@gmail.com

[U-Boot] [PATCH v6] h2200: Add USB CDC ethernet support

2012-10-03 Thread Lukasz Dalek
Add support for ethernet over USB which can be used for e.g. booting process. It works with tftp and dhcp clients code. Signed-off-by: Lukasz Dalek luk0...@gmail.com --- Changes for v6: - Defined only one entire for board Changes for v5: - Surrendered #include usb.h with CONFIGs

[U-Boot] [PATCH v7] h2200: Add USB CDC ethernet support

2012-10-03 Thread Lukasz Dalek
Add support for ethernet over USB which can be used for e.g. booting process. It works with tftp and dhcp clients code. Signed-off-by: Lukasz Dalek luk0...@gmail.com --- Changes for v7: - Removed CONFIG_H2200_USBETH Changes for v6: - Defined only one entire for board Changes

[U-Boot] [PATCH] h2200: Make use of default_serial_console

2012-10-09 Thread Lukasz Dalek
Define CONFIG_CONS_INDEX to use ffuart as default console and fix compilation error related to undefined CONFIG_CONS_INDEX. Signed-off-by: Lukasz Dalek luk0...@gmail.com --- include/configs/h2200.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/configs/h2200.h b

[U-Boot] [PATCH v6] h2200: Add support for iPAQ h2200 palmtop

2012-10-15 Thread Lukasz Dalek
Add basic support for HP iPAQ h2200 palmtop. h2200 palmtop was targeted to general consumers. It has 64 MB of RAM, 32 MB flash. No intergrated Wi-Fi nor Ethernet. Based on Intel PXA255 processor. It was shipped with Windows CE 4.2 operating system. Signed-off-by: Lukasz Dalek luk0...@gmail.com

[U-Boot] [PATCH] pxa25x_udc: Remove usbdescriptors.h

2012-11-29 Thread Lukasz Dalek
usbdescriptors.h conflicts with linux/usb/ch9.h. Remove it. Signed-off-by: Lukasz Dalek luk0...@gmail.com --- drivers/usb/gadget/pxa25x_udc.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/usb/gadget/pxa25x_udc.c b/drivers/usb/gadget/pxa25x_udc.c index dd74143

[U-Boot] [PATCH v7] h2200: Add USB CDC ethernet support

2012-11-29 Thread Lukasz Dalek
Add support for ethernet over USB which can be used for e.g. booting process. It works with tftp and dhcp clients code. Signed-off-by: Lukasz Dalek luk0...@gmail.com --- Changes for v7: - Removed CONFIG_H2200_USBETH Changes for v6: - Defined only one entire for board Changes