[OpenWrt-Devel] [PATCH 3/5] brcm63xx: lzma-loader: add BCM3380 support

Florian Fainelli florian at openwrt.org
Fri Oct 9 16:38:10 EDT 2015


On 09/10/15 13:29, Álvaro Fernández Rojas wrote:
> Signed-off-by: Álvaro Fernández Rojas <noltari at gmail.com>

That is a first step, but there are additional kernel changes required
to boot on 3380, are you also going to submit these?

> ---
>  target/linux/brcm63xx/image/lzma-loader/src/board.c | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/target/linux/brcm63xx/image/lzma-loader/src/board.c b/target/linux/brcm63xx/image/lzma-loader/src/board.c
> index 46af525..28b9c53 100644
> --- a/target/linux/brcm63xx/image/lzma-loader/src/board.c
> +++ b/target/linux/brcm63xx/image/lzma-loader/src/board.c
> @@ -70,6 +70,8 @@ void board_init(void)
>  	case PRID_IMP_BMIPS43XX:
>  		if ((prid & 0xff) == 0x04)
>  			chipid_reg = 0xfff8c000;
> +		else if ((prid & 0xff) == 0x70)
> +			chipid_reg = 0xb4e00000;
>  		else if ((prid & 0xff) >= 0x30)
>  			chipid_reg = 0xb0000000;
>  		else
> @@ -95,6 +97,9 @@ void board_init(void)
>  	case 0x6326:
>  		uart_base = chipid_reg + 0x180;
>  		break;
> +	case 0x3380:
> +		uart_base = chipid_reg + 0x200;
> +		break;
>  	case 0x6338:
>  	case 0x6345:
>  	case 0x6348:
> 
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list