[PATCH 0/5] merge mtk-loader to master
Wolfram Sang
wolfram at the-dreams.de
Wed May 4 22:58:12 CEST 2011
The first four patches remove some hardcoded calypso-dependencies (as discussed
on the list). The final one then adds the mtk-stuff with comments from Sylvain
addressed (hopefully).
The new mtk-loader was succesfully tested on my Sciphone G2 by loading and
executing a bootloader. The compal loaders still compile fine (and no code was
changed there).
This should get rid of the branches
remotes/origin/steve-m/loader_sciphone
remotes/origin/steve-m/mtk_hack
and should ease merging new platforms in general a bit more.
Regards,
Wolfram
Wolfram Sang (5):
comm: msgb: don't set backlight on error
lib: move delay.c from calypso to lib
cfi_flash: delete unused defines
uart.h: move header out of calypso-directory
target/boards: add infrastructure for loaders for Mediatek platforms
src/Makefile | 8 +-
src/target/firmware/Makefile.mtk | 33 ++
src/target/firmware/apps/loader/main.c | 2 +-
src/target/firmware/apps/loader_mtk/main.c | 366 ++++++++++++++++++++
src/target/firmware/board/compal_e86/init.c | 2 +-
src/target/firmware/board/compal_e88/init.c | 2 +-
src/target/firmware/board/compal_e99/init.c | 2 +-
src/target/firmware/board/gta0x/init.c | 2 +-
src/target/firmware/board/mediatek/macros.S | 76 +++++
src/target/firmware/board/mediatek/ram.lds | 112 +++++++
src/target/firmware/board/mediatek/start.ram.S | 26 ++
src/target/firmware/board/mediatek/uart.c | 426 ++++++++++++++++++++++++
src/target/firmware/board/mt62xx/init.c | 139 ++++++++
src/target/firmware/board/pirelli_dpl10/init.c | 2 +-
src/target/firmware/calypso/Makefile | 2 +-
src/target/firmware/calypso/delay.c | 16 -
src/target/firmware/calypso/uart.c | 2 +-
src/target/firmware/comm/msgb.c | 1 -
src/target/firmware/comm/sercomm.c | 2 +-
src/target/firmware/comm/sercomm_cons.c | 2 +-
src/target/firmware/flash/cfi_flash.c | 5 -
src/target/firmware/include/calypso/uart.h | 32 --
src/target/firmware/include/mtk/emi.h | 42 +++
src/target/firmware/include/mtk/mt6235.h | 74 ++++
src/target/firmware/include/mtk/system.h | 195 +++++++++++
src/target/firmware/include/uart.h | 32 ++
src/target/firmware/lib/Makefile | 2 +-
src/target/firmware/lib/console.c | 2 +-
src/target/firmware/lib/delay.c | 16 +
29 files changed, 1556 insertions(+), 67 deletions(-)
create mode 100644 src/target/firmware/Makefile.mtk
create mode 100644 src/target/firmware/apps/loader_mtk/main.c
create mode 100644 src/target/firmware/board/mediatek/macros.S
create mode 100644 src/target/firmware/board/mediatek/ram.lds
create mode 100644 src/target/firmware/board/mediatek/start.ram.S
create mode 100644 src/target/firmware/board/mediatek/uart.c
create mode 100644 src/target/firmware/board/mt62xx/init.c
delete mode 100644 src/target/firmware/calypso/delay.c
delete mode 100644 src/target/firmware/include/calypso/uart.h
create mode 100644 src/target/firmware/include/mtk/emi.h
create mode 100644 src/target/firmware/include/mtk/mt6235.h
create mode 100644 src/target/firmware/include/mtk/system.h
create mode 100644 src/target/firmware/include/uart.h
create mode 100644 src/target/firmware/lib/delay.c
--
1.7.2.5
More information about the baseband-devel
mailing list