Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0-only
0002 /*
0003  * Bestcomm GenBD TX task microcode
0004  *
0005  * Copyright (C) 2006 AppSpec Computer Technologies Corp.
0006  *                    Jeff Gibbons <jeff.gibbons@appspec.com>
0007  * Copyright (c) 2004 Freescale Semiconductor, Inc.
0008  *
0009  * Based on BestCommAPI-2.2/code_dma/image_rtos1/dma_image.hex
0010  * on Tue Mar 4 10:14:12 2006 GMT
0011  */
0012 
0013 #include <asm/types.h>
0014 
0015 /*
0016  * The header consists of the following fields:
0017  *  u32 magic;
0018  *  u8  desc_size;
0019  *  u8  var_size;
0020  *  u8  inc_size;
0021  *  u8  first_var;
0022  *  u8  reserved[8];
0023  *
0024  * The size fields contain the number of 32-bit words.
0025  */
0026 
0027 u32 bcom_gen_bd_tx_task[] = {
0028     /* header */
0029     0x4243544b,
0030     0x0f040609,
0031     0x00000000,
0032     0x00000000,
0033 
0034     /* Task descriptors */
0035     0x800220e3, /* LCD: idx0 = var0, idx1 = var4; idx1 <= var3; idx0 += inc4, idx1 += inc3 */
0036     0x13e01010, /*   DRD1A: var4 = var2; FN=0 MORE init=31 WS=0 RS=0 */
0037     0xb8808264, /*   LCD: idx2 = *idx1, idx3 = var1; idx2 < var9; idx2 += inc4, idx3 += inc4 */
0038     0x10001308, /*     DRD1A: var4 = idx1; FN=0 MORE init=0 WS=0 RS=0 */
0039     0x60140002, /*     DRD2A: EU0=0 EU1=0 EU2=0 EU3=2 EXT init=0 WS=2 RS=2 */
0040     0x0cccfcca, /*     DRD2B1: *idx3 = EU3(); EU3(*idx3,var10)  */
0041     0xd9190300, /*   LCDEXT: idx2 = idx2; idx2 > var12; idx2 += inc0 */
0042     0xb8c5e009, /*   LCD: idx3 = *(idx1 + var00000015); ; idx3 += inc1 */
0043     0x03fec398, /*     DRD1A: *idx0 = *idx3; FN=0 init=31 WS=3 RS=3 */
0044     0x9919826a, /*   LCD: idx2 = idx2, idx3 = idx3; idx2 > var9; idx2 += inc5, idx3 += inc2 */
0045     0x0feac398, /*     DRD1A: *idx0 = *idx3; FN=0 TFD INT init=31 WS=1 RS=1 */
0046     0x99190036, /*   LCD: idx2 = idx2; idx2 once var0; idx2 += inc6 */
0047     0x60000005, /*     DRD2A: EU0=0 EU1=0 EU2=0 EU3=5 EXT init=0 WS=0 RS=0 */
0048     0x0c4cf889, /*     DRD2B1: *idx1 = EU3(); EU3(idx2,var9)  */
0049     0x000001f8, /*   NOP */
0050 
0051     /* VAR[9]-VAR[12] */
0052     0x40000000,
0053     0x7fff7fff,
0054     0x00000000,
0055     0x40000004,
0056 
0057     /* INC[0]-INC[5] */
0058     0x40000000,
0059     0xe0000000,
0060     0xe0000000,
0061     0xa0000008,
0062     0x20000000,
0063     0x4000ffff,
0064 };
0065