summaryrefslogtreecommitdiffstats
path: root/carl9170fw/minifw
diff options
context:
space:
mode:
Diffstat (limited to 'carl9170fw/minifw')
-rw-r--r--carl9170fw/minifw/CMakeLists.txt20
-rw-r--r--carl9170fw/minifw/Kconfig3
-rw-r--r--carl9170fw/minifw/miniboot.S7
-rw-r--r--carl9170fw/minifw/miniboot.lds20
4 files changed, 0 insertions, 50 deletions
diff --git a/carl9170fw/minifw/CMakeLists.txt b/carl9170fw/minifw/CMakeLists.txt
deleted file mode 100644
index adf5e08..0000000
--- a/carl9170fw/minifw/CMakeLists.txt
+++ /dev/null
@@ -1,20 +0,0 @@
-cmake_minimum_required(VERSION 2.8)
-
-project(miniboot.fw)
-
-include("../extra/sh-elf-linux.cmake")
-include("../config.cmake")
-
-set(miniboot_src miniboot.S)
-set_source_files_properties(miniboot.S PROPERTIES LANGUAGE C)
-
-add_executable(miniboot.elf miniboot.S)
-
-set_target_properties(miniboot.elf PROPERTIES LINKER_LANGUAGE C)
-
-set_target_properties(miniboot.elf PROPERTIES LINK_FLAGS "-Tminiboot.lds")
-
-add_custom_target(
- miniboot.fw ALL
- ${OBJCOPY} --strip-unneeded -O binary -R .sram -R .eeprom -R .fwdsc miniboot.elf miniboot.fw
- DEPENDS miniboot.elf)
diff --git a/carl9170fw/minifw/Kconfig b/carl9170fw/minifw/Kconfig
deleted file mode 100644
index f429bd2..0000000
--- a/carl9170fw/minifw/Kconfig
+++ /dev/null
@@ -1,3 +0,0 @@
-config CARL9170FW_BUILD_MINIBOOT
- def_bool y
- prompt "Build MiniBoot Firmware Header"
diff --git a/carl9170fw/minifw/miniboot.S b/carl9170fw/minifw/miniboot.S
deleted file mode 100644
index e5d598e..0000000
--- a/carl9170fw/minifw/miniboot.S
+++ /dev/null
@@ -1,7 +0,0 @@
- .globl _start
- .type _start, @function
- .section ".boot", "ax"
- _start:
- mov.l startcode, r0
- jmp @r0
-startcode: .long 0x00000008
diff --git a/carl9170fw/minifw/miniboot.lds b/carl9170fw/minifw/miniboot.lds
deleted file mode 100644
index 51e5ac4..0000000
--- a/carl9170fw/minifw/miniboot.lds
+++ /dev/null
@@ -1,20 +0,0 @@
-ENTRY(_start);
-
-MEMORY
-{
- pram : ORIGIN = 0x200000, LENGTH = 16k
-}
-
-SECTIONS
-{
- .padding : {
- /* NOP NOP just in case */
- LONG(0x00090009)
- } > pram
-
- .boot : { *(.boot) } > pram
- .text : { *(.text*) } > pram
- .rodata : { *(.rodata*) } > pram
- .bss : { *(.bss) } > pram
- .data : { *(.data*) } > pram
-}