1*d2912cb1SThomas Gleixner // SPDX-License-Identifier: GPL-2.0-only 29a322993SPhilippe De Muyter /* 39a322993SPhilippe De Muyter * Bestcomm GenBD RX task microcode 49a322993SPhilippe De Muyter * 59a322993SPhilippe De Muyter * Copyright (C) 2006 AppSpec Computer Technologies Corp. 69a322993SPhilippe De Muyter * Jeff Gibbons <jeff.gibbons@appspec.com> 79a322993SPhilippe De Muyter * Copyright (c) 2004 Freescale Semiconductor, Inc. 89a322993SPhilippe De Muyter * 99a322993SPhilippe De Muyter * Based on BestCommAPI-2.2/code_dma/image_rtos1/dma_image.hex 109a322993SPhilippe De Muyter * on Tue Mar 4 10:14:12 2006 GMT 119a322993SPhilippe De Muyter */ 129a322993SPhilippe De Muyter 139a322993SPhilippe De Muyter #include <asm/types.h> 149a322993SPhilippe De Muyter 159a322993SPhilippe De Muyter /* 169a322993SPhilippe De Muyter * The header consists of the following fields: 179a322993SPhilippe De Muyter * u32 magic; 189a322993SPhilippe De Muyter * u8 desc_size; 199a322993SPhilippe De Muyter * u8 var_size; 209a322993SPhilippe De Muyter * u8 inc_size; 219a322993SPhilippe De Muyter * u8 first_var; 229a322993SPhilippe De Muyter * u8 reserved[8]; 239a322993SPhilippe De Muyter * 249a322993SPhilippe De Muyter * The size fields contain the number of 32-bit words. 259a322993SPhilippe De Muyter */ 269a322993SPhilippe De Muyter 279a322993SPhilippe De Muyter u32 bcom_gen_bd_rx_task[] = { 289a322993SPhilippe De Muyter /* header */ 299a322993SPhilippe De Muyter 0x4243544b, 309a322993SPhilippe De Muyter 0x0d020409, 319a322993SPhilippe De Muyter 0x00000000, 329a322993SPhilippe De Muyter 0x00000000, 339a322993SPhilippe De Muyter 349a322993SPhilippe De Muyter /* Task descriptors */ 359a322993SPhilippe De Muyter 0x808220da, /* LCD: idx0 = var1, idx1 = var4; idx1 <= var3; idx0 += inc3, idx1 += inc2 */ 369a322993SPhilippe De Muyter 0x13e01010, /* DRD1A: var4 = var2; FN=0 MORE init=31 WS=0 RS=0 */ 379a322993SPhilippe De Muyter 0xb880025b, /* LCD: idx2 = *idx1, idx3 = var0; idx2 < var9; idx2 += inc3, idx3 += inc3 */ 389a322993SPhilippe De Muyter 0x10001308, /* DRD1A: var4 = idx1; FN=0 MORE init=0 WS=0 RS=0 */ 399a322993SPhilippe De Muyter 0x60140002, /* DRD2A: EU0=0 EU1=0 EU2=0 EU3=2 EXT init=0 WS=2 RS=2 */ 409a322993SPhilippe De Muyter 0x0cccfcca, /* DRD2B1: *idx3 = EU3(); EU3(*idx3,var10) */ 419a322993SPhilippe De Muyter 0xd9190240, /* LCDEXT: idx2 = idx2; idx2 > var9; idx2 += inc0 */ 429a322993SPhilippe De Muyter 0xb8c5e009, /* LCD: idx3 = *(idx1 + var00000015); ; idx3 += inc1 */ 439a322993SPhilippe De Muyter 0x07fecf80, /* DRD1A: *idx3 = *idx0; FN=0 INT init=31 WS=3 RS=3 */ 449a322993SPhilippe De Muyter 0x99190024, /* LCD: idx2 = idx2; idx2 once var0; idx2 += inc4 */ 459a322993SPhilippe De Muyter 0x60000005, /* DRD2A: EU0=0 EU1=0 EU2=0 EU3=5 EXT init=0 WS=0 RS=0 */ 469a322993SPhilippe De Muyter 0x0c4cf889, /* DRD2B1: *idx1 = EU3(); EU3(idx2,var9) */ 479a322993SPhilippe De Muyter 0x000001f8, /* NOP */ 489a322993SPhilippe De Muyter 499a322993SPhilippe De Muyter /* VAR[9]-VAR[10] */ 509a322993SPhilippe De Muyter 0x40000000, 519a322993SPhilippe De Muyter 0x7fff7fff, 529a322993SPhilippe De Muyter 539a322993SPhilippe De Muyter /* INC[0]-INC[3] */ 549a322993SPhilippe De Muyter 0x40000000, 559a322993SPhilippe De Muyter 0xe0000000, 569a322993SPhilippe De Muyter 0xa0000008, 579a322993SPhilippe De Muyter 0x20000000, 589a322993SPhilippe De Muyter }; 599a322993SPhilippe De Muyter 60