dbg: add db_incorect_format
authorOleksij Rempel <linux@rempel-privat.de>
Tue, 23 Apr 2013 17:13:31 +0000 (19:13 +0200)
committerOleksij Rempel <linux@rempel-privat.de>
Tue, 23 Apr 2013 17:13:31 +0000 (19:13 +0200)
commit0daf1f48384f37635730f1e5410028e11a1be8db
tree0d65620ca52c76f51634929fcdb94877375dd133
parentbc7e8bb9fbd8ccee0d97365ac0e4446dc6b73d58
dbg: add db_incorect_format

Replace duplicated code with db_incorect_format function.

ram usage before patch:
>info ram
ALLOCRAM Current Addr 0x5352bc
ALLOCRAM Remaining Bytes 42308

after patch:
>info ram
ALLOCRAM Current Addr 0x535234
ALLOCRAM Remaining Bytes 42444

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
target_firmware/magpie_fw_dev/target/cmnos/dbg_api.c