1 1.1 rin /* $NetBSD: ixp425_npe_fw.S,v 1.1 2023/06/17 11:57:49 rin Exp $ */ 2 1.1 rin 3 1.1 rin /*- 4 1.1 rin * Copyright (c) 2006 Sam Leffler, Errno Consulting 5 1.1 rin * All rights reserved. 6 1.1 rin * 7 1.1 rin * Redistribution and use in source and binary forms, with or without 8 1.1 rin * modification, are permitted provided that the following conditions 9 1.1 rin * are met: 10 1.1 rin * 1. Redistributions of source code must retain the above copyright 11 1.1 rin * notice, this list of conditions and the following disclaimer, 12 1.1 rin * without modification. 13 1.1 rin * 2. Redistributions in binary form must reproduce at minimum a disclaimer 14 1.1 rin * similar to the "NO WARRANTY" disclaimer below ("Disclaimer") and any 15 1.1 rin * redistribution must be conditioned upon including a substantially 16 1.1 rin * similar Disclaimer requirement for further binary redistribution. 17 1.1 rin * 18 1.1 rin * NO WARRANTY 19 1.1 rin * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 20 1.1 rin * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 21 1.1 rin * LIMITED TO, THE IMPLIED WARRANTIES OF NONINFRINGEMENT, MERCHANTIBILITY 22 1.1 rin * AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL 23 1.1 rin * THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY, 24 1.1 rin * OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 25 1.1 rin * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 26 1.1 rin * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER 27 1.1 rin * IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 28 1.1 rin * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 29 1.1 rin * THE POSSIBILITY OF SUCH DAMAGES. 30 1.1 rin */ 31 1.1 rin 32 1.1 rin /*- 33 1.1 rin * Copyright (c) 2001-2005, Intel Corporation. 34 1.1 rin * All rights reserved. 35 1.1 rin * 36 1.1 rin * Redistribution and use in source and binary forms, with or without 37 1.1 rin * modification, are permitted provided that the following conditions 38 1.1 rin * are met: 39 1.1 rin * 1. Redistributions of source code must retain the above copyright 40 1.1 rin * notice, this list of conditions and the following disclaimer. 41 1.1 rin * 2. Redistributions in binary form must reproduce the above copyright 42 1.1 rin * notice, this list of conditions and the following disclaimer in the 43 1.1 rin * documentation and/or other materials provided with the distribution. 44 1.1 rin * 3. Neither the name of the Intel Corporation nor the names of its contributors 45 1.1 rin * may be used to endorse or promote products derived from this software 46 1.1 rin * without specific prior written permission. 47 1.1 rin * 48 1.1 rin * 49 1.1 rin * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS'' 50 1.1 rin * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 51 1.1 rin * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 52 1.1 rin * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE 53 1.1 rin * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 54 1.1 rin * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 55 1.1 rin * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 56 1.1 rin * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 57 1.1 rin * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 58 1.1 rin * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 59 1.1 rin * SUCH DAMAGE. 60 1.1 rin */ 61 1.1 rin 62 1.1 rin #include <arm/asm.h> 63 1.1 rin 64 1.1 rin /* 65 1.1 rin * IXP425_NPE_MICROCODE will be defined by ixp425-fw.mk IFF the 66 1.1 rin * microcode object file exists in sys/arch/arm/xscale. 67 1.1 rin * 68 1.1 rin * To permit building the NPE drivers without microcode (so they 69 1.1 rin * don't bitrot due to lack of use), we use "empty" microcode so 70 1.1 rin * that the NPE drivers will simply fail to start at runtime. 71 1.1 rin */ 72 1.1 rin 73 1.1 rin .align 2 74 1.1 rin .section .data 75 1.1 rin .global _C_LABEL(_binary_IxNpeMicrocode_dat_start) 76 1.1 rin _C_LABEL(_binary_IxNpeMicrocode_dat_start): 77 1.1 rin #ifdef IXP425_NPE_MICROCODE 78 1.1 rin .incbin IXP425_NPE_MICROCODE 79 1.1 rin #else 80 1.1 rin .word 0xfeedf00d 81 1.1 rin .word 0xfeedf00d 82 1.1 rin #endif 83